Revert "Move ODPM file rule to pixel sepolicy"

Revert "Move ODPM file rule to pixel sepolicy"

Revert submission 17215583-odpm_sepolicy_refactor-tm-dev

Reason for revert: build failure tracked in b/228261711
Reverted Changes:
Ic9a89950a:Move ODPM file rule to pixel sepolicy
I24105669b:Move ODPM file rule to pixel sepolicy
I044a285ff:Move ODPM file rule to pixel sepolicy

Change-Id: I36abfddaa5903739f9c5bf65d3c1cd506db9e604
This commit is contained in:
Siddharth Kapoor 2022-04-07 03:29:56 +00:00
parent 753edef5f6
commit 13f85a37f3
3 changed files with 4 additions and 0 deletions

View file

@ -152,6 +152,7 @@ type sysfs_chargelevel, sysfs_type, fs_type;
# ODPM
type powerstats_vendor_data_file, file_type, data_file_type;
type sysfs_odpm, sysfs_type, fs_type;
# bcl
type sysfs_bcl, sysfs_type, fs_type;

View file

@ -7,6 +7,8 @@ binder_call(hal_power_stats_default, hal_bluetooth_btlinux)
r_dir_file(hal_power_stats_default, sysfs_iio_devices)
allow hal_power_stats_default powerstats_vendor_data_file:dir search;
allow hal_power_stats_default powerstats_vendor_data_file:file r_file_perms;
allow hal_power_stats_default sysfs_odpm:dir search;
allow hal_power_stats_default sysfs_odpm:file rw_file_perms;
allow hal_power_stats_default sysfs_edgetpu:dir search;
allow hal_power_stats_default sysfs_edgetpu:file r_file_perms;

View file

@ -1 +1,2 @@
allow hal_thermal_default sysfs_iio_devices:dir r_dir_perms;
allow hal_thermal_default sysfs_odpm:file r_file_perms;