IVGCVSW-4473 Android R pre Hal 1_3 build changes

* Update ErrorStatus to V1_0::ErrorStatus
* Update Request to V1_0::Request
* Update OperandType to V1_2::OperandType
* Add namespace android::nn::hal in ArmnnDriverImpl for R only
* Add missing g_RelaxedFloat32toFloat16PerformancePowerUsageName
* Add namespace V1_0 or V1_1 where necessary
* Update Android.mk with R macro and android.hardware.neuralnetworks@1.3
* Remove androidnn.go
* include IAllocator in DriverTestHelpers
* Remove unused LOCAL_CFLAGS

Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I1787f1ed6784b3bbec017536d87d49197405e853
Signed-off-by: Kevin May <kevin.may@arm.com>
37 files changed
tree: ac4e2d3194012e08241afa9c6691d52608c1a869
  1. .gitignore
  2. 1.0/
  3. 1.1/
  4. 1.2/
  5. Android.bp
  6. Android.mk
  7. ArmnnDevice.cpp
  8. ArmnnDevice.hpp
  9. ArmnnDriver.hpp
  10. ArmnnDriverImpl.cpp
  11. ArmnnDriverImpl.hpp
  12. ArmnnPreparedModel.cpp
  13. ArmnnPreparedModel.hpp
  14. ArmnnPreparedModel_1_2.cpp
  15. ArmnnPreparedModel_1_2.hpp
  16. ConversionUtils.cpp
  17. ConversionUtils.hpp
  18. DriverOptions.cpp
  19. DriverOptions.hpp
  20. LICENSE
  21. ModelToINetworkConverter.cpp
  22. ModelToINetworkConverter.hpp
  23. NnapiSupport.txt
  24. README.md
  25. RequestThread.cpp
  26. RequestThread.hpp
  27. SystemPropertiesUtils.hpp
  28. Utils.cpp
  29. Utils.hpp
  30. android.hardware.neuralnetworks@1.0-service-armnn.rc
  31. android.hardware.neuralnetworks@1.1-service-armnn.rc
  32. android.hardware.neuralnetworks@1.2-service-armnn.rc
  33. docs/
  34. service.cpp
  35. setup.sh
  36. test/
README.md

ArmNN Android Neural Networks driver

This directory contains the ArmNN driver for the Android Neural Networks API, implementing the android.hardware.neuralnetworks@1.0, android.hardware.neuralnetworks@1.1 and android.hardware.neuralnetworks@1.2 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

License

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/