commit | 6b8dc389de80f493cee2d5caabc4b30a84552a41 | [log] [tgz] |
---|---|---|
author | Bruno BELANYI <ambroisie@google.com> | Wed Apr 05 14:47:40 2023 +0000 |
committer | Bruno BELANYI <ambroisie@google.com> | Wed Apr 26 08:11:50 2023 +0000 |
tree | dba571d74b94c4707e54232331b0706e6857132b | |
parent | 68e2c8f619fe2fa24faf3816cdc61caedcb02f9b [diff] |
Prefix sysprops with 'ro.vendor.' We currently face the following issues with regards to the ArmNN system properties: * They are not defined on our devices, so always fall back to their default values. * The property names are not prefixed with either `vendor.` nor `ro.vendor`. This violates the guidelines for defining system properties. * The driver has not been granted the right to read the properties, leading to SELinux violations that have to be ignored. Until a consensus is reached with ARM, we will re-name the properties to `ro.vendor.armnn.*` and add the necessary SELinux rules for them. Bug: 205202540 Bug: 264489188 Test: manual - reboot device and check the absence of AVC denials (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:775917c1c0a9b13ef952ab954547ec39dd1062ef) Merged-In: I88521b868be672fb0b595dcd3f1f057a14886a92 Change-Id: I88521b868be672fb0b595dcd3f1f057a14886a92
This directory contains the ArmNN driver for the Android Neural Networks API, implementing the android.hardware.neuralnetworks@1.0, android.hardware.neuralnetworks@1.1, android.hardware.neuralnetworks@1.2 and android.hardware.neuralnetworks@1.3 HALs.
For more information about supported operations and configurations, see NnapiSupport.txt
For documentation about integrating this driver into an Android tree, see Integrator Guide
For FAQs and troubleshooting advice, see FAQ.md
The android-nn-driver is provided under the MIT license. See LICENSE for more information. Contributions to this project are accepted under the same license.
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX License Identifiers that are available here: http://spdx.org/licenses/