Home
last modified time | relevance | path

Searched refs:GENERAL_FAILURE (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidl.cpp114 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, copiedModel.error().message); in prepareModel()
126 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, copiedModel.error().message); in prepareModelWithConfig()
139 notify(callback, aidl_hal::ErrorStatus::GENERAL_FAILURE, nullptr); in prepareModelFromCache()
140 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in prepareModelFromCache()
190 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in allocate()
204 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in allocate()
214 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in allocate()
221 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in allocate()
250 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in copyTo()
275 return aidl_hal::ErrorStatus::GENERAL_FAILURE; in copyFromInternal()
[all …]
DSampleDriverAidlPartial.cpp65 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, copiedModel.error().message); in prepareModel()
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalDevice.cpp201 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in prepareModelFromCache()
230 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocate()
239 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocate()
245 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocate()
251 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocate()
DCanonicalBuffer.cpp44 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in copyFromInternal()
73 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in copyTo()
DCanonicalPreparedModel.cpp50 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in createRunTimePoolInfos()
82 return ErrorStatus::GENERAL_FAILURE; in updateDeviceMemories()
106 return ErrorStatus::GENERAL_FAILURE; in updateDeviceMemories()
219 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "syncWait failed"; in executeFenced()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriverFloatXNNPACK.cpp290 return V1_3::ErrorStatus::GENERAL_FAILURE; in Invoke()
298 return V1_3::ErrorStatus::GENERAL_FAILURE; in Invoke()
574 return V1_3::ErrorStatus::GENERAL_FAILURE; in VisitAbsNode()
604 return V1_3::ErrorStatus::GENERAL_FAILURE; in VisitAddNode()
687 return V1_3::ErrorStatus::GENERAL_FAILURE; in VisitAveragePool2DNode()
785 return V1_3::ErrorStatus::GENERAL_FAILURE; in VisitConv2DNode()
887 return V1_3::ErrorStatus::GENERAL_FAILURE; in VisitDepthwiseConv2DNode()
917 return V1_3::ErrorStatus::GENERAL_FAILURE; in VisitDivNode()
953 return V1_3::ErrorStatus::GENERAL_FAILURE; in VisitFullyConnectedNode()
975 return V1_3::ErrorStatus::GENERAL_FAILURE; in VisitFloorNode()
[all …]
DSampleDriver.cpp212 notify(callback, V1_3::ErrorStatus::GENERAL_FAILURE, nullptr); in prepareModelFromCache()
213 return V1_0::ErrorStatus::GENERAL_FAILURE; in prepareModelFromCache()
223 notify(callback, V1_3::ErrorStatus::GENERAL_FAILURE, nullptr); in prepareModelFromCache_1_3()
224 return V1_3::ErrorStatus::GENERAL_FAILURE; in prepareModelFromCache_1_3()
274 cb(V1_3::ErrorStatus::GENERAL_FAILURE, nullptr, kInvalidBufferToken); in allocate()
284 cb(V1_3::ErrorStatus::GENERAL_FAILURE, nullptr, kInvalidBufferToken); in allocate()
292 cb(V1_3::ErrorStatus::GENERAL_FAILURE, nullptr, kInvalidBufferToken); in allocate()
299 cb(V1_3::ErrorStatus::GENERAL_FAILURE, nullptr, kInvalidBufferToken); in allocate()
322 return V1_3::ErrorStatus::GENERAL_FAILURE; in copyTo()
341 return V1_3::ErrorStatus::GENERAL_FAILURE; in copyFromInternal()
[all …]
/packages/modules/NeuralNetworks/shim_and_sl/
DShimUtils.cpp65 return ErrorStatus::GENERAL_FAILURE; in convertResultToErrorStatus()
67 return ErrorStatus::GENERAL_FAILURE; in convertResultToErrorStatus()
DShimDevice.cpp280 return toAStatus(ErrorStatus::GENERAL_FAILURE); in copyFrom()
304 return toAStatus(ErrorStatus::GENERAL_FAILURE); in copyTo()
443 return toAStatus(ErrorStatus::GENERAL_FAILURE, in allocate()
450 return toAStatus(ErrorStatus::GENERAL_FAILURE, in allocate()
659 const auto ret = callback->notify(ErrorStatus::GENERAL_FAILURE, nullptr); in prepareModelFromCache()
660 return toAStatus(ErrorStatus::GENERAL_FAILURE); in prepareModelFromCache()
DShimPreparedModel.cpp362 errorStatus = ErrorStatus::GENERAL_FAILURE; in executeSynchronouslyInternal()
499 return toAStatus(ErrorStatus::GENERAL_FAILURE, in executeSynchronously()
523 return toAStatus(ErrorStatus::GENERAL_FAILURE, in executeSynchronouslyWithConfig()
606 return toAStatus(ErrorStatus::GENERAL_FAILURE, in executeSynchronously()
627 return toAStatus(ErrorStatus::GENERAL_FAILURE, in executeFenced()
/packages/modules/NeuralNetworks/tools/api/
DTypes.t96 // * OUT_OF_MEMORY ==> GENERAL_FAILURE / RESOURCE_EXHAUSTED_*
97 // * INCOMPLETE ==> GENERAL_FAILURE
99 // * UNMAPPABLE ==> GENERAL_FAILURE
104 GENERAL_FAILURE = 2,
117 ErrorStatus code = ErrorStatus::GENERAL_FAILURE);
138 ErrorStatus code = ErrorStatus::GENERAL_FAILURE,
/packages/modules/NeuralNetworks/runtime/
DExecutionCallback.cpp123 errorStatus = ErrorStatus::GENERAL_FAILURE; in notifyInternal()
133 errorStatus = ErrorStatus::GENERAL_FAILURE; in notifyInternal()
DExecutionCallback.h217 ErrorStatus mErrorStatus = ErrorStatus::GENERAL_FAILURE;
DEvent.h85 mError = ErrorStatus::GENERAL_FAILURE; in wait()
/packages/modules/NeuralNetworks/runtime/test/
DTestIntrospectionControl.cpp440 callback->notify(V1_0::ErrorStatus::GENERAL_FAILURE); in execute()
441 return V1_0::ErrorStatus::GENERAL_FAILURE; in execute()
445 callback->notify(V1_0::ErrorStatus::GENERAL_FAILURE); in execute()
450 return V1_0::ErrorStatus::GENERAL_FAILURE; in execute()
471 callback->notify(V1_0::ErrorStatus::GENERAL_FAILURE); in execute_1_2()
472 return V1_0::ErrorStatus::GENERAL_FAILURE; in execute_1_2()
476 callback->notify(V1_0::ErrorStatus::GENERAL_FAILURE); in execute_1_2()
481 return V1_0::ErrorStatus::GENERAL_FAILURE; in execute_1_2()
513 cb(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kBadTiming); in executeSynchronously()
517 cb(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kBadTiming); in executeSynchronously()
[all …]
DPreparedModelCallback.h203 ErrorStatus mErrorStatus = ErrorStatus::GENERAL_FAILURE;
DPreparedModelCallback.cpp58 notifyInternal(true, ErrorStatus::GENERAL_FAILURE, nullptr); in notifyAsDeadObject()
DTestMemoryDomain.cpp136 cb(V1_3::ErrorStatus::GENERAL_FAILURE, new TestBuffer(), mValidBufferToken++); in allocate()
139 cb(V1_3::ErrorStatus::GENERAL_FAILURE, nullptr, 0); in allocate()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h170 GENERAL_FAILURE = 2, enumerator
183 ErrorStatus code = ErrorStatus::GENERAL_FAILURE);
229 ErrorStatus code = ErrorStatus::GENERAL_FAILURE,
/packages/modules/NeuralNetworks/common/
DExecutionBurstServer.cpp83 V1_0::ErrorStatus returnedStatus = V1_0::ErrorStatus::GENERAL_FAILURE; in execute()
488 serialize(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in sendPacket()
594 V1_0::ErrorStatus errorStatus = V1_0::ErrorStatus::GENERAL_FAILURE; in ensureCacheEntriesArePresentLocked()
630 mResultChannelSender->send(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in task()
DHalBufferTracker.cpp79 return ErrorStatus::GENERAL_FAILURE; in validateRequest()
169 return ErrorStatus::GENERAL_FAILURE; in validateCopyTo()
DBufferTracker.cpp78 return ErrorStatus::GENERAL_FAILURE; in validateRequest()
166 return ErrorStatus::GENERAL_FAILURE; in validateCopyTo()
DExecutionBurstController.cpp283 /*.errorStatus=*/V1_0::ErrorStatus::GENERAL_FAILURE, in invalidate()
612 return getExecutionResult(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming12, in compute()
621 return getExecutionResult(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming12, in compute()
DLegacyHalUtils.cpp472 case V1_3::ErrorStatus::GENERAL_FAILURE: in convertToV1_0()
473 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
479 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
481 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
483 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
485 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
488 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
/packages/modules/NeuralNetworks/common/types/src/
DSharedMemoryAndroid.cpp225 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "dupFd was passed an invalid fd"; in dupFd()
230 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to dup the fd"; in dupFd()

12