Home
last modified time | relevance | path

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

12

/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.cpp109 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, copiedModel.error().message); in prepareModel()
122 notify(callback, aidl_hal::ErrorStatus::GENERAL_FAILURE, nullptr); in prepareModelFromCache()
123 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in prepareModelFromCache()
173 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in allocate()
187 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in allocate()
197 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in allocate()
204 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in allocate()
244 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, in copyTo()
268 return aidl_hal::ErrorStatus::GENERAL_FAILURE; in copyFromInternal()
320 return {aidl_hal::ErrorStatus::GENERAL_FAILURE, {}, {}}; in createRunTimePoolInfos()
[all …]
DSampleDriverPartial.cpp65 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, copiedModel.error().message); in prepareModel()
/packages/modules/NeuralNetworks/driver/sample/
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()
333 return V1_3::ErrorStatus::GENERAL_FAILURE; in copyTo()
352 return V1_3::ErrorStatus::GENERAL_FAILURE; in copyFromInternal()
[all …]
DCanonicalDevice.cpp199 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in prepareModelFromCache()
228 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocate()
237 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocate()
243 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocate()
249 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocate()
DCanonicalPreparedModel.cpp50 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in createRunTimePoolInfos()
90 return ErrorStatus::GENERAL_FAILURE; in updateDeviceMemories()
112 return ErrorStatus::GENERAL_FAILURE; in updateDeviceMemories()
218 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "syncWait failed"; in executeFenced()
DCanonicalBuffer.cpp44 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in copyFromInternal()
73 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in copyTo()
/packages/modules/NeuralNetworks/common/
DSharedMemoryAndroid.cpp94 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocateSharedMemory()
122 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to map memory"; in map()
127 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to get the mapped pointer"; in map()
132 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to get the mapped size"; in map()
254 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "dupFd was passed an invalid fd"; in dupFd()
259 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to dup the fd"; in dupFd()
DExecutionBurstServer.cpp83 V1_0::ErrorStatus returnedStatus = V1_0::ErrorStatus::GENERAL_FAILURE; in execute()
482 serialize(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in sendPacket()
588 V1_0::ErrorStatus errorStatus = V1_0::ErrorStatus::GENERAL_FAILURE; in ensureCacheEntriesArePresentLocked()
624 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()
DAidlBufferTracker.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.cpp278 /*.errorStatus=*/V1_0::ErrorStatus::GENERAL_FAILURE, in invalidate()
604 return getExecutionResult(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming12, in compute()
613 return getExecutionResult(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming12, in compute()
DLegacyHalUtils.cpp471 case V1_3::ErrorStatus::GENERAL_FAILURE: in convertToV1_0()
472 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
478 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
480 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
482 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
484 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
487 return V1_0::ErrorStatus::GENERAL_FAILURE; in convertToV1_0()
/packages/modules/NeuralNetworks/tools/api/
DTypes.t95 // * OUT_OF_MEMORY ==> GENERAL_FAILURE / RESOURCE_EXHAUSTED_*
96 // * INCOMPLETE ==> GENERAL_FAILURE
98 // * UNMAPPABLE ==> GENERAL_FAILURE
103 GENERAL_FAILURE = 2,
115 ErrorStatus code = ErrorStatus::GENERAL_FAILURE;
132 ErrorStatus code = ErrorStatus::GENERAL_FAILURE;
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp279 return toAStatus(ErrorStatus::GENERAL_FAILURE); in copyFrom()
303 return toAStatus(ErrorStatus::GENERAL_FAILURE); in copyTo()
442 return toAStatus(ErrorStatus::GENERAL_FAILURE, in allocate()
449 return toAStatus(ErrorStatus::GENERAL_FAILURE, in allocate()
611 const auto ret = callback->notify(ErrorStatus::GENERAL_FAILURE, nullptr); in prepareModelFromCache()
612 return toAStatus(ErrorStatus::GENERAL_FAILURE); in prepareModelFromCache()
DShimUtils.cpp65 return ErrorStatus::GENERAL_FAILURE; in convertResultToErrorStatus()
67 return ErrorStatus::GENERAL_FAILURE; in convertResultToErrorStatus()
DShimPreparedModel.cpp305 errorStatus = ErrorStatus::GENERAL_FAILURE; in executeSynchronously()
388 return toAStatus(ErrorStatus::GENERAL_FAILURE, in executeSynchronously()
/packages/modules/NeuralNetworks/runtime/test/
DTestIntrospectionControl.cpp439 callback->notify(V1_0::ErrorStatus::GENERAL_FAILURE); in execute()
440 return V1_0::ErrorStatus::GENERAL_FAILURE; in execute()
444 callback->notify(V1_0::ErrorStatus::GENERAL_FAILURE); in execute()
449 return V1_0::ErrorStatus::GENERAL_FAILURE; in execute()
470 callback->notify(V1_0::ErrorStatus::GENERAL_FAILURE); in execute_1_2()
471 return V1_0::ErrorStatus::GENERAL_FAILURE; in execute_1_2()
475 callback->notify(V1_0::ErrorStatus::GENERAL_FAILURE); in execute_1_2()
480 return V1_0::ErrorStatus::GENERAL_FAILURE; in execute_1_2()
512 cb(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kBadTiming); in executeSynchronously()
516 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()
/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.h84 mError = ErrorStatus::GENERAL_FAILURE; in wait()
/packages/modules/NeuralNetworks/common/include/nnapi/
DTypes.h169 GENERAL_FAILURE = 2, enumerator
181 ErrorStatus code = ErrorStatus::GENERAL_FAILURE;
223 ErrorStatus code = ErrorStatus::GENERAL_FAILURE;

12