Home
last modified time | relevance | path

Searched refs:validateRequest (Results 1 – 15 of 15) sorted by relevance

/packages/modules/NeuralNetworks/common/
DValidateHal.cpp834 bool validateRequest(const T_Request& request, const T_Model& model, bool allowUnspecifiedOutput) { in validateRequest() function
848 template bool validateRequest<V1_0::Request, V1_0::Model>(const V1_0::Request& request,
851 template bool validateRequest<V1_0::Request, V1_1::Model>(const V1_0::Request& request,
854 template bool validateRequest<V1_0::Request, V1_2::Model>(const V1_0::Request& request,
859 bool validateRequest(const V1_3::Request& request, const V1_3::Model& model, in validateRequest() function
DUtilsTest.cpp173 EXPECT_FALSE(validateRequest(request, model, /*allowUnspecifiedOutput=*/false)); in TEST()
217 EXPECT_TRUE(validateRequest(request, model, /*allowUnspecifiedOutput=*/false)); in TEST()
DHalBufferTracker.cpp60 ErrorStatus HalManagedBuffer::validateRequest(uint32_t poolIndex, const Request& request, in validateRequest() function in android::nn::HalManagedBuffer
DAidlBufferTracker.cpp59 ErrorStatus AidlManagedBuffer::validateRequest( in validateRequest() function in android::nn::AidlManagedBuffer
DBufferTracker.cpp60 ErrorStatus ManagedBuffer::validateRequest(uint32_t poolIndex, const Request& request, in validateRequest() function in android::nn::ManagedBuffer
DValidation.cpp1103 Result<Version> validateRequest(const Request& request) { in validateRequest() function
1254 auto version = NN_TRY(validateRequest(request)); in validateRequestForModelImpl()
2778 return validateRequest(request); in validate()
/packages/modules/NeuralNetworks/driver/sample/
DSampleDriver.cpp406 const auto validationStatus = convertToV1_3(bufferWrapper->validateRequest( in createRunTimePoolInfos()
533 if (!validateRequest(request, model)) { in executeBase()
593 if (!validateRequest(request, model)) { in executeSynchronouslyBase()
677 if (!validateRequest(request, mModel, /*allowUnspecifiedOutput=*/false)) { in executeFenced()
821 if (!validateRequest(fullRequest, mModel)) { in execute()
DCanonicalPreparedModel.cpp61 bufferWrapper->validateRequest(i, request, &preparedModel); in createRunTimePoolInfos()
DSampleDriverFloatXNNPACK.cpp1679 if (!validateRequest(request, model, /*allowUnspecifiedOutput=*/false)) { in executeXNNPACKBase()
1736 if (!validateRequest(request, model, /*allowUnspecifiedOutput=*/false)) { in executeSynchronouslyXNNPACKBase()
1790 if (!validateRequest(request, *model, /*allowUnspecifiedOutput=*/false)) { in executeFenced()
/packages/modules/NeuralNetworks/common/include/
DValidateHal.h56 bool validateRequest(const T_Request& request, const T_Model& model,
DHalBufferTracker.h53 ErrorStatus validateRequest(uint32_t poolIndex, const Request& request,
DBufferTracker.h53 ErrorStatus validateRequest(uint32_t poolIndex, const Request& request,
DAidlBufferTracker.h53 ErrorStatus validateRequest(uint32_t poolIndex, const Request& request,
/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.cpp548 static int validateRequest(const std::vector<ModelArgumentInfo>& inputs, in validateRequest() function
567 mValidationResultCode = validateRequest(mInputs, mOutputs); in getValidationResultCode()
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.cpp331 bufferWrapper->validateRequest(i, request, preparedModel)) in createRunTimePoolInfos()