Add IAllocator stable-aidl
Test: Builds & boots; no sepolicy errors logged Bug: 193558894 Change-Id: I11e162310548b67addc032ccc0d499cbf391e7f9
This commit is contained in:
parent
bcc280963d
commit
22903f0435
4 changed files with 8 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
hal_contexthub_service
|
||||
hal_dice_service
|
||||
hal_dumpstate_service
|
||||
hal_graphics_allocator_service
|
||||
hal_graphics_composer_service
|
||||
hal_health_service
|
||||
hal_ir_service
|
||||
|
|
|
@ -6,6 +6,7 @@ android.hardware.biometrics.fingerprint.IFingerprint/default u:object_r:
|
|||
android.hardware.contexthub.IContextHub/default u:object_r:hal_contexthub_service:s0
|
||||
android.hardware.dumpstate.IDumpstateDevice/default u:object_r:hal_dumpstate_service:s0
|
||||
android.hardware.gnss.IGnss/default u:object_r:hal_gnss_service:s0
|
||||
android.hardware.graphics.allocator.IAllocator/default u:object_r:hal_graphics_allocator_service:s0
|
||||
android.hardware.graphics.composer3.IComposer/default u:object_r:hal_graphics_composer_service:s0
|
||||
android.hardware.health.storage.IStorage/default u:object_r:hal_health_storage_service:s0
|
||||
android.hardware.health.IHealth/default u:object_r:hal_health_service:s0
|
||||
|
|
|
@ -12,3 +12,8 @@ allow hal_graphics_allocator dmabuf_system_heap_device:chr_file r_file_perms;
|
|||
|
||||
# allow to run with real-time scheduling policy
|
||||
allow hal_graphics_allocator self:global_capability_class_set sys_nice;
|
||||
|
||||
# IAllocator stable-aidl
|
||||
hal_attribute_service(hal_graphics_allocator, hal_graphics_allocator_service)
|
||||
binder_call(hal_graphics_allocator_server, servicemanager)
|
||||
binder_call(hal_graphics_allocator_client, servicemanager)
|
||||
|
|
|
@ -270,6 +270,7 @@ type hal_dumpstate_service, vendor_service, protected_service, service_manager_t
|
|||
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;
|
||||
type hal_graphics_allocator_service, vendor_service, service_manager_type;
|
||||
type hal_graphics_composer_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_health_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_health_storage_service, vendor_service, protected_service, service_manager_type;
|
||||
|
|
Loading…
Reference in a new issue