Allow camera HAL to access edgetpu_app_service in gs201 am: 0161b6fbfa

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/22462510

Change-Id: I9f030286a6e9633bd35dfa39920d8c594492eda7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
feiyuchen 2023-04-05 23:25:45 +00:00 committed by Automerger Merge Worker
commit 75b17801c5

View file

@ -23,6 +23,10 @@ allow hal_camera_default sysfs_edgetpu:dir r_dir_perms;
allow hal_camera_default sysfs_edgetpu:file r_file_perms;
allow hal_camera_default edgetpu_vendor_service:service_manager find;
binder_call(hal_camera_default, edgetpu_vendor_server)
# Allow edgetpu_app_service as well, due to the EdgeTpu metrics logging
# library has a dependency on edgetpu_app_service, see b/275016466.
allow hal_camera_default edgetpu_app_service:service_manager find;
binder_call(hal_camera_default, edgetpu_app_server)
# Allow the camera hal to access the GXP device.
allow hal_camera_default gxp_device:chr_file rw_file_perms;