Home
last modified time | relevance | path

Searched refs:INVALID_ARGUMENT (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverUtils.cpp71 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, in prepareModelBase()
77 notify(callback, aidl_hal::ErrorStatus::INVALID_ARGUMENT, nullptr); in prepareModelBase()
78 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, in prepareModelBase()
89 notify(callback, aidl_hal::ErrorStatus::INVALID_ARGUMENT, nullptr); in prepareModelBase()
90 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, log_message); in prepareModelBase()
96 notify(callback, aidl_hal::ErrorStatus::INVALID_ARGUMENT, nullptr); in prepareModelBase()
97 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, log_message); in prepareModelBase()
102 notify(callback, aidl_hal::ErrorStatus::INVALID_ARGUMENT, nullptr); in prepareModelBase()
107 notify(callback, aidl_hal::ErrorStatus::INVALID_ARGUMENT, nullptr); in prepareModelBase()
108 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, in prepareModelBase()
[all …]
DSampleDriver.cpp167 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, in allocate()
239 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, canonicalMemory.error().message); in copyTo()
263 return aidl_hal::ErrorStatus::INVALID_ARGUMENT; in copyFromInternal()
285 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, in copyFrom()
327 return {aidl_hal::ErrorStatus::INVALID_ARGUMENT, {}, {}}; in createRunTimePoolInfos()
340 return {aidl_hal::ErrorStatus::INVALID_ARGUMENT, {}, {}}; in createRunTimePoolInfos()
401 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, maybeRequest.error().message); in executeSynchronously()
407 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, validationResult.error()); in executeSynchronously()
411 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, in executeSynchronously()
415 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, in executeSynchronously()
[all …]
DSampleDriverPartial.cpp43 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, canonicalModel.error().message); in getSupportedOperations()
57 notify(callback, aidl_hal::ErrorStatus::INVALID_ARGUMENT, nullptr); in prepareModel()
58 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, canonicalModel.error().message); in prepareModel()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp255 return toAStatus(ErrorStatus::INVALID_ARGUMENT); in copyFrom()
259 return toAStatus(aidl_hal::ErrorStatus::INVALID_ARGUMENT, in copyFrom()
265 return toAStatus(ErrorStatus::INVALID_ARGUMENT); in copyFrom()
276 return toAStatus(ErrorStatus::INVALID_ARGUMENT, "Incompatible sizes"); in copyFrom()
290 return toAStatus(ErrorStatus::INVALID_ARGUMENT); in copyTo()
301 return toAStatus(ErrorStatus::INVALID_ARGUMENT, "Incompatible sizes"); in copyTo()
325 return toAStatus(ErrorStatus::INVALID_ARGUMENT, in allocate()
338 return toAStatus(ErrorStatus::INVALID_ARGUMENT, in allocate()
357 return toAStatus(ErrorStatus::INVALID_ARGUMENT, in allocate()
362 return toAStatus(ErrorStatus::INVALID_ARGUMENT, in allocate()
[all …]
DShimConverter.cpp97 *errorStatus = ErrorStatus::INVALID_ARGUMENT; in convertSubgraphFromHAL()
104 *errorStatus = ErrorStatus::INVALID_ARGUMENT; in convertSubgraphFromHAL()
112 *errorStatus = ErrorStatus::INVALID_ARGUMENT; in convertSubgraphFromHAL()
124 *errorStatus = ErrorStatus::INVALID_ARGUMENT; in convertSubgraphFromHAL()
177 *errorStatus = ErrorStatus::INVALID_ARGUMENT; in convertSubgraphFromHAL()
183 *errorStatus = ErrorStatus::INVALID_ARGUMENT; in convertSubgraphFromHAL()
203 *errorStatus = ErrorStatus::INVALID_ARGUMENT; in convertSubgraphFromHAL()
210 *errorStatus = ErrorStatus::INVALID_ARGUMENT; in convertSubgraphFromHAL()
219 *errorStatus = ErrorStatus::INVALID_ARGUMENT; in convertSubgraphFromHAL()
231 *errorStatus = ErrorStatus::INVALID_ARGUMENT; in convertSubgraphFromHAL()
[all …]
DShimPreparedModel.cpp56 return ErrorStatus::INVALID_ARGUMENT; in parseInputs()
67 return ErrorStatus::INVALID_ARGUMENT; in parseInputs()
221 static_cast<int>(ErrorStatus::INVALID_ARGUMENT)); in executeFenced()
273 static_cast<int>(ErrorStatus::INVALID_ARGUMENT)); in executeSynchronously()
377 return toAStatus(ErrorStatus::INVALID_ARGUMENT, in executeSynchronously()
382 return toAStatus(ErrorStatus::INVALID_ARGUMENT, "Invalid memoryIdentifierTokens"); in executeSynchronously()
399 return toAStatus(ErrorStatus::INVALID_ARGUMENT, "Invalid memoryIdentifierToken"); in releaseMemoryResource()
/packages/modules/NeuralNetworks/common/
DHalBufferTracker.cpp73 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
86 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
96 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
101 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
108 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
120 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
128 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
139 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
147 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
155 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
[all …]
DAidlBufferTracker.cpp73 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
86 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
96 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
101 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
108 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
120 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
128 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
139 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
147 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
155 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
[all …]
DBufferTracker.cpp73 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
85 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
95 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
100 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
107 return ErrorStatus::INVALID_ARGUMENT; in validateRequest()
119 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
127 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
137 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
144 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
152 return ErrorStatus::INVALID_ARGUMENT; in validateCopyFrom()
[all …]
/packages/modules/NeuralNetworks/driver/sample/
DSampleDriverFloatXNNPACK.cpp314 return V1_3::ErrorStatus::INVALID_ARGUMENT; in CalculatePadding()
338 return V1_3::ErrorStatus::INVALID_ARGUMENT; in ConvertActivationToOutputRange()
346 return V1_3::ErrorStatus::INVALID_ARGUMENT; in CheckConvolutionParams()
349 return V1_3::ErrorStatus::INVALID_ARGUMENT; in CheckConvolutionParams()
353 return V1_3::ErrorStatus::INVALID_ARGUMENT; in CheckConvolutionParams()
356 return V1_3::ErrorStatus::INVALID_ARGUMENT; in CheckConvolutionParams()
365 return V1_3::ErrorStatus::INVALID_ARGUMENT; in CheckDepthwiseConvolutionParams()
368 return V1_3::ErrorStatus::INVALID_ARGUMENT; in CheckDepthwiseConvolutionParams()
372 return V1_3::ErrorStatus::INVALID_ARGUMENT; in CheckDepthwiseConvolutionParams()
375 return V1_3::ErrorStatus::INVALID_ARGUMENT; in CheckDepthwiseConvolutionParams()
[all …]
DSampleDriverUtils.h58 return V1_3::ErrorStatus::INVALID_ARGUMENT;
66 notify(callback, V1_3::ErrorStatus::INVALID_ARGUMENT, nullptr);
67 return V1_3::ErrorStatus::INVALID_ARGUMENT;
70 notify(callback, V1_3::ErrorStatus::INVALID_ARGUMENT, nullptr);
84 notify(callback, V1_3::ErrorStatus::INVALID_ARGUMENT, nullptr);
DCanonicalDevice.cpp143 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << result.error(); in getSupportedOperations()
169 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << "Invalid Model: " << result.error(); in prepareModel()
172 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) in prepareModel()
176 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << "Invalid Priority: " << result.error(); in prepareModel()
223 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) in allocate()
DSampleDriver.cpp117 cb(V1_0::ErrorStatus::INVALID_ARGUMENT, {}); in getSupportedOperations()
133 cb(V1_0::ErrorStatus::INVALID_ARGUMENT, {}); in getSupportedOperations_1_1()
149 cb(V1_0::ErrorStatus::INVALID_ARGUMENT, {}); in getSupportedOperations_1_2()
268 cb(V1_3::ErrorStatus::INVALID_ARGUMENT, nullptr, kInvalidBufferToken); in allocate()
404 return {V1_3::ErrorStatus::INVALID_ARGUMENT, {}, {}}; in createRunTimePoolInfos()
531 return V1_3::ErrorStatus::INVALID_ARGUMENT; in executeBase()
534 notify(callback, V1_3::ErrorStatus::INVALID_ARGUMENT, {}, kNoTiming); in executeBase()
535 return V1_3::ErrorStatus::INVALID_ARGUMENT; in executeBase()
594 return {V1_3::ErrorStatus::INVALID_ARGUMENT, {}, kNoTiming}; in executeSynchronouslyBase()
678 cb(V1_3::ErrorStatus::INVALID_ARGUMENT, hardware::hidl_handle(nullptr), nullptr); in executeFenced()
[all …]
DCanonicalPreparedModel.cpp58 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT); in createRunTimePoolInfos()
146 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << result.error(); in execute()
206 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << result.error(); in executeFenced()
215 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT); in executeFenced()
/packages/services/Car/cpp/computepipe/runner/client_interface/
DAidlClientImpl.cpp80 return Status::INVALID_ARGUMENT; in ToAidlPacketType()
92 return Status::INVALID_ARGUMENT; in DispatchSemanticData()
104 return Status::INVALID_ARGUMENT; in DispatchSemanticData()
121 return Status::INVALID_ARGUMENT; in DispatchPixelData()
168 return Status::INVALID_ARGUMENT; in dispatchPacketToClient()
178 return Status::INVALID_ARGUMENT; in dispatchPacketToClient()
274 return ToNdkStatus(INVALID_ARGUMENT); in setPipeOutputConfig()
336 return ToNdkStatus(Status::INVALID_ARGUMENT); in doneWithPacket()
/packages/services/Car/cpp/computepipe/runner/input_manager/
DEvsInputManager.cpp81 return Status::INVALID_ARGUMENT; in initializeCameras()
96 return Status::INVALID_ARGUMENT; in initializeCameras()
106 return Status::INVALID_ARGUMENT; in handleExecutionPhase()
185 return Status::INVALID_ARGUMENT; in handleResetPhase()
/packages/services/Car/cpp/computepipe/runner/graph/
DLocalPrebuiltGraph.cpp62 return Status::INVALID_ARGUMENT; in handleConfigPhase()
119 return Status::INVALID_ARGUMENT; in handleExecutionPhase()
139 return Status::INVALID_ARGUMENT; in handleStopWithFlushPhase()
154 return Status::INVALID_ARGUMENT; in handleStopImmediatePhase()
168 return Status::INVALID_ARGUMENT; in handleResetPhase()
DGrpcGraph.cpp133 mStatus = Status::INVALID_ARGUMENT; in handleConfigPhase()
181 mStatus = Status::INVALID_ARGUMENT; in handleExecutionPhase()
229 return Status::INVALID_ARGUMENT; in handleStopWithFlushPhase()
272 return Status::INVALID_ARGUMENT; in handleStopImmediatePhase()
313 return Status::INVALID_ARGUMENT; in handleResetPhase()
/packages/services/Car/cpp/computepipe/tests/runner/graph/
DEnumConversionTest.cpp33 EXPECT_EQ(PrebuiltComputepipeRunner_ErrorCode::INVALID_ARGUMENT, in TEST()
34 static_cast<int>(Status::INVALID_ARGUMENT)); in TEST()
/packages/services/Car/cpp/computepipe/tests/runner/stream_manager/
DSemanticManagerTest.cpp75 EXPECT_EQ(manager->queuePacket(nullptr, size, 0), Status::INVALID_ARGUMENT); in TEST_F()
77 Status::INVALID_ARGUMENT); in TEST_F()
/packages/modules/NeuralNetworks/tools/api/
DTypes.t97 // * UNEXPECTED_NULL ==> INVALID_ARGUMENT
99 // * BAD_STATE ==> INVALID_ARGUMENT
105 INVALID_ARGUMENT = 4,
/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/
DFibonacciDriver.cpp192 cb(V1_3::ErrorStatus::INVALID_ARGUMENT, {}); in getSupportedOperations_1_3()
201 cb(V1_3::ErrorStatus::INVALID_ARGUMENT, {}); in getSupportedOperations_1_3()
/packages/services/Car/cpp/computepipe/runner/engine/
DDefaultEngine.cpp198 return Status::INVALID_ARGUMENT; in freePacket()
525 return Status::INVALID_ARGUMENT; in populateStreamManagers()
586 return Status::INVALID_ARGUMENT; in populateInputManagers()
613 return Status::INVALID_ARGUMENT; in populateInputManagers()
/packages/services/Car/cpp/computepipe/runner/stream_manager/
DPixelStreamManager.cpp96 return Status::INVALID_ARGUMENT; in setFrameData()
165 return Status::INVALID_ARGUMENT; in freePacket()
/packages/services/Car/cpp/computepipe/types/
DStatus.h25 INVALID_ARGUMENT, enumerator

12