/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriver.cpp | 109 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 …]
|
D | SampleDriverPartial.cpp | 65 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, copiedModel.error().message); in prepareModel()
|
/packages/modules/NeuralNetworks/driver/sample/ |
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() 333 return V1_3::ErrorStatus::GENERAL_FAILURE; in copyTo() 352 return V1_3::ErrorStatus::GENERAL_FAILURE; in copyFromInternal() [all …]
|
D | CanonicalDevice.cpp | 199 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()
|
D | CanonicalPreparedModel.cpp | 50 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()
|
D | CanonicalBuffer.cpp | 44 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in copyFromInternal() 73 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in copyTo()
|
/packages/modules/NeuralNetworks/common/ |
D | SharedMemoryAndroid.cpp | 94 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()
|
D | ExecutionBurstServer.cpp | 83 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()
|
D | HalBufferTracker.cpp | 79 return ErrorStatus::GENERAL_FAILURE; in validateRequest() 169 return ErrorStatus::GENERAL_FAILURE; in validateCopyTo()
|
D | AidlBufferTracker.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 | 278 /*.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()
|
D | LegacyHalUtils.cpp | 471 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/ |
D | Types.t | 95 // * 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/ |
D | ShimDevice.cpp | 279 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()
|
D | ShimUtils.cpp | 65 return ErrorStatus::GENERAL_FAILURE; in convertResultToErrorStatus() 67 return ErrorStatus::GENERAL_FAILURE; in convertResultToErrorStatus()
|
D | ShimPreparedModel.cpp | 305 errorStatus = ErrorStatus::GENERAL_FAILURE; in executeSynchronously() 388 return toAStatus(ErrorStatus::GENERAL_FAILURE, in executeSynchronously()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestIntrospectionControl.cpp | 439 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 …]
|
D | PreparedModelCallback.h | 203 ErrorStatus mErrorStatus = ErrorStatus::GENERAL_FAILURE;
|
D | PreparedModelCallback.cpp | 58 notifyInternal(true, ErrorStatus::GENERAL_FAILURE, nullptr); in notifyAsDeadObject()
|
/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 | 84 mError = ErrorStatus::GENERAL_FAILURE; in wait()
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | Types.h | 169 GENERAL_FAILURE = 2, enumerator 181 ErrorStatus code = ErrorStatus::GENERAL_FAILURE; 223 ErrorStatus code = ErrorStatus::GENERAL_FAILURE;
|