/frameworks/ml/nn/runtime/ |
D | Callbacks.cpp | 35 Return<void> PreparedModelCallback::notifyInternal(bool deadObject, ErrorStatus errorStatus, in notifyInternal() argument 47 mErrorStatus = errorStatus; in notifyInternal() 56 Return<void> PreparedModelCallback::notify(V1_0::ErrorStatus errorStatus, in notify() argument 58 return notifyInternal(false, static_cast<ErrorStatus>(errorStatus), preparedModel); in notify() 61 Return<void> PreparedModelCallback::notify_1_2(V1_0::ErrorStatus errorStatus, in notify_1_2() argument 63 return notifyInternal(false, static_cast<ErrorStatus>(errorStatus), preparedModel); in notify_1_2() 66 Return<void> PreparedModelCallback::notify_1_3(ErrorStatus errorStatus, in notify_1_3() argument 68 return notifyInternal(false, errorStatus, preparedModel); in notify_1_3() 97 Return<void> ExecutionCallback::notify(V1_0::ErrorStatus errorStatus) { in notify() argument 98 return notifyInternal(false, static_cast<ErrorStatus>(errorStatus), {}, kNoTiming); in notify() [all …]
|
D | Callbacks.h | 194 hal::Return<void> notifyInternal(bool deadObject, hal::ErrorStatus errorStatus, 464 hal::Return<void> notifyInternal(bool deadObject, hal::ErrorStatus errorStatus,
|
D | VersionedInterfaces.cpp | 427 ErrorStatus errorStatus; in executeFenced() local 431 [&syncFence, &errorStatus, &dispatchCallback]( in executeFenced() 435 errorStatus = error; in executeFenced() 443 if (errorStatus != ErrorStatus::NONE) { in executeFenced() 445 << toString(static_cast<ErrorStatus>(errorStatus)); in executeFenced() 446 return std::make_tuple(convertErrorStatusToResultCode(errorStatus), in executeFenced()
|
/frameworks/ml/nn/common/ |
D | ExecutionBurstServer.cpp | 112 std::vector<FmqResultDatum> serialize(V1_0::ErrorStatus errorStatus, in serialize() argument 128 /*.errorStatus=*/errorStatus, in serialize() 465 bool ResultChannelSender::send(V1_0::ErrorStatus errorStatus, in send() argument 467 const std::vector<FmqResultDatum> serialized = serialize(errorStatus, outputShapes, timing); in send() 582 V1_0::ErrorStatus errorStatus = V1_0::ErrorStatus::GENERAL_FAILURE; in ensureCacheEntriesArePresentLocked() local 584 auto cb = [&errorStatus, &returnedMemories](V1_0::ErrorStatus status, in ensureCacheEntriesArePresentLocked() 586 errorStatus = status; in ensureCacheEntriesArePresentLocked() 592 if (!ret.isOk() || errorStatus != V1_0::ErrorStatus::NONE || in ensureCacheEntriesArePresentLocked() 636 const auto [errorStatus, outputShapes, returnedTiming] = in task() 640 mResultChannelSender->send(errorStatus, outputShapes, returnedTiming); in task()
|
D | ExecutionBurstController.cpp | 169 const V1_0::ErrorStatus errorStatus = packetInfo.errorStatus; in deserialize() local 231 return std::make_tuple(errorStatus, std::move(outputShapes), timing); in deserialize() 504 V1_0::ErrorStatus errorStatus; in create() local 508 [&errorStatus, &burstContext](V1_0::ErrorStatus status, in create() 510 errorStatus = status; in create() 520 if (errorStatus != V1_0::ErrorStatus::NONE) { in create() 522 << toString(errorStatus); in create()
|
/frameworks/ml/nn/runtime/test/ |
D | TestExecution.cpp | 74 TestPreparedModelLatest(sp<V1_0::IPreparedModel> preparedModel, ErrorStatus errorStatus) in TestPreparedModelLatest() argument 78 mErrorStatus(errorStatus) {} in TestPreparedModelLatest() 250 TestPreparedModel12(sp<V1_0::IPreparedModel> preparedModel, ErrorStatus errorStatus) in TestPreparedModel12() argument 251 : mLatestPreparedModel(new TestPreparedModelLatest(preparedModel, errorStatus)) {} in TestPreparedModel12() 284 TestPreparedModel10(sp<V1_0::IPreparedModel> preparedModel, ErrorStatus errorStatus) in TestPreparedModel10() argument 285 : mLatestPreparedModel(new TestPreparedModelLatest(preparedModel, errorStatus)) {} in TestPreparedModel10() 305 TestDriver13(const std::string& name, ErrorStatus errorStatus) in TestDriver13() argument 306 : SampleDriver(name.c_str()), mErrorStatus(errorStatus) {} in TestDriver13() 433 TestDriver12(const std::string& name, ErrorStatus errorStatus) in TestDriver12() argument 434 : mLatestDriver(new TestDriver13(name, errorStatus)) {} in TestDriver12() [all …]
|
D | TestCompilationCaching.cpp | 43 ::std::ostream& operator<<(::std::ostream& os, ErrorStatus errorStatus) { in operator <<() argument 44 return os << toString(errorStatus); in operator <<()
|
/frameworks/ml/nn/common/include/ |
D | ExecutionBurstServer.h | 55 hardware::neuralnetworks::V1_0::ErrorStatus errorStatus, 163 bool send(hardware::neuralnetworks::V1_0::ErrorStatus errorStatus,
|