Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/test/
DTestExecution.cpp84 mErrorStatus(errorStatus) {} in TestPreparedModelLatest()
91 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in execute()
95 callback->notify(convertToV1_0(mErrorStatus)); in execute()
107 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in execute_1_2()
110 } else if (mErrorStatus == V1_3::ErrorStatus::OUTPUT_INSUFFICIENT_SIZE) { in execute_1_2()
112 callback->notify_1_2(convertToV1_0(mErrorStatus), {shape}, kBadTiming); in execute_1_2()
114 callback->notify_1_2(convertToV1_0(mErrorStatus), {}, kBadTiming); in execute_1_2()
128 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in execute_1_3()
132 } else if (mErrorStatus == V1_3::ErrorStatus::OUTPUT_INSUFFICIENT_SIZE) { in execute_1_3()
134 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