device_xiaomi_sm6150-common/sepolicy/vendor/hal_power_default.te
Arian 8cf1d5dda3
sm6150-common: power: Use xiaomi-touch to handle dt2w
Change-Id: I73f95e32daf9e2c702662ac2c2c8182e6b8eb214
2021-06-25 19:22:00 +02:00

18 lines
782 B
Plaintext

type proc_sched_energy_aware, proc_type, fs_type;
type vendor_power_prop, property_type;
allow hal_power_default touchfeature_device:chr_file rw_file_perms;
# To do powerhint on nodes defined in powerhint.json
allow hal_power_default cgroup:dir search;
allow hal_power_default cgroup:file rw_file_perms;
allow hal_power_default proc_sched_energy_aware:file rw_file_perms;
allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
allow hal_power_default vendor_latency_device:chr_file rw_file_perms;
allow hal_power_default vendor_sysfs_devfreq:dir search;
allow hal_power_default vendor_sysfs_devfreq:file rw_file_perms;
allow hal_power_default vendor_sysfs_kgsl:file rw_file_perms;
# To get/set powerhal state property
set_prop(hal_power_default, vendor_power_prop)