This allows DarwiNN runtime components to access related system
properties, including the ones that control host DMA-BUF allocation.
Bug: 297432189
Test: verified camera to work on local device
Change-Id: I4b3f566417445a2a0ef6eae64d9b0ed7d20ff26c
58c26f29062fb48925f58c88aa11b25403c370c3
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: I24b69c4f6d65f45ec6935744717b66bed14cb236
This revert was created by Android Culprit Assistant. The culprit was identified in the following culprit search session (http://go/aca-get/123b2665-83ef-4fd0-904d-a0d8c5782db9).
Bug: b/290958543
Change-Id: I6c085728c663845efb1006e62a54482c01d500ff
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
properties.
Those properties include the one for trace level
("vendor.google.silicon.max_trace_level"), which will be used by the
edgetpu vendor service during on device compilation. This change is
required to avoid SELinux errors.
Bug: 282963211
Test: verified no avc error after this change with GCA + perfetto.
Change-Id: I66333571bc9dbbf86e033eefb1054c79b260ff67
isolated_compute_app was not able to use NNAPIv2 in Android U, so this
is a workaround to temporarily unblock the app from using hardware
acceleratetion.
Bug: 281138203
Test: Manual
Change-Id: I3c1f829b690b4ad1fe8bc43ff9435cbf62d048d4
NNAPI will be deprecated soon so we are allowing isolated_compute_app to
access DBA access for migration.
Bug: 274535894
Test: Manual
Change-Id: Ic407a47f584307a0e6e0de36827aaa9b851aee80
Currently, there is a hetero runtime property that darwinn
and other hetero runtime project will use: the trace level
(vendor.google.silicon.max_trace_level).
This change allows edgetpu services and clients to be able to see
that property in order to change the trace level.
Bug: 272292650
Test: verified it to build but not tested on device yet since selinux
has not been enforced yet.
Change-Id: Id6d345b92d2e710b41ca58907ad443fc2667054a
The TPU cache coherency was set to false by default for testing/migration purposes. Now that the applications have been verified to work with TPU cache coherency, this CL changes the default behavior of TPU cache coherency to be enabled.
Bug: 255828212
Test:
All child bugs in b/255828212. Speech, Camera, TPU internal tests.
Change-Id: I276bb227fad352ad0a71ab2f9b771720b90bb729
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
Background:
Darwinn Runtime team wants to use a cloud-based infra (Android Core Experiments) to push flags from server to device. The flags will be stored into android properties under the namespace: `persist.device_config.edgetpu_native`, which has a property context called `device_config_edgetpu_native_prop` as added by the other CL: https://android-review.git.corp.google.com/c/platform/system/sepolicy/+/2434232
Change:
Allow EdgeTpu service to read device_config_edgetpu_native_prop
Test: Verified EdgeTpu has access to read the property
Bug: 243553703
Bug: 246401730
Change-Id: I19dca0e2d3008e36bdbca50f610810148a7e11dd
because we need it for DarwinnDelegate to forcelly disable the cache coherency feature for debugging purpose. This sys prop should be readable by all Darwinn Delegate clients, but only modifiable by `adb root`.
Test: Verified that both camera app and camera HAL can read the flag. See pending CL cl/507001854 and android_flag_permission_test.md
Bug: 262420821
Change-Id: I0ae7e02f1d4805956a05afeb92f892cbac6d5213
Previously supported in some cases. Now extend it to all common cases
Bug: 263394888
Test: Built and ran DBA Hal on Android Device
Change-Id: I9a5c6a6c8d8b6c23a7d86678ecae57a9f0bcdf7a