2019-07-17 17:11:43 -04:00
|
|
|
# Allow access to the HALs
|
|
|
|
hal_client_domain(hal_audio_default, hal_sensors)
|
|
|
|
|
|
|
|
# Allow binder communication with hal_sensors_default
|
|
|
|
binder_call(hal_audio_default, hal_sensors_default)
|
|
|
|
|
|
|
|
# Allow hal_audio_default to find hal_sensors_hwservice
|
|
|
|
allow hal_audio_default hal_sensors_hwservice:hwservice_manager find;
|
|
|
|
|
2020-05-03 00:59:47 -04:00
|
|
|
# Allow hal_audio_default to read audio_device
|
|
|
|
allow hal_audio_default audio_device:dir r_dir_perms;
|
|
|
|
|
2019-07-17 17:11:43 -04:00
|
|
|
# Allow hal_audio_default to read files in mnt_vendor_file
|
|
|
|
r_dir_file(hal_audio_default, mnt_vendor_file)
|