Lines Matching refs:executionCallback

221                             const sp<ExecutionCallback>& executionCallback) {  in cpuFallbackFull()  argument
230 executionCallback->notify(convertResultCodeToErrorStatus(n)); in cpuFallbackFull()
234 executionCallback->notify(fallbackCallback->getStatus()); in cpuFallbackFull()
246 const sp<ExecutionCallback>& executionCallback) { in cpuFallbackPartial() argument
251 cpuFallbackFull(executionBuilder, executionCallback); in cpuFallbackPartial()
256 cpuFallbackFull(executionBuilder, executionCallback); in cpuFallbackPartial()
261 cpuFallbackFull(executionBuilder, executionCallback); in cpuFallbackPartial()
271 const sp<ExecutionCallback>& executionCallback) { in asyncStartComputePartitioned() argument
279 cpuFallbackFull(executionBuilder, executionCallback); in asyncStartComputePartitioned()
281 executionCallback->notify(convertResultCodeToErrorStatus(n)); in asyncStartComputePartitioned()
286 executionCallback->notify(ErrorStatus::NONE); in asyncStartComputePartitioned()
294 if (cpuFallbackPartial(executionBuilder, plan, controller, executionCallback)) { in asyncStartComputePartitioned()
303 executionCallback->notify(convertResultCodeToErrorStatus(n)); in asyncStartComputePartitioned()
311 if (cpuFallbackPartial(executionBuilder, plan, controller, executionCallback)) { in asyncStartComputePartitioned()
320 executionCallback->notify(status); in asyncStartComputePartitioned()
370 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in startCompute() local
373 executionCallback); in startCompute()
374 executionCallback->bind_thread(std::move(thread)); in startCompute()
375 *synchronizationCallback = executionCallback; in startCompute()
631 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in startComputeOnDevice() local
641 Return<ErrorStatus> executeStatus = mPreparedModel->execute(request, executionCallback); in startComputeOnDevice()
651 executionCallback->wait(); in startComputeOnDevice()
652 Return<ErrorStatus> callbackStatus = executionCallback->getStatus(); in startComputeOnDevice()
677 *synchronizationCallback = executionCallback; in startComputeOnDevice()
684 const sp<IExecutionCallback>& executionCallback) { in asyncStartComputeOnCpu() argument
687 executionCallback->notify(convertResultCodeToErrorStatus(err)); in asyncStartComputeOnCpu()
700 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in startComputeOnCpu() local
738 executionCallback); in startComputeOnCpu()
739 executionCallback->bind_thread(std::move(thread)); in startComputeOnCpu()
741 *synchronizationCallback = executionCallback; in startComputeOnCpu()