git-subtree-dir: sepolicy git-subtree-mainline:5ac4bfe691
git-subtree-split:8c9dd0dbcd
Change-Id: If7ab7a231c42edd022de4786d0e0d92c6e77eef0
12 lines
532 B
Text
12 lines
532 B
Text
userdebug_or_eng(`
|
|
# Allows GCA-Eng & GCA-Next access the GXP device and properties.
|
|
allow debug_camera_app gxp_device:chr_file rw_file_perms;
|
|
get_prop(debug_camera_app, vendor_gxp_prop)
|
|
|
|
# Allows GCA-Eng & GCA-Next to find and access the EdgeTPU.
|
|
allow debug_camera_app edgetpu_app_service:service_manager find;
|
|
allow debug_camera_app edgetpu_device:chr_file { getattr read write ioctl map };
|
|
|
|
# Allows GCA_Eng & GCA-Next to access the hw_jpeg /dev/video12.
|
|
allow debug_camera_app hw_jpg_device:chr_file rw_file_perms;
|
|
')
|