Bug: 245792277 Test: edgetpu_dba_hal_test Change-Id: I567961327e00b728b1d188e07b6ae3f10f42d847
15 lines
669 B
Text
15 lines
669 B
Text
# Allows privileged applications to discover the EdgeTPU service.
|
|
allow priv_app edgetpu_app_service:service_manager find;
|
|
|
|
# Allows privileged applications to discover the NNAPI TPU service.
|
|
allow priv_app edgetpu_nnapi_service:service_manager find;
|
|
|
|
# Allows privileged applications to access the EdgeTPU device, except open,
|
|
# which is guarded by the EdgeTPU service.
|
|
allow priv_app edgetpu_device:chr_file { getattr read write ioctl map };
|
|
|
|
# Allows privileged applications to access the PowerHAL.
|
|
hal_client_domain(priv_app, hal_power)
|
|
|
|
# Allows privileged applications to discover the EdgeTPU DBA service.
|
|
allow priv_app edgetpu_dba_service:service_manager find;
|