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 debugfs_sched_features:file rw_file_perms; 12allow hal_power_default proc_sysctl_schedboost:file rw_file_perms; 13 14# Allow power hal to talk to mm-pp-daemon to control display lpm 15allow hal_power_default mm-pp-daemon:unix_stream_socket connectto; 16allow hal_power_default pps_socket:sock_file write; 17 18# To get/set powerhal state property 19set_prop(hal_power_default, power_prop) 20