1# Allows privileged applications to discover the EdgeTPU service. 2allow priv_app edgetpu_app_service:service_manager find; 3 4# Allows privileged applications to discover the NNAPI TPU service. 5allow priv_app edgetpu_nnapi_service:service_manager find; 6 7# Allows privileged applications to access the EdgeTPU device, except open, 8# which is guarded by the EdgeTPU service. 9allow priv_app edgetpu_device:chr_file { getattr read write ioctl map }; 10 11# Allows EdgeTPU Tachyon service to call the app. 12binder_call(edgetpu_tachyon_server, priv_app); 13