Snap for 12272146 from 81654643af
to 24Q4-release
Change-Id: I616bb7fb9e66bbe33eb8ec7029b1c4eeaa9aaba2
This commit is contained in:
commit
b3ebc1cbfe
1 changed files with 17 additions and 0 deletions
17
battery_mitigation/sepolicy/vendor/dumpstate.te
vendored
17
battery_mitigation/sepolicy/vendor/dumpstate.te
vendored
|
@ -1,3 +1,20 @@
|
||||||
# To call battery_mitigation hal
|
# To call battery_mitigation hal
|
||||||
allow dumpstate hal_battery_mitigation_service:service_manager find;
|
allow dumpstate hal_battery_mitigation_service:service_manager find;
|
||||||
binder_call(dumpstate, battery_mitigation);
|
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: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