Skip to content
Snippets Groups Projects
Commit ef9f3de9 authored by Alex Klyubin's avatar Alex Klyubin Committed by android-build-merger
Browse files

Merge "surfaceflinger and apps are clients of Configstore HAL" into oc-dev am: ec470829

am: dc8a278a

Change-Id: Ie2256f76ef644171b7eb67d63a0640aea21db445
parents 1544d93c dc8a278a
No related branches found
No related tags found
No related merge requests found
...@@ -273,9 +273,6 @@ get_prop({ appdomain -isolated_app }, hwservicemanager_prop); ...@@ -273,9 +273,6 @@ get_prop({ appdomain -isolated_app }, hwservicemanager_prop);
# Allow app access to mediacodec (IOMX HAL) # Allow app access to mediacodec (IOMX HAL)
binder_call({ appdomain -isolated_app }, mediacodec) binder_call({ appdomain -isolated_app }, mediacodec)
# App can access configstore HAL which is read only
binder_call({ appdomain -isolated_app }, hal_configstore)
# Allow app to access shared memory created by camera HAL1 # Allow app to access shared memory created by camera HAL1
allow { appdomain -isolated_app } hal_camera:fd use; allow { appdomain -isolated_app } hal_camera:fd use;
......
...@@ -14,7 +14,6 @@ hwbinder_use(surfaceflinger) ...@@ -14,7 +14,6 @@ hwbinder_use(surfaceflinger)
hal_client_domain(surfaceflinger, hal_graphics_allocator) hal_client_domain(surfaceflinger, hal_graphics_allocator)
binder_call(surfaceflinger, hal_graphics_composer) binder_call(surfaceflinger, hal_graphics_composer)
hal_client_domain(surfaceflinger, hal_graphics_composer) hal_client_domain(surfaceflinger, hal_graphics_composer)
binder_call(surfaceflinger, hal_configstore)
hal_client_domain(surfaceflinger, hal_configstore) hal_client_domain(surfaceflinger, hal_configstore)
# Perform Binder IPC. # Perform Binder IPC.
......
...@@ -12,6 +12,11 @@ ...@@ -12,6 +12,11 @@
(typeattributeset hal_allocator_client ((and (appdomain) ((not (isolated_app)))))) (typeattributeset hal_allocator_client ((and (appdomain) ((not (isolated_app))))))
(typeattributeset halclientdomain (hal_allocator_client)) (typeattributeset halclientdomain (hal_allocator_client))
; Apps, except isolated apps, are clients of Configstore HAL
; Unfortunately, we can't currently express this in module policy language:
; typeattribute { appdomain -isolated_app } hal_configstore_client;
(typeattributeset hal_configstore_client ((and (appdomain) ((not (isolated_app))))))
; Apps, except isolated apps, are clients of Graphics Allocator HAL ; Apps, except isolated apps, are clients of Graphics Allocator HAL
; Unfortunately, we can't currently express this in module policy language: ; Unfortunately, we can't currently express this in module policy language:
; typeattribute { appdomain -isolated_app } hal_graphics_allocator_client; ; typeattribute { appdomain -isolated_app } hal_graphics_allocator_client;
......
# HwBinder IPC from client to server
binder_call(hal_configstore_client, hal_configstore_server)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment