2022-11-08 13:21:51 +08:00
|
|
|
# Allows applications to discover the EdgeTPU service.
|
|
|
|
allow untrusted_app_all edgetpu_app_service:service_manager find;
|
|
|
|
|
|
|
|
# Allows applications to access the EdgeTPU device, except open, which is guarded
|
|
|
|
# by the EdgeTPU service.
|
|
|
|
allow untrusted_app_all edgetpu_device:chr_file { getattr read write ioctl map };
|
|
|
|
|
2024-05-07 19:12:30 +00:00
|
|
|
# Allows EdgeTPU Tachyon service to call the app.
|
|
|
|
binder_call(edgetpu_tachyon_server, untrusted_app_all);
|