pixel_bugreport(dump_sensors)
allow dump_sensors aoc_device:chr_file rw_file_perms;
allow dump_sensors device:dir r_dir_perms;
allow dump_sensors vendor_shell_exec:file execute_no_trans;
allow dump_sensors vendor_usf_stats:file execute_no_trans;

userdebug_or_eng(`
  allow dump_sensors vendor_usf_reg_edit:file execute_no_trans;
  allow dump_sensors sensor_debug_data_file:dir r_dir_perms;
  allow dump_sensors sensor_debug_data_file:file r_file_perms;
')
