These permissions are needed by GCA-release & GCA-dogfood to access edgetpu. Bug: 264490031 Change-Id: Idd9dff906c86f9e83f1dc67698c23387e174d99c Signed-off-by: Dinesh Yadav <dkyadav@google.com>
15 lines
587 B
Text
15 lines
587 B
Text
type google_camera_app, domain, coredomain;
|
|
app_domain(google_camera_app)
|
|
|
|
# Allows camera app to access the GXP device.
|
|
allow google_camera_app gxp_device:chr_file rw_file_perms;
|
|
|
|
# Allows camera app to access the PowerHAL.
|
|
hal_client_domain(google_camera_app, hal_power)
|
|
|
|
# Allow camera app to access the a subset of app services.
|
|
allow google_camera_app app_api_service:service_manager find;
|
|
|
|
# Allows GCA to access the EdgeTPU device.
|
|
allow google_camera_app edgetpu_app_service:service_manager find;
|
|
allow google_camera_app edgetpu_device:chr_file { getattr read write ioctl map };
|