• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 privileged applications to access the PowerHAL.
12hal_client_domain(priv_app, hal_power)
13