Home
last modified time | relevance | path

Searched refs:mErrorStatus (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DTestExecution.cpp85 mErrorStatus(errorStatus) {} in TestPreparedModelLatest()
92 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in execute()
96 callback->notify(convertToV1_0(mErrorStatus)); in execute()
108 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in execute_1_2()
111 } else if (mErrorStatus == V1_3::ErrorStatus::OUTPUT_INSUFFICIENT_SIZE) { in execute_1_2()
113 callback->notify_1_2(convertToV1_0(mErrorStatus), {shape}, kBadTiming); in execute_1_2()
115 callback->notify_1_2(convertToV1_0(mErrorStatus), {}, kBadTiming); in execute_1_2()
129 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in execute_1_3()
133 } else if (mErrorStatus == V1_3::ErrorStatus::OUTPUT_INSUFFICIENT_SIZE) { in execute_1_3()
135 callback->notify_1_3(mErrorStatus, {shape}, kBadTiming); in execute_1_3()
[all …]
DPreparedModelCallback.cpp33 mErrorStatus = errorStatus; in notifyInternal()
68 return mErrorStatus; in getStatus()
DPreparedModelCallback.h203 ErrorStatus mErrorStatus = ErrorStatus::GENERAL_FAILURE; variable
/packages/modules/NeuralNetworks/runtime/
DExecutionCallback.cpp56 return mErrorStatus; in getStatus()
149 mErrorStatus = errorStatus; in notifyInternal()
155 ErrorStatus status = mOnFinish(mErrorStatus, mOutputShapes); in notifyInternal()
158 mErrorStatus = status; in notifyInternal()
DExecutionCallback.h217 ErrorStatus mErrorStatus = ErrorStatus::GENERAL_FAILURE; variable