From bd8d9ca7372d687ed80453eecd5ae7ddbdb02d7d Mon Sep 17 00:00:00 2001 From: feiyuchen Date: Tue, 7 Mar 2023 20:51:56 +0000 Subject: [PATCH] Allow NNAPI HAL to read tflite_delegate.force_disable_io_coherency flag The flag was added in ag/21062178. After this CL, the flag is readable by all apps and all DarwiNN HALs. Bug: 268548819 Change-Id: I28a185d66002f1656aeb10723c34d5eb517742c4 --- edgetpu/sepolicy/hal_neuralnetworks_darwinn.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/edgetpu/sepolicy/hal_neuralnetworks_darwinn.te b/edgetpu/sepolicy/hal_neuralnetworks_darwinn.te index f301a72..02e485c 100644 --- a/edgetpu/sepolicy/hal_neuralnetworks_darwinn.te +++ b/edgetpu/sepolicy/hal_neuralnetworks_darwinn.te @@ -51,3 +51,6 @@ binder_call(hal_neuralnetworks_darwinn, edgetpu_app_server); # Allow NNAPI HAL to send trace packets to Perfetto with SELinux enabled # under userdebug builds. userdebug_or_eng(`perfetto_producer(hal_neuralnetworks_darwinn)') + +# Allow NNAPI HAL to read tflite DarwiNN delegate properties +get_prop(hal_neuralnetworks_darwinn, vendor_tflite_delegate_prop)