userdebug_or_eng(`
   # qxdmlogger rundiag perms
   allow platform_app diag_logs:dir rw_dir_perms;
   allow platform_app diag_logs:file create_file_perms;
   allow platform_app diag_device:chr_file rw_file_perms;
')