diff options
author | Xusong Wang <xusongw@google.com> | 2019-10-23 10:35:07 -0700 |
---|---|---|
committer | Xusong Wang <xusongw@google.com> | 2019-11-19 12:18:33 -0800 |
commit | cc47dffa574850dbab1b071cb8df25aaa019e77a (patch) | |
tree | 047142570dbd54834e53a2c10e3b0012af350eee /neuralnetworks/1.3/vts/functional/ValidateModel.cpp | |
parent | 028bb375468935c891c16c98697b5c185df487a8 (diff) |
NN HAL: Upgrade IPreparedModelCallback::notify to 1.3.
Bug: 143242728
Test: 1.3 VTS with sample driver
Change-Id: I56bc7a2fb179a9576036ad0c2aae0e1f41ec4e2c
Merged-In: I56bc7a2fb179a9576036ad0c2aae0e1f41ec4e2c
(cherry picked from commit 68c3234ad343040d0992ac5b09cadac27a14f263)
Diffstat (limited to 'neuralnetworks/1.3/vts/functional/ValidateModel.cpp')
-rw-r--r-- | neuralnetworks/1.3/vts/functional/ValidateModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/neuralnetworks/1.3/vts/functional/ValidateModel.cpp b/neuralnetworks/1.3/vts/functional/ValidateModel.cpp index 44b32a9fec..bdda7904e9 100644 --- a/neuralnetworks/1.3/vts/functional/ValidateModel.cpp +++ b/neuralnetworks/1.3/vts/functional/ValidateModel.cpp @@ -17,12 +17,13 @@ #define LOG_TAG "neuralnetworks_hidl_hal_test" #include "1.0/Utils.h" -#include "1.2/Callbacks.h" +#include "1.3/Callbacks.h" #include "GeneratedTestHarness.h" #include "VtsHalNeuralnetworks.h" namespace android::hardware::neuralnetworks::V1_3::vts::functional { +using implementation::PreparedModelCallback; using V1_0::ErrorStatus; using V1_0::OperandLifeTime; using V1_1::ExecutionPreference; @@ -30,7 +31,6 @@ using V1_2::IPreparedModel; using V1_2::OperationType; using V1_2::OperationTypeRange; using V1_2::SymmPerChannelQuantParams; -using V1_2::implementation::PreparedModelCallback; using HidlToken = hidl_array<uint8_t, static_cast<uint32_t>(V1_2::Constant::BYTE_SIZE_OF_CACHE_TOKEN)>; |