Home | History | Annotate | Download | only in include

Lines Matching refs:Event

190 class Event {
192 Event() {}
193 ~Event() { ANeuralNetworksEvent_free(mEvent); }
198 Event(const Event&) = delete;
199 Event& operator=(const Event&) = delete;
204 Event(Event&& other) { *this = std::move(other); }
205 Event& operator=(Event&& other) {
314 Result startCompute(Event* event) {
317 event->set(ev);
322 ANeuralNetworksEvent* event = nullptr;
324 static_cast<Result>(ANeuralNetworksExecution_startCompute(mExecution, &event));
330 result = static_cast<Result>(ANeuralNetworksEvent_wait(event));
331 ANeuralNetworksEvent_free(event);