1allow hal_power_default sysfs_graphics:dir search; 2allow hal_power_default sysfs_graphics:file r_file_perms; 3 4# To do powerhint on nodes defined in powerhint.json 5allow hal_power_default sysfs_msm_subsys:dir search; 6allow hal_power_default sysfs_msm_subsys:file rw_file_perms; 7allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms; 8allow hal_power_default latency_device:chr_file rw_file_perms; 9allow hal_power_default cgroup:dir search; 10allow hal_power_default cgroup:file rw_file_perms; 11allow hal_power_default sysfs_touch:file w_file_perms; 12allow hal_power_default sysfs_touch:dir search; 13 14# To get/set powerhal state property 15set_prop(hal_power_default, power_prop) 16 17# interact with thermal_config 18set_prop(hal_power_default, thermal_prop) 19