Home
last modified time | relevance | path

Searched refs:numPeriodsOut (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp187 auto const numPeriodsOut = ((timePoint - knownTimestamp) / mIdealPeriod) + 1; in nextAnticipatedVSyncTimeFrom() local
188 return knownTimestamp + numPeriodsOut * mIdealPeriod; in nextAnticipatedVSyncTimeFrom()
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp291 int const numPeriodsOut = 3; in TEST_F() local
294 EXPECT_CALL(*mMockTracker, nextAnticipatedVSyncTimeFrom(mFakeNow + numPeriodsOut * fakePeriod)) in TEST_F()
296 EXPECT_THAT(mReactor.computeNextRefresh(numPeriodsOut, mMockClock->now()), Eq(fakeTimestamp)); in TEST_F()