Snap for 12098010 from 3582506fec to 24Q4-release

Change-Id: Ia585ff437af9b9adde70c9b31565ff8e9b645a53
This commit is contained in:
Android Build Coastguard Worker 2024-07-16 23:02:35 +00:00
commit f6dbf8c55f
2 changed files with 10 additions and 0 deletions

View file

@ -27,6 +27,9 @@ allow edgetpu_tachyon_server gpu_device:chr_file rw_file_perms;
allow edgetpu_tachyon_server gpu_device:dir r_dir_perms;
allow edgetpu_tachyon_server ion_device:chr_file r_file_perms;
# Allow Tachyon service to access camera hal via binder.
binder_call(edgetpu_tachyon_server, hal_camera_default);
# Allow Tachyon service to access dmabuf sysytem.
allow edgetpu_tachyon_server dmabuf_system_heap_device:chr_file r_file_perms;

View file

@ -6,3 +6,10 @@ get_prop(hal_camera_default, vendor_edgetpu_runtime_prop)
# Allow camera HAL to read hetero runtime properties
get_prop(hal_camera_default, vendor_hetero_runtime_prop)
# Allow camera HAL to access tachyon HAL
allow hal_camera_default edgetpu_tachyon_service:service_manager find;
# Allow camera HAL to communicate with tachyon hal using binder calls
binder_call(hal_camera_default, edgetpu_tachyon_server);