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