Home
last modified time | relevance | path

Searched refs:ScheduleTiming (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatch.h100 struct ScheduleTiming { struct
105 bool operator==(const ScheduleTiming& other) const { argument
110 bool operator!=(const ScheduleTiming& other) const { return !(*this == other); }
136 ScheduleTiming scheduleTiming) = 0;
149 ScheduleTiming scheduleTiming) = 0;
179 std::optional<ScheduleResult> schedule(VSyncDispatch::ScheduleTiming scheduleTiming);
182 std::optional<ScheduleResult> update(VSyncDispatch::ScheduleTiming scheduleTiming);
DVSyncDispatchTimerQueue.h51 ScheduleResult schedule(VSyncDispatch::ScheduleTiming, VSyncTracker&, nsecs_t now);
73 VSyncDispatch::ScheduleTiming);
94 ArmingInfo getArmedInfo(VSyncTracker&, nsecs_t now, VSyncDispatch::ScheduleTiming,
100 VSyncDispatch::ScheduleTiming mScheduleTiming;
106 std::optional<VSyncDispatch::ScheduleTiming> mWorkloadUpdateInfo;
132 std::optional<ScheduleResult> schedule(CallbackToken, ScheduleTiming) final;
133 std::optional<ScheduleResult> update(CallbackToken, ScheduleTiming) final;
151 std::optional<ScheduleResult> scheduleLocked(CallbackToken, ScheduleTiming) REQUIRES(mMutex);
DVSyncDispatchTimerQueue.cpp42 const VSyncDispatch::ScheduleTiming& timing) { in getExpectedCallbackTime()
99 ScheduleResult VSyncDispatchTimerQueueEntry::schedule(VSyncDispatch::ScheduleTiming timing, in schedule()
137 VSyncTracker& tracker, nsecs_t now, VSyncDispatch::ScheduleTiming timing) { in addPendingWorkloadUpdate()
172 VSyncDispatch::ScheduleTiming timing, in getArmedInfo()
420 ScheduleTiming scheduleTiming) { in schedule()
426 CallbackToken token, ScheduleTiming scheduleTiming) { in scheduleLocked()
451 ScheduleTiming scheduleTiming) { in update()
529 VSyncDispatch::ScheduleTiming scheduleTiming) { in schedule()
537 VSyncDispatch::ScheduleTiming scheduleTiming) { in update()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockVSyncDispatch.h32 MOCK_METHOD(std::optional<scheduler::ScheduleResult>, schedule, (CallbackToken, ScheduleTiming),
34 MOCK_METHOD(std::optional<scheduler::ScheduleResult>, update, (CallbackToken, ScheduleTiming),
/frameworks/native/services/surfaceflinger/tests/unittests/
DMessageQueueTest.cpp97 const auto timing = scheduler::VSyncDispatch::ScheduleTiming{.workDuration = kDuration.ns(), in TEST_F()
115 const auto timing = scheduler::VSyncDispatch::ScheduleTiming{.workDuration = kDuration.ns(), in TEST_F()
142 const auto timing = scheduler::VSyncDispatch::ScheduleTiming{.workDuration = kDuration.ns(), in TEST_F()
173 scheduler::VSyncDispatch::ScheduleTiming{.workDuration = kDuration.ns(), in TEST_F()
186 scheduler::VSyncDispatch::ScheduleTiming{.workDuration = kDifferentDuration.ns(), in TEST_F()
DEventThreadTest.cpp124 scheduler::VSyncDispatch::ScheduleTiming)>
128 scheduler::VSyncDispatch::ScheduleTiming)>