1pixel_bugreport(dump_power)
2
3allow dump_power vendor_toolbox_exec:file execute_no_trans;
4allow dump_power sysfs_acpm_stats:dir r_dir_perms;
5allow dump_power sysfs_acpm_stats:file r_file_perms;
6allow dump_power sysfs_cpu:file r_file_perms;
7allow dump_power sysfs_bcl:dir r_dir_perms;
8allow dump_power sysfs_bcl:file r_file_perms;
9allow dump_power sysfs_odpm:dir r_dir_perms;
10allow dump_power sysfs_odpm:file r_file_perms;
11allow dump_power logbuffer_device:chr_file r_file_perms;
12allow dump_power sysfs_batteryinfo:dir r_dir_perms;
13allow dump_power sysfs_batteryinfo:file r_file_perms;
14allow dump_power sysfs_wlc:dir search;
15allow dump_power sysfs_wlc:file r_file_perms;
16allow dump_power sysfs_power_dump:file r_file_perms;
17allow dump_power mitigation_vendor_data_file:dir rw_dir_perms;
18allow dump_power mitigation_vendor_data_file:file create_file_perms;
19allow dump_power mnt_vendor_file:dir search;
20allow dump_power persist_file:dir search;
21allow dump_power persist_battery_file:dir r_dir_perms;
22allow dump_power persist_battery_file:file r_file_perms;
23allow dump_power vendor_shell_exec:file execute_no_trans;
24allow dump_power battery_mitigation_exec:file execute_no_trans;
25allow dump_power sysfs_iio_devices:dir search;
26allow dump_power sysfs:dir r_dir_perms;
27
28userdebug_or_eng(`
29  allow dump_power debugfs:dir r_dir_perms;
30  allow dump_power vendor_battery_debugfs:dir r_dir_perms;
31  allow dump_power vendor_battery_debugfs:file r_file_perms;
32  allow dump_power vendor_pm_genpd_debugfs:file r_file_perms;
33  allow dump_power vendor_charger_debugfs:dir r_dir_perms;
34  allow dump_power vendor_charger_debugfs:file r_file_perms;
35  allow dump_power vendor_usb_debugfs:dir r_dir_perms;
36  allow dump_power vendor_usb_debugfs:file r_file_perms;
37  allow dump_power vendor_votable_debugfs:dir r_dir_perms;
38  allow dump_power vendor_votable_debugfs:file r_file_perms;
39  allow dump_power vendor_maxfg_debugfs:dir r_dir_perms;
40  allow dump_power vendor_maxfg_debugfs:file r_file_perms;
41  allow dump_power self:lockdown integrity;
42')
43
44