2022-05-12 06:33:22 +00:00
|
|
|
userdebug_or_eng(`
|
2023-07-10 05:10:03 +00:00
|
|
|
# Allows camera app to access the GXP device and properties.
|
2022-05-12 06:33:22 +00:00
|
|
|
allow debug_camera_app gxp_device:chr_file rw_file_perms;
|
2023-07-10 05:10:03 +00:00
|
|
|
get_prop(debug_camera_app, vendor_gxp_prop)
|
2022-05-12 06:33:22 +00:00
|
|
|
|
|
|
|
|
# Allows camera app to search for GXP firmware file.
|
|
|
|
|
allow debug_camera_app vendor_fw_file:dir search;
|
2022-05-31 17:59:26 +08:00
|
|
|
|
2022-11-08 13:31:14 +08:00
|
|
|
# Allows GCA-Eng 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 };
|
2023-07-10 05:10:03 +00:00
|
|
|
')
|