Searched refs:ExecutionCallback (Results 1 - 6 of 6) sorted by relevance

/frameworks/ml/nn/runtime/
H A DCallbacks.cpp124 ExecutionCallback::ExecutionCallback() : mErrorStatus(ErrorStatus::GENERAL_FAILURE) {} function in class:android::hardware::neuralnetworks::V1_0::implementation::ExecutionCallback
126 ExecutionCallback::~ExecutionCallback() {}
128 Return<void> ExecutionCallback::notify(ErrorStatus errorStatus) {
134 ErrorStatus ExecutionCallback::getStatus() {
H A DExecutionBuilder.h29 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);
H A DCallbacks.h62 * both PrepareModelCallback and ExecutionCallback. For consistency, any HIDL
256 * The ExecutionCallback class is used to receive the error status of the
269 class ExecutionCallback : public CallbackBase, public IExecutionCallback { class in namespace:android::hardware::neuralnetworks::V1_0::implementation
271 ExecutionCallback();
272 ~ExecutionCallback() override;
277 * all prior and future wait* calls on the ExecutionCallback object to
282 * ExecutionCallback object.
H A DExecutionBuilder.cpp187 const sp<ExecutionCallback>& executionCallback) {
193 sp<ExecutionCallback> fallbackCallback;
211 const sp<ExecutionCallback>& executionCallback) {
219 sp<ExecutionCallback> fallbackCallback;
236 const sp<ExecutionCallback>& executionCallback) {
255 sp<ExecutionCallback> stepCallback;
292 int ExecutionBuilder::startCompute(sp<ExecutionCallback>* synchronizationCallback) {
332 // sp<ExecutionCallback> object is returned when the
336 sp<ExecutionCallback> executionCallback = new ExecutionCallback();
[all...]
H A DNeuralNetworks.cpp447 // Dynamically allocate an sp to wrap an ExecutionCallback, seen in the NN
448 // API as an abstract event object. The sp<ExecutionCallback> object is
453 std::unique_ptr<sp<ExecutionCallback>> e = std::make_unique<sp<ExecutionCallback>>();
470 sp<ExecutionCallback>* e = reinterpret_cast<sp<ExecutionCallback>*>(event);
478 sp<ExecutionCallback>* e = reinterpret_cast<sp<ExecutionCallback>*>(event);
H A DExecutionPlan.cpp35 using ::android::hardware::neuralnetworks::V1_0::implementation::ExecutionCallback;

Completed in 143 milliseconds