diff options
author | Michael Butler <butlermichael@google.com> | 2021-10-15 18:52:52 -0700 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2021-10-26 21:18:33 +0000 |
commit | 49d95e0457f9f3d947a2f07d88e7093399937c88 (patch) | |
tree | 7a8cb5966fb0cb73d03300902e6b225e829b2ab6 /neuralnetworks/aidl/utils/src/Callbacks.cpp | |
parent | e8645c3b8d12ba8a5f7b5b2d672bf2d812d6b196 (diff) |
Move NN HandleError from utils/common to 1.0/utils
This change is part of a larger chain of changes to remove HIDL and AIDL
libraries from neuralnetworks_utils_hal_common.
Bug: N/A
Test: mma
Change-Id: Iae9f692ffc72700294aae694c256e75c7e353fef
Diffstat (limited to 'neuralnetworks/aidl/utils/src/Callbacks.cpp')
-rw-r--r-- | neuralnetworks/aidl/utils/src/Callbacks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/neuralnetworks/aidl/utils/src/Callbacks.cpp b/neuralnetworks/aidl/utils/src/Callbacks.cpp index 8055665228..a32147734c 100644 --- a/neuralnetworks/aidl/utils/src/Callbacks.cpp +++ b/neuralnetworks/aidl/utils/src/Callbacks.cpp @@ -38,7 +38,7 @@ namespace { // nn::Version::ANDROID_S. On failure, this function returns with the appropriate nn::GeneralError. nn::GeneralResult<nn::SharedPreparedModel> prepareModelCallback( ErrorStatus status, const std::shared_ptr<IPreparedModel>& preparedModel) { - HANDLE_HAL_STATUS(status) << "model preparation failed with " << toString(status); + HANDLE_STATUS_AIDL(status) << "model preparation failed with " << toString(status); return NN_TRY(PreparedModel::create(preparedModel)); } |