Merge cherrypicks of ['googleplex-android-review.googlesource.com/29703186'] into 24Q4-release.
Change-Id: I5821ee53c0a71ff5a91bae6dcefc3a11bc66101f
This commit is contained in:
commit
6993882c34
1 changed files with 0 additions and 18 deletions
18
battery_mitigation/sepolicy/vendor/dumpstate.te
vendored
18
battery_mitigation/sepolicy/vendor/dumpstate.te
vendored
|
@ -1,21 +1,3 @@
|
|||
# To call battery_mitigation hal
|
||||
allow dumpstate hal_battery_mitigation_service:service_manager find;
|
||||
binder_call(dumpstate, battery_mitigation);
|
||||
|
||||
allow hal_dumpstate_default sysfs_acpm_stats:dir { read open search };
|
||||
allow hal_dumpstate_default sysfs_acpm_stats:file { read open getattr };
|
||||
allow hal_dumpstate_default sysfs_cpu:file { read open getattr };
|
||||
allow hal_dumpstate_default sysfs_batteryinfo:dir { read open search };
|
||||
allow hal_dumpstate_default sysfs_batteryinfo:file { read open getattr };
|
||||
allow hal_dumpstate_default logbuffer_device:chr_file { read open getattr };
|
||||
allow hal_dumpstate_default mitigation_vendor_data_file:file { read open getattr };
|
||||
allow hal_dumpstate_default mitigation_vendor_data_file:dir { search };
|
||||
allow hal_dumpstate_default sysfs_bcl:dir { read open search };
|
||||
allow hal_dumpstate_default sysfs_bcl:file { read open getattr };
|
||||
allow hal_dumpstate_default vendor_file:file { execute_no_trans };
|
||||
allow hal_dumpstate_default battery_history_device:chr_file { read };
|
||||
|
||||
|
||||
userdebug_or_eng(`
|
||||
allow hal_dumpstate_default vendor_pm_genpd_debugfs:file { read open getattr };
|
||||
')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue