Home | History | Annotate | Download | only in common
      1 allow hal_power_default sysfs_graphics:dir search;
      2 allow hal_power_default sysfs_graphics:file r_file_perms;
      3 
      4 # To do powerhint on nodes defined in powerhint.json
      5 allow hal_power_default sysfs_msm_subsys:dir search;
      6 allow hal_power_default sysfs_msm_subsys:file rw_file_perms;
      7 allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
      8 allow hal_power_default latency_device:chr_file rw_file_perms;
      9 allow hal_power_default cgroup:dir search;
     10 allow hal_power_default cgroup:file rw_file_perms;
     11 allow hal_power_default debugfs_sched_features:file rw_file_perms;
     12 allow 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
     15 allow hal_power_default mm-pp-daemon:unix_stream_socket connectto;
     16 allow hal_power_default pps_socket:sock_file write;
     17 
     18 # To get/set powerhal state property
     19 set_prop(hal_power_default, power_prop)
     20 
     21 # interact with thermal_config
     22 set_prop(hal_power_default, vendor_thermal_prop)
     23