/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverAidl.cpp | 114 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 …]
|
D | SampleDriverAidlPartial.cpp | 65 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, copiedModel.error().message); in prepareModel()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalDevice.cpp | 201 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()
|
D | CanonicalBuffer.cpp | 44 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in copyFromInternal() 73 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in copyTo()
|
D | CanonicalPreparedModel.cpp | 50 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/ |
D | SampleDriverFloatXNNPACK.cpp | 290 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 …]
|
D | SampleDriver.cpp | 212 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/ |
D | ShimUtils.cpp | 65 return ErrorStatus::GENERAL_FAILURE; in convertResultToErrorStatus() 67 return ErrorStatus::GENERAL_FAILURE; in convertResultToErrorStatus()
|
D | ShimDevice.cpp | 280 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()
|
D | ShimPreparedModel.cpp | 362 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/ |
D | Types.t | 96 // * 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/ |
D | ExecutionCallback.cpp | 123 errorStatus = ErrorStatus::GENERAL_FAILURE; in notifyInternal() 133 errorStatus = ErrorStatus::GENERAL_FAILURE; in notifyInternal()
|
D | ExecutionCallback.h | 217 ErrorStatus mErrorStatus = ErrorStatus::GENERAL_FAILURE;
|
D | Event.h | 85 mError = ErrorStatus::GENERAL_FAILURE; in wait()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestIntrospectionControl.cpp | 440 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 …]
|
D | PreparedModelCallback.h | 203 ErrorStatus mErrorStatus = ErrorStatus::GENERAL_FAILURE;
|
D | PreparedModelCallback.cpp | 58 notifyInternal(true, ErrorStatus::GENERAL_FAILURE, nullptr); in notifyAsDeadObject()
|
D | TestMemoryDomain.cpp | 136 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/ |
D | Types.h | 170 GENERAL_FAILURE = 2, enumerator 183 ErrorStatus code = ErrorStatus::GENERAL_FAILURE); 229 ErrorStatus code = ErrorStatus::GENERAL_FAILURE,
|
/packages/modules/NeuralNetworks/common/ |
D | ExecutionBurstServer.cpp | 83 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()
|
D | HalBufferTracker.cpp | 79 return ErrorStatus::GENERAL_FAILURE; in validateRequest() 169 return ErrorStatus::GENERAL_FAILURE; in validateCopyTo()
|
D | BufferTracker.cpp | 78 return ErrorStatus::GENERAL_FAILURE; in validateRequest() 166 return ErrorStatus::GENERAL_FAILURE; in validateCopyTo()
|
D | ExecutionBurstController.cpp | 283 /*.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()
|
D | LegacyHalUtils.cpp | 472 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/ |
D | SharedMemoryAndroid.cpp | 225 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()
|