android-nn-driver: disable unused warnings

service.cpp triggers a variety of warnings about unused code.  This
source file is used for different versions of the HAL so this is
expected, so this patch disables the warnings.

Test: local build
Change-Id: Ib11ddfe67b7e79ca1a82c2810a4f5f02c71186ef
1 file changed
tree: 8639928f94c62e5d340417c0e363d792db4b521b
  1. 1.0/
  2. 1.1/
  3. 1.2/
  4. docs/
  5. test/
  6. .gitignore
  7. Android.bp
  8. android.hardware.neuralnetworks@1.0-service-armnn.rc
  9. android.hardware.neuralnetworks@1.1-service-armnn.rc
  10. android.hardware.neuralnetworks@1.2-service-armnn.rc
  11. Android.mk
  12. androidnn.go
  13. ArmnnDevice.cpp
  14. ArmnnDevice.hpp
  15. ArmnnDriver.hpp
  16. ArmnnDriverImpl.cpp
  17. ArmnnDriverImpl.hpp
  18. ArmnnPreparedModel.cpp
  19. ArmnnPreparedModel.hpp
  20. ArmnnPreparedModel_1_2.cpp
  21. ArmnnPreparedModel_1_2.hpp
  22. ConversionUtils.cpp
  23. ConversionUtils.hpp
  24. DriverOptions.cpp
  25. DriverOptions.hpp
  26. LICENSE
  27. ModelToINetworkConverter.cpp
  28. ModelToINetworkConverter.hpp
  29. NnapiSupport.txt
  30. README.md
  31. RequestThread.cpp
  32. RequestThread.hpp
  33. service.cpp
  34. setup.sh
  35. SystemPropertiesUtils.hpp
  36. Utils.cpp
  37. Utils.hpp
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/