hidl2aidl: sepolicy changes for confirmationui aidl

Sepolicy changes for confirmationui while converting from hidl
to aidl.

Bug: b/205760172
Test: run vts -m VtsHalConfirmationUIV1_0Target
Change-Id: Ib21038fd89789755b978489f5293725b221d86c4
This commit is contained in:
Subrahmanyaman 2022-08-09 18:42:15 +00:00
parent 397e5765e3
commit 745efb4ced
5 changed files with 7 additions and 1 deletions

View file

@ -33,6 +33,7 @@ var (
"android.hardware.broadcastradio.IBroadcastRadio/amfm": []string{},
"android.hardware.broadcastradio.IBroadcastRadio/dab": []string{},
"android.hardware.camera.provider.ICameraProvider/internal/0": []string{},
"android.hardware.confirmationui.IConfirmationUI/default": []string{},
"android.hardware.contexthub.IContextHub/default": []string{},
"android.hardware.drm.IDrmFactory/clearkey": []string{},
"android.hardware.drm.ICryptoFactory/clearkey": []string{},

View file

@ -24,4 +24,5 @@
virtual_fingerprint_hal_prop
hal_gatekeeper_service
hal_broadcastradio_service
hal_confirmationui_service
))

View file

@ -1,3 +1,4 @@
android.frameworks.stats.IStats/default u:object_r:fwk_stats_service:s0
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.audio.effect.IFactory/default u:object_r:hal_audio_service:s0
@ -17,6 +18,7 @@ android.hardware.broadcastradio.IBroadcastRadio/dab u:object_r:
# The instance here is internal/0 following naming convention for ICameraProvider.
# It advertises internal camera devices.
android.hardware.camera.provider.ICameraProvider/internal/0 u:object_r:hal_camera_service:s0
android.hardware.confirmationui.IConfirmationUI/default u:object_r:hal_confirmationui_service:s0
android.hardware.contexthub.IContextHub/default u:object_r:hal_contexthub_service:s0
android.hardware.drm.IDrmFactory/clearkey u:object_r:hal_drm_service:s0
android.hardware.drm.ICryptoFactory/clearkey u:object_r:hal_drm_service:s0
@ -73,7 +75,6 @@ android.hardware.vibrator.IVibratorManager/default u:object_r:
android.hardware.weaver.IWeaver/default u:object_r:hal_weaver_service:s0
android.hardware.wifi.hostapd.IHostapd/default u:object_r:hal_wifi_hostapd_service:s0
android.hardware.wifi.supplicant.ISupplicant/default u:object_r:hal_wifi_supplicant_service:s0
android.frameworks.stats.IStats/default u:object_r:fwk_stats_service:s0
android.se.omapi.ISecureElementService/default u:object_r:secure_element_service:s0
android.system.keystore2.IKeystoreService/default u:object_r:keystore_service:s0
android.system.net.netd.INetd/default u:object_r:system_net_netd_service:s0

View file

@ -2,3 +2,5 @@
binder_call(hal_confirmationui_client, hal_confirmationui_server)
hal_attribute_hwservice(hal_confirmationui, hal_confirmationui_hwservice)
hal_attribute_service(hal_confirmationui, hal_confirmationui_service)
binder_call(hal_confirmationui_server, servicemanager)

View file

@ -272,6 +272,7 @@ type hal_authsecret_service, protected_service, hal_service_type, service_manage
type hal_bootctl_service, protected_service, hal_service_type, service_manager_type;
type hal_broadcastradio_service, protected_service, hal_service_type, service_manager_type;
type hal_camera_service, protected_service, hal_service_type, service_manager_type;
type hal_confirmationui_service, protected_service, hal_service_type, service_manager_type;
type hal_contexthub_service, protected_service, hal_service_type, service_manager_type;
type hal_dice_service, protected_service, hal_service_type, service_manager_type;
type hal_drm_service, hal_service_type, service_manager_type;