1
2pixel_bugreport(dump_power_gs201)
3allow dump_power_gs201 sysfs_acpm_stats:dir r_dir_perms;
4allow dump_power_gs201 sysfs_acpm_stats:file r_file_perms;
5allow dump_power_gs201 sysfs_cpu:file r_file_perms;
6allow dump_power_gs201 vendor_toolbox_exec:file execute_no_trans;
7allow dump_power_gs201 logbuffer_device:chr_file r_file_perms;
8allow dump_power_gs201 mitigation_vendor_data_file:dir r_dir_perms;
9allow dump_power_gs201 sysfs:dir r_dir_perms;
10allow dump_power_gs201 sysfs_batteryinfo:dir r_dir_perms;
11allow dump_power_gs201 sysfs_batteryinfo:file r_file_perms;
12allow dump_power_gs201 sysfs_bcl:dir r_dir_perms;
13allow dump_power_gs201 sysfs_bcl:file r_file_perms;
14allow dump_power_gs201 sysfs_wlc:dir r_dir_perms;
15allow dump_power_gs201 sysfs_wlc:file r_file_perms;
16allow dump_power_gs201 battery_history_device:chr_file r_file_perms;
17allow dump_power_gs201 mitigation_vendor_data_file:file r_file_perms;
18
19userdebug_or_eng(`
20  allow dump_power_gs201 debugfs:dir r_dir_perms;
21  allow dump_power_gs201 vendor_battery_debugfs:dir r_dir_perms;
22  allow dump_power_gs201 vendor_battery_debugfs:file r_file_perms;
23  allow dump_power_gs201 vendor_charger_debugfs:dir r_dir_perms;
24  allow dump_power_gs201 vendor_charger_debugfs:file r_file_perms;
25  allow dump_power_gs201 vendor_pm_genpd_debugfs:file r_file_perms;
26  allow dump_power_gs201 vendor_maxfg_debugfs:dir r_dir_perms;
27  allow dump_power_gs201 vendor_maxfg_debugfs:file r_file_perms;
28  allow dump_power_gs201 vendor_votable_debugfs:dir r_dir_perms;
29  allow dump_power_gs201 vendor_votable_debugfs:file r_file_perms;
30')
31