Home
last modified time | relevance | path

Searched refs:DefaultEvent (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/cpp/computepipe/runner/
DEventGenerator.cpp25 bool DefaultEvent::isPhaseEntry() const { in isPhaseEntry()
28 bool DefaultEvent::isAborted() const { in isAborted()
31 bool DefaultEvent::isTransitionComplete() const { in isTransitionComplete()
35 Status DefaultEvent::dispatchToComponent(const std::shared_ptr<RunnerComponentInterface>& iface) { in dispatchToComponent()
49 DefaultEvent DefaultEvent::generateEntryEvent(Phase p) { in generateEntryEvent()
50 return DefaultEvent(PhaseState::ENTRY, p); in generateEntryEvent()
52 DefaultEvent DefaultEvent::generateAbortEvent(Phase p) { in generateAbortEvent()
53 return DefaultEvent(PhaseState::ABORTED, p); in generateAbortEvent()
55 DefaultEvent DefaultEvent::generateTransitionCompleteEvent(Phase p) { in generateTransitionCompleteEvent()
56 return DefaultEvent(PhaseState::TRANSITION_COMPLETE, p); in generateTransitionCompleteEvent()
/packages/services/Car/cpp/computepipe/runner/engine/
DDefaultEngine.cpp40 using android::automotive::computepipe::runner::generator::DefaultEvent;
308 DefaultEvent runEvent = DefaultEvent::generateEntryEvent(DefaultEvent::RUN); in broadcastStartRun()
342 runEvent = DefaultEvent::generateTransitionCompleteEvent(DefaultEvent::RUN); in broadcastStartRun()
373 DefaultEvent runEvent = DefaultEvent::generateAbortEvent(DefaultEvent::RUN); in broadcastAbortRun()
392 DefaultEvent runEvent = DefaultEvent::generateEntryEvent(DefaultEvent::STOP_WITH_FLUSH); in broadcastStopWithFlush()
417 DefaultEvent runEvent = in broadcastStopComplete()
418 DefaultEvent::generateTransitionCompleteEvent(DefaultEvent::STOP_WITH_FLUSH); in broadcastStopComplete()
438 DefaultEvent stopEvent = DefaultEvent::generateEntryEvent(DefaultEvent::STOP_IMMEDIATE); in broadcastHalt()
460 stopEvent = DefaultEvent::generateTransitionCompleteEvent(DefaultEvent::STOP_IMMEDIATE); in broadcastHalt()
486 DefaultEvent resetEvent = DefaultEvent::generateEntryEvent(DefaultEvent::RESET); in broadcastReset()
[all …]
/packages/services/Car/cpp/computepipe/runner/include/
DEventGenerator.h29 class DefaultEvent : public RunnerEvent {
48 static DefaultEvent generateEntryEvent(Phase p);
49 static DefaultEvent generateAbortEvent(Phase p);
50 static DefaultEvent generateTransitionCompleteEvent(Phase p);
53 explicit DefaultEvent(int type, Phase p) : mType(type), mPhase(p){}; in DefaultEvent() function
/packages/services/Car/cpp/computepipe/tests/runner/stream_manager/
DPixelStreamManagerTest.cpp36 using ::android::automotive::computepipe::runner::generator::DefaultEvent;
215 DefaultEvent e = DefaultEvent::generateEntryEvent(DefaultEvent::Phase::RUN); in TEST()
237 DefaultEvent e = DefaultEvent::generateEntryEvent(DefaultEvent::Phase::RUN); in TEST()
288 DefaultEvent e = DefaultEvent::generateEntryEvent(DefaultEvent::Phase::RUN); in TEST()
324 DefaultEvent e = DefaultEvent::generateEntryEvent(DefaultEvent::Phase::RUN); in TEST()
350 DefaultEvent e = DefaultEvent::generateEntryEvent(DefaultEvent::Phase::RUN); in TEST()
DSemanticManagerTest.cpp33 using android::automotive::computepipe::runner::generator::DefaultEvent;
69 DefaultEvent e = DefaultEvent::generateEntryEvent(DefaultEvent::Phase::RUN); in TEST_F()
/packages/services/Car/cpp/computepipe/tests/fuzz/
DSemanticManagerFuzzer.cpp29 using android::automotive::computepipe::runner::generator::DefaultEvent;
48 DefaultEvent e = DefaultEvent::generateEntryEvent(DefaultEvent::Phase::RUN); in LLVMFuzzerTestOneInput()
DPixelStreamManagerFuzzer.cpp34 using ::android::automotive::computepipe::runner::generator::DefaultEvent;
85 DefaultEvent e = DefaultEvent::generateEntryEvent(static_cast<DefaultEvent::Phase>(state)); in LLVMFuzzerTestOneInput()