Home
last modified time | relevance | path

Searched refs:executionCallback (Results 1 – 16 of 16) 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.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.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.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()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DCallbacks.cpp84 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback( in executionCallback() function
127 mData.put(V1_0::utils::executionCallback(status)); in notify()
134 mData.put(V1_2::utils::executionCallback(status, outputShapes, timing)); in notify_1_2()
141 mData.put(executionCallback(status, outputShapes, timing)); in notify_1_3()
DPreparedModel.cpp111 auto cb = hal::utils::CallbackValue(executionCallback); in executeSynchronously()
/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.2/utils/src/
DCallbacks.cpp69 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback( in executionCallback() function
105 mData.put(V1_0::utils::executionCallback(status)); in notify()
112 mData.put(executionCallback(status, outputShapes, timing)); in notify_1_2()
DPreparedModel.cpp69 auto cb = hal::utils::CallbackValue(executionCallback); in executeSynchronously()
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DCallbacks.h51 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback(
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DCallbacks.h48 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback(
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DCallbacks.h57 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback(