android_device_samsung_msm8.../sepolicy/hal_power_default.te
Deokgyu Yang 6f1d7bef0b gts3l-common: sepolicy: Add touch HAL policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I8f6f3757d7e16080ddf2e7b4dbb977912fe38a17
2022-02-20 14:33:24 +09:00

14 lines
517 B
Text

add_hwservice(hal_power_default, hal_miscpower_hwservice)
allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;
allow hal_power_default sysfs_batteryinfo:dir r_dir_perms;
allow hal_power_default sysfs_batteryinfo:file rw_file_perms;
allow hal_power_default sysfs_tsp:dir r_dir_perms;
allow hal_power_default sysfs_tsp:file rw_file_perms;
allow hal_power_default sysfs_tsp:lnk_file read;
allow hal_power_default sysfs_touchkey:lnk_file read;
allow hal_power_default sysfs:file { open read write };