Merge "Allow tachyon service to make binder calls to GCA" into main
This commit is contained in:
commit
6e4418cacd
2 changed files with 7 additions and 0 deletions
4
vendor/debug_camera_app.te
vendored
4
vendor/debug_camera_app.te
vendored
|
@ -1,3 +1,4 @@
|
|||
# File containing sepolicies for GCA-Eng & GCA-Next.
|
||||
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;
|
||||
|
@ -9,4 +10,7 @@ userdebug_or_eng(`
|
|||
|
||||
# Allows GCA_Eng & GCA-Next to access the hw_jpeg /dev/video12.
|
||||
allow debug_camera_app hw_jpg_device:chr_file rw_file_perms;
|
||||
|
||||
# Allow tachyon_service to communicate with GCA-Eng via binder.
|
||||
binder_call(edgetpu_tachyon_server, debug_camera_app);
|
||||
')
|
||||
|
|
3
vendor/google_camera_app.te
vendored
3
vendor/google_camera_app.te
vendored
|
@ -8,3 +8,6 @@ allow google_camera_app edgetpu_device:chr_file { getattr read write ioctl map }
|
|||
|
||||
# Allows GCA to access the hw_jpeg /dev/video12.
|
||||
allow google_camera_app hw_jpg_device:chr_file rw_file_perms;
|
||||
|
||||
# Allow tachyon service to communicate with google_camera_app via binder.
|
||||
binder_call(edgetpu_tachyon_server, google_camera_app);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue