Merge "Add IAllocator stable-aidl"

This commit is contained in:
John Reck 2022-01-20 17:05:56 +00:00 committed by Gerrit Code Review
commit 423f4c7e93
4 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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;