platform_hardware_interfaces/neuralnetworks
Slava Shklyaev 1d6b465997 Refactor NNAPI VTS to remove unreasonable dependence between versions
To make it easier to create the next version of NNAPI, this change
removes the following nonsensical dependence:
- NNAPI 1.0 VTS depends on NNAPI 1.1 and 1.2
- NNAPI 1.1 VTS depends on NNAPI 1.2

In particular, I made the following changes:
- split GeneratedTestHarness.cpp into three separate implementations,
- created a restricted version of Callbacks.h for 1.0 and 1.1,
- removed the dependency on frameworks/ml/nn/HalInterfaces.h,
- refactored Android.bp files for more autonomy between 1.0, 1.1, and 1.2,
- consolidated some common code into Utils.h,
- created structure for sharing code between VTS versions (VtsHalNeuralNetworksV1_0_utils).

Bug: 74827824
Bug: 124462414
Test: VtsHalNeuralnetworksV1_0TargetTest
Test: VtsHalNeuralnetworksV1_1TargetTest
Test: VtsHalNeuralnetworksV1_1CompatV1_0TargetTest
Test: VtsHalNeuralnetworksV1_2TargetTest
Test: VtsHalNeuralnetworksV1_2CompatV1_0TargetTest
Test: VtsHalNeuralnetworksV1_2CompatV1_1TargetTest
Change-Id: I4243d0b5e574255cef1070850f4d0a284f65f54e
2019-07-03 15:58:08 +01:00
..
1.0 Refactor NNAPI VTS to remove unreasonable dependence between versions 2019-07-03 15:58:08 +01:00
1.1 Refactor NNAPI VTS to remove unreasonable dependence between versions 2019-07-03 15:58:08 +01:00
1.2 Refactor NNAPI VTS to remove unreasonable dependence between versions 2019-07-03 15:58:08 +01:00
README Add README to NeuralNetworks HAL 2018-03-05 12:59:35 -08:00
TEST_MAPPING Add presubmit tests to NNAPI -- hardware/interfaces/neuralnetworks 2019-02-19 12:04:24 -08:00

NeuralNetworks sample driver implementation is located at
frameworks/ml/nn/driver/sample.