Searched refs:ExecutionCallback (Results 1 – 6 of 6) sorted by relevance
124 ExecutionCallback::ExecutionCallback() : mErrorStatus(ErrorStatus::GENERAL_FAILURE) {} in ExecutionCallback() function in android::hardware::neuralnetworks::V1_0::implementation::ExecutionCallback126 ExecutionCallback::~ExecutionCallback() {} in ~ExecutionCallback()128 Return<void> ExecutionCallback::notify(ErrorStatus errorStatus) { in notify()134 ErrorStatus ExecutionCallback::getStatus() { in getStatus()
187 const sp<ExecutionCallback>& executionCallback) { in cpuFallbackFull()193 sp<ExecutionCallback> fallbackCallback; in cpuFallbackFull()211 const sp<ExecutionCallback>& executionCallback) { in cpuFallbackPartial()219 sp<ExecutionCallback> fallbackCallback; in cpuFallbackPartial()236 const sp<ExecutionCallback>& executionCallback) { in asyncStartComputePartitioned()255 sp<ExecutionCallback> stepCallback; in asyncStartComputePartitioned()292 int ExecutionBuilder::startCompute(sp<ExecutionCallback>* synchronizationCallback) { in startCompute()336 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in startCompute()469 int StepExecutor::startCompute(sp<ExecutionCallback>* synchronizationCallback) { in startCompute()477 int StepExecutor::startComputeOnDevice(sp<ExecutionCallback>* synchronizationCallback) { in startComputeOnDevice()[all …]
29 using ::android::hardware::neuralnetworks::V1_0::implementation::ExecutionCallback;78 int startCompute(sp<ExecutionCallback>* synchronizationCallback);151 int startCompute(sp<ExecutionCallback>* synchronizationCallback);155 int startComputeOnCpu(sp<ExecutionCallback>* synchronizationCallback);161 int startComputeOnDevice(sp<ExecutionCallback>* synchronizationCallback);
269 class ExecutionCallback : public CallbackBase, public IExecutionCallback {271 ExecutionCallback();272 ~ExecutionCallback() override;
453 std::unique_ptr<sp<ExecutionCallback>> e = std::make_unique<sp<ExecutionCallback>>(); in ANeuralNetworksExecution_startCompute()470 sp<ExecutionCallback>* e = reinterpret_cast<sp<ExecutionCallback>*>(event); in ANeuralNetworksEvent_wait()478 sp<ExecutionCallback>* e = reinterpret_cast<sp<ExecutionCallback>*>(event); in ANeuralNetworksEvent_free()
35 using ::android::hardware::neuralnetworks::V1_0::implementation::ExecutionCallback;