Searched refs:workDuration (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncDispatchTimerQueue.cpp | 64 ScheduleResult VSyncDispatchTimerQueueEntry::schedule(nsecs_t workDuration, nsecs_t earliestVsync, in schedule() argument 67 tracker.nextAnticipatedVSyncTimeFrom(std::max(earliestVsync, now + workDuration)); in schedule() 83 auto const nextWakeupTime = nextVsyncTime - workDuration; in schedule() 84 mWorkDuration = workDuration; in schedule() 90 void VSyncDispatchTimerQueueEntry::addPendingWorkloadUpdate(nsecs_t workDuration, in addPendingWorkloadUpdate() argument 92 mWorkloadUpdateInfo = {.earliestVsync = earliestVsync, .duration = workDuration}; in addPendingWorkloadUpdate() 298 ScheduleResult VSyncDispatchTimerQueue::schedule(CallbackToken token, nsecs_t workDuration, in schedule() argument 315 callback->addPendingWorkloadUpdate(workDuration, earliestVsync); in schedule() 319 result = callback->schedule(workDuration, earliestVsync, mTracker, now); in schedule() 397 ScheduleResult VSyncCallbackRegistration::schedule(nsecs_t workDuration, nsecs_t earliestVsync) { in schedule() argument [all …]
|
D | VSyncDispatchTimerQueue.h | 50 ScheduleResult schedule(nsecs_t workDuration, nsecs_t earliestVsync, VSyncTracker& tracker, 70 void addPendingWorkloadUpdate(nsecs_t workDuration, nsecs_t earliestVsync); 128 ScheduleResult schedule(CallbackToken token, nsecs_t workDuration, nsecs_t earliestVsync) final;
|
D | VSyncDispatch.h | 99 virtual ScheduleResult schedule(CallbackToken token, nsecs_t workDuration, 132 ScheduleResult schedule(nsecs_t workDuration, nsecs_t earliestVsync);
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchTimerQueueTest.cpp | 257 auto const workDuration = 10 * mPeriod; in TEST_F() local 258 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(now + workDuration)) in TEST_F() 263 EXPECT_EQ(mDispatch.schedule(cb, workDuration, mPeriod), ScheduleResult::Scheduled); in TEST_F()
|
D | VSyncReactorTest.cpp | 101 ScheduleResult schedule(CallbackToken token, nsecs_t workDuration, in schedule() argument 103 return mDispatch->schedule(token, workDuration, earliestVsync); in schedule()
|