Skip to content
Snippets Groups Projects
Commit f975340d authored by Yang Ni's avatar Yang Ni Committed by android-build-merger
Browse files

Merge "Allow applications to use NN API HAL services" am: 1642d405

am: d47b8e24

Change-Id: I9c11fe2dcb10f2d2069531108c55e358b0ec6cea
parents 2dab0d9a d47b8e24
No related branches found
No related tags found
No related merge requests found
......@@ -172,6 +172,7 @@ neverallow all_untrusted_apps {
-hal_graphics_allocator_hwservice
-hal_omx_hwservice
-hal_cas_hwservice
-hal_neuralnetworks_hwservice
-untrusted_app_visible_hwservice
}:hwservice_manager find;
......@@ -194,7 +195,6 @@ neverallow all_untrusted_apps {
hal_keymaster_hwservice
hal_light_hwservice
hal_memtrack_hwservice
hal_neuralnetworks_hwservice
hal_nfc_hwservice
hal_oemlock_hwservice
hal_power_hwservice
......@@ -238,6 +238,7 @@ full_treble_only(`
-hal_configstore_server
-hal_graphics_allocator_server
-hal_cas_server
-hal_neuralnetworks_server
-binder_in_vendor_violators # TODO(b/35870313): Remove once all violations are gone
-untrusted_app_visible_halserver
}:binder { call transfer };
......
......@@ -31,3 +31,8 @@
; Unfortunately, we can't currently express this in module policy language:
; typeattribute hal_camera hal_allocator_client;
(typeattributeset hal_allocator_client (hal_camera))
; Apps, except isolated apps, are clients of Neuralnetworks HAL
; Unfortunately, we can't currently express this in module policy language:
; typeattribute { appdomain -isolated_app } hal_neuralnetworks_client;
(typeattributeset hal_neuralnetworks_client ((and (appdomain) ((not (isolated_app))))))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment