diff options
author | Michael Butler <butlermichael@google.com> | 2019-08-29 22:17:24 -0700 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2019-09-11 11:04:54 -0700 |
commit | 13b0516e56e1f52b322d5bc00c8413f372493a8b (patch) | |
tree | b2d3dd58509261c14dd1c38a145ef238b70fedde /light/utils/main.cpp | |
parent | 98cf3408affb066832e3e08875d7fdd2f447d643 (diff) |
Consolidate NNAPI VTS utility code
This CL does additional NNAPI VTS test cleanup, including consolidating
duplicate functionality. Specifically, this CL:
* consolidates the createPreparedModel function, removing the duplicate
* consolidates the std::out ErrorStatus and DeviceStatus code into Utils
* changes non-null constant pointers to constant references
* removes redudant leading namespace specifiers (V1_0::, ::testing, etc.)
* makes the Valdiation tests free functions
* renames device to kDevice and mTestModel to kTestModel
Bug: N/A
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest (with sample-all)
Change-Id: Ic401bb1f1760cc10384ac0d30c0c93409b63a9c7
Merged-In: Ic401bb1f1760cc10384ac0d30c0c93409b63a9c7
(cherry picked from commit e16af0a44ba9b76667a598b10a085f808efb8c7c)
Diffstat (limited to 'light/utils/main.cpp')
0 files changed, 0 insertions, 0 deletions