Lines Matching refs:ErrorStatus
35 Return<void> PreparedModelCallback::notifyInternal(bool deadObject, ErrorStatus errorStatus, in notifyInternal()
56 Return<void> PreparedModelCallback::notify(V1_0::ErrorStatus errorStatus, in notify()
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()
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()
72 notifyInternal(true, ErrorStatus::GENERAL_FAILURE, nullptr); in notifyAsDeadObject()
80 ErrorStatus PreparedModelCallback::getStatus() const { in getStatus()
97 Return<void> ExecutionCallback::notify(V1_0::ErrorStatus errorStatus) { in notify()
98 return notifyInternal(false, static_cast<ErrorStatus>(errorStatus), {}, kNoTiming); in notify()
101 Return<void> ExecutionCallback::notify_1_2(V1_0::ErrorStatus errorStatus, in notify_1_2()
104 return notifyInternal(false, static_cast<ErrorStatus>(errorStatus), outputShapes, timing); in notify_1_2()
107 Return<void> ExecutionCallback::notify_1_3(V1_3::ErrorStatus errorStatus, in notify_1_3()
114 notifyInternal(true, ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in notifyAsDeadObject()
137 ErrorStatus ExecutionCallback::getStatus() const { in getStatus()
202 Return<void> ExecutionCallback::notifyInternal(bool deadObject, ErrorStatus errorStatus, in notifyInternal()
207 if (errorStatus == ErrorStatus::OUTPUT_INSUFFICIENT_SIZE) { in notifyInternal()
212 errorStatus = ErrorStatus::GENERAL_FAILURE; in notifyInternal()
216 } else if (errorStatus != ErrorStatus::NONE) { in notifyInternal()
222 errorStatus = ErrorStatus::GENERAL_FAILURE; in notifyInternal()
245 ErrorStatus status = mOnFinish(mErrorStatus, mOutputShapes); in notifyInternal()
247 if (status != ErrorStatus::NONE) { in notifyInternal()