3ff7bf86ce
Currently all NN services include this, so making it a default will reduce NN service configuration. Change-Id: I18531e57a7069076a208aefac4a545ba6c4379b0 Fixes: 120283437 Test: mma Test: NeuralNetworksTest_static Test: VtsHalNeuralnetworksV1_*TargetTest
13 lines
696 B
Text
13 lines
696 B
Text
# HwBinder IPC from client to server, and callbacks
|
|
binder_call(hal_neuralnetworks_client, hal_neuralnetworks_server)
|
|
binder_call(hal_neuralnetworks_server, hal_neuralnetworks_client)
|
|
|
|
hal_attribute_hwservice(hal_neuralnetworks, hal_neuralnetworks_hwservice)
|
|
allow hal_neuralnetworks hidl_memory_hwservice:hwservice_manager find;
|
|
allow hal_neuralnetworks hal_allocator:fd use;
|
|
|
|
# Allow NN HAL service to use a client-provided fd residing in /data/data/.
|
|
allow hal_neuralnetworks_server app_data_file:file { read write getattr map };
|
|
|
|
# Allow NN HAL service to use a client-provided fd residing in /data/local/tmp/.
|
|
allow hal_neuralnetworks_server shell_data_file:file { read write getattr map };
|