1userdebug_or_eng(` 2 # Allows GCA-Eng & GCA-Next access the GXP device and properties. 3 allow debug_camera_app gxp_device:chr_file rw_file_perms; 4 get_prop(debug_camera_app, vendor_gxp_prop) 5 6 # Allows GCA-Eng & GCA-Next to find and access the EdgeTPU. 7 allow debug_camera_app edgetpu_app_service:service_manager find; 8 allow debug_camera_app edgetpu_device:chr_file { getattr read write ioctl map }; 9 10 # Allows GCA_Eng & GCA-Next to access the hw_jpeg /dev/video12. 11 allow debug_camera_app hw_jpg_device:chr_file rw_file_perms; 12') 13