2019-07-10 10:19:17 -04:00
|
|
|
# Allow binder communication with hal_audio_default
|
|
|
|
binder_call(hal_sensors_default, hal_audio_default)
|
|
|
|
|
|
|
|
# Allow hal_sensors_default to find hal_graphics_mapper_hwservice
|
|
|
|
allow hal_sensors_default hal_graphics_mapper_hwservice:hwservice_manager find;
|
|
|
|
|
|
|
|
# Allow hal_sensors_default to read files in mnt_vendor_file
|
|
|
|
r_dir_file(hal_sensors_default, mnt_vendor_file)
|
|
|
|
|
|
|
|
# Allow hal_sensors_default to read files in sysfs_graphics
|
|
|
|
r_dir_file(hal_sensors_default, sysfs_graphics)
|
|
|
|
|
2019-07-09 14:55:20 -04:00
|
|
|
# Allow hal_sensors_default to read and write to proc_touchpanel
|
|
|
|
allow hal_sensors_default proc_touchpanel:dir search;
|
|
|
|
allow hal_sensors_default proc_touchpanel:file rw_file_perms;
|
2019-07-10 10:19:17 -04:00
|
|
|
|
|
|
|
# Allow hal_sensors_default to read graphics sysfs nodes
|
|
|
|
r_dir_file(hal_sensors_default, sysfs_graphics)
|
|
|
|
|