Merge "Add AIDL audio HAL service to SEPolicy"
This commit is contained in:
commit
1704f61dcf
3 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
android.hardware.audio.core.IConfig/default u:object_r:hal_audio_service:s0
|
||||
android.hardware.audio.core.IModule/default u:object_r:hal_audio_service:s0
|
||||
android.hardware.authsecret.IAuthSecret/default u:object_r:hal_authsecret_service:s0
|
||||
android.hardware.automotive.evs.IEvsEnumerator/hw/0 u:object_r:hal_evs_service:s0
|
||||
android.hardware.automotive.evs.IEvsEnumerator/hw/1 u:object_r:hal_evs_service:s0
|
||||
|
|
|
@ -7,6 +7,8 @@ hal_attribute_service(hal_audio, hal_audio_service)
|
|||
|
||||
allow hal_audio ion_device:chr_file r_file_perms;
|
||||
|
||||
binder_call(hal_audio_server, servicemanager)
|
||||
|
||||
r_dir_file(hal_audio, proc)
|
||||
r_dir_file(hal_audio, proc_asound)
|
||||
allow hal_audio_server audio_device:dir r_dir_perms;
|
||||
|
|
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
|
@ -4,6 +4,7 @@
|
|||
/(vendor|system/vendor)/bin/hw/android\.hardware\.atrace@1\.0-service u:object_r:hal_atrace_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.audio(@2\.0-|\.)service u:object_r:hal_audio_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.audio@7\.0-service\.example u:object_r:hal_audio_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.audio\.service-aidl.example u:object_r:hal_audio_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.audiocontrol@1\.0-service u:object_r:hal_audiocontrol_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.audiocontrol@2\.0-service u:object_r:hal_audiocontrol_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.audiocontrol-service.example u:object_r:hal_audiocontrol_default_exec:s0
|
||||
|
|
Loading…
Reference in a new issue