New ArmNN AIDL SELinux permissions and settings
Compile ArmNN shim over the support library This change adds the SELinux permissions for the new ArmNN AIDL backend based on a shim over the NNAPI Support Library. Test: Local run of CtsNNAPITestCases Test: Local run of VtsHalNeuralnetworksTargetTest Test: Local run of MLTS Benchmark Bug: 283724775 Change-Id: Ie63c9adebf723c0df22c9533f46ad7475414dd3a
This commit is contained in:
parent
2b603ecd6c
commit
6deca6aed4
7 changed files with 31 additions and 2 deletions
|
@ -7,7 +7,7 @@ init_daemon_domain(hal_neuralnetworks_darwinn)
|
|||
# The TPU HAL looks for TPU instance in /dev/abrolhos
|
||||
allow hal_neuralnetworks_darwinn edgetpu_device:chr_file rw_file_perms;
|
||||
|
||||
# Allow DawriNN service to use a client-provided fd residing in /vendor/etc/.
|
||||
# Allow DarwiNN service to use a client-provided fd residing in /vendor/etc/.
|
||||
allow hal_neuralnetworks_darwinn vendor_configs_file:file r_file_perms;
|
||||
|
||||
# Allow DarwiNN service to access data files.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue