diff options
author | Michael Butler <butlermichael@google.com> | 2021-04-07 13:29:29 -0700 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2021-04-13 16:14:13 -0700 |
commit | d3a6efc22eaa94f058b1895fa55cef053ef101d9 (patch) | |
tree | 1287ed1bee6df1c0a6ec8399d23fb3c81269a6ee /identity/support/src/cppbor_parse.cpp | |
parent | 6594b5f1b4a65fb22e12c1c42dad235feb6ae69d (diff) |
Enable NN VTS and utility code to use lazy services
This CL enables VtsHalNeuralnetworksTargetTest to use lazy services by
changing from AServiceManager_getService (which will return nullptr for
the service if the service is not able to be loaded within a short
amount of time) to AServiceManager_waitForService (which will wait for a
longer time, allowing lazy services to start up).
Similarly, the utility code is changed from using
AServiceManager_getService to AServiceManager_waitForService where
possible.
This CL also introduces an "InvalidDevice" utility class to the
nnapi/hal/aidl utility code. InvalidDevices are minimal devices that
support no functionality but are still able to pass VTS tests.
Bug: 170696939
Test: mma
Test: VtsHalNeuralnetworksTargetTest
Change-Id: I4f806b104ef6af863ec55c2c3f2a2dd1f72b9633
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions