Home
last modified time | relevance | path

Searched refs:executionCallback (Results 1 – 9 of 9) 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.cpp879 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in executeAsync() local
881 preparedModel->execute_1_3(request, MeasureTiming::NO, {}, {}, executionCallback); in executeAsync()
886 executionCallback->wait(); in executeAsync()
888 executionStatus = executionCallback->getStatus(); in executeAsync()
890 EXPECT_EQ(executionStatus, executionCallback->getStatus()); in executeAsync()
892 const auto timing = executionCallback->getTiming(); in executeAsync()
896 EXPECT_EQ(executionCallback->getOutputShapes().size(), 0); in executeAsync()