Home
last modified time | relevance | path

Searched refs:executionCallback (Results 1 – 18 of 18) sorted by relevance

/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateRequest.cpp44 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in validate() local
45 Return<ErrorStatus> executeLaunchStatus = preparedModel->execute(request, executionCallback); in validate()
49 executionCallback->wait(); in validate()
50 ErrorStatus executionReturnStatus = executionCallback->getStatus(); in validate()
DGeneratedTestHarness.cpp146 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in Execute() local
147 Return<ErrorStatus> executionLaunchStatus = preparedModel->execute(request, executionCallback); in Execute()
152 executionCallback->wait(); in Execute()
153 ASSERT_EQ(ErrorStatus::NONE, executionCallback->getStatus()); in Execute()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateRequest.cpp63 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in validate() local
65 preparedModel->execute_1_2(request, measure, executionCallback); in validate()
69 executionCallback->wait(); in validate()
70 ErrorStatus executionReturnStatus = executionCallback->getStatus(); in validate()
71 const auto& outputShapes = executionCallback->getOutputShapes(); in validate()
72 Timing timing = executionCallback->getTiming(); in validate()
DGeneratedTestHarness.cpp234 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in EvaluatePreparedModel() local
236 preparedModel, request, testConfig.measureTiming, executionCallback); in EvaluatePreparedModel()
241 executionCallback->wait(); in EvaluatePreparedModel()
242 executionStatus = executionCallback->getStatus(); in EvaluatePreparedModel()
243 outputShapes = executionCallback->getOutputShapes(); in EvaluatePreparedModel()
244 timing = executionCallback->getTiming(); in EvaluatePreparedModel()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateRequest.cpp40 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in validate() local
41 Return<ErrorStatus> executeLaunchStatus = preparedModel->execute(request, executionCallback); in validate()
45 executionCallback->wait(); in validate()
46 ErrorStatus executionReturnStatus = executionCallback->getStatus(); in validate()
DGeneratedTestHarness.cpp138 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in Execute() local
139 Return<ErrorStatus> executionLaunchStatus = preparedModel->execute(request, executionCallback); in Execute()
144 executionCallback->wait(); in Execute()
145 ASSERT_EQ(ErrorStatus::NONE, executionCallback->getStatus()); in Execute()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateRequest.cpp67 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in validate() local
69 preparedModel->execute_1_3(request, measure, {}, {}, executionCallback); in validate()
73 executionCallback->wait(); in validate()
74 ErrorStatus executionReturnStatus = executionCallback->getStatus(); in validate()
75 const auto& outputShapes = executionCallback->getOutputShapes(); in validate()
76 Timing timing = executionCallback->getTiming(); in validate()
DGeneratedTestHarness.cpp596 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in EvaluatePreparedModel() local
599 loopTimeoutDuration, executionCallback); in EvaluatePreparedModel()
604 executionCallback->wait(); in EvaluatePreparedModel()
605 executionStatus = executionCallback->getStatus(); in EvaluatePreparedModel()
606 outputShapes = executionCallback->getOutputShapes(); in EvaluatePreparedModel()
607 timing = executionCallback->getTiming(); in EvaluatePreparedModel()
DMemoryDomainTests.cpp883 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in executeAsync() local
885 preparedModel->execute_1_3(request, MeasureTiming::NO, {}, {}, executionCallback); in executeAsync()
890 executionCallback->wait(); in executeAsync()
892 executionStatus = executionCallback->getStatus(); in executeAsync()
894 EXPECT_EQ(executionStatus, executionCallback->getStatus()); in executeAsync()
896 const auto timing = executionCallback->getTiming(); in executeAsync()
900 EXPECT_EQ(executionCallback->getOutputShapes().size(), 0); in executeAsync()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DCallbacks.cpp84 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback( in executionCallback() function
126 mData.put(V1_0::utils::executionCallback(status)); in notify()
133 mData.put(V1_2::utils::executionCallback(status, outputShapes, timing)); in notify_1_2()
140 mData.put(executionCallback(status, outputShapes, timing)); in notify_1_3()
DPreparedModel.cpp110 auto cb = hal::utils::CallbackValue(executionCallback); in executeSynchronously()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DCallbacks.cpp69 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback( in executionCallback() function
104 mData.put(V1_0::utils::executionCallback(status)); in notify()
111 mData.put(executionCallback(status, outputShapes, timing)); in notify_1_2()
DPreparedModel.cpp69 auto cb = hal::utils::CallbackValue(executionCallback); in executeSynchronously()
DBurst.cpp431 return executionCallback(status, outputShapes, timing); in executeInternal()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DCallbacks.cpp53 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback( in executionCallback() function
76 mData.put(executionCallback(status)); in notify()
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DCallbacks.h52 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback(
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DCallbacks.h49 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback(
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DCallbacks.h58 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback(