Add soundtrigger3 HAL (AIDL) to sepolicy

Test: Compile and boot. Don't yet have a HAL implementation to test
      with.
Change-Id: I387abd0e8913eef865cba2aee0a4ef714232bb19
This commit is contained in:
Ytai Ben-Tsvi 2021-03-22 13:00:38 -07:00
parent 133496f8a4
commit 9eaf3be545
4 changed files with 5 additions and 1 deletions

View file

@ -41,6 +41,7 @@
font_data_file
gki_apex_prepostinstall
gki_apex_prepostinstall_exec
hal_audio_service
hal_authsecret_service
hal_audiocontrol_service
hal_face_service

View file

@ -15,6 +15,7 @@ android.hardware.security.keymint.IKeyMintDevice/default u:object_r:
android.hardware.security.keymint.IRemotelyProvisionedComponent/default u:object_r:hal_remotelyprovisionedcomponent_service:s0
android.hardware.security.secureclock.ISecureClock/default u:object_r:hal_secureclock_service:s0
android.hardware.security.sharedsecret.ISharedSecret/default u:object_r:hal_sharedsecret_service:s0
android.hardware.soundtrigger3.ISoundTriggerHw/default u:object_r:hal_audio_service:s0
android.hardware.vibrator.IVibrator/default u:object_r:hal_vibrator_service:s0
android.hardware.vibrator.IVibratorManager/default u:object_r:hal_vibrator_service:s0
android.hardware.weaver.IWeaver/default u:object_r:hal_weaver_service:s0

View file

@ -3,6 +3,7 @@ binder_call(hal_audio_client, hal_audio_server)
binder_call(hal_audio_server, hal_audio_client)
hal_attribute_hwservice(hal_audio, hal_audio_hwservice)
hal_attribute_service(hal_audio, hal_audio_service)
allow hal_audio ion_device:chr_file r_file_perms;

View file

@ -240,8 +240,9 @@ type emergency_affordance_service, system_server_service, service_manager_type;
### HAL Services
###
type hal_authsecret_service, vendor_service, protected_service, service_manager_type;
type hal_audio_service, vendor_service, protected_service, service_manager_type;
type hal_audiocontrol_service, vendor_service, service_manager_type;
type hal_authsecret_service, vendor_service, protected_service, service_manager_type;
type hal_face_service, vendor_service, protected_service, service_manager_type;
type hal_fingerprint_service, vendor_service, protected_service, service_manager_type;
type hal_gnss_service, vendor_service, protected_service, service_manager_type;