Searched refs:nextAnticipatedVSyncTimeFrom (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncPredictorTest.cpp | 103 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(last + mPeriod)); in TEST_F() 110 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod - bias)); in TEST_F() 111 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow + 100), Eq(mNow + mPeriod - bias)); in TEST_F() 112 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow + 990), Eq(mNow + 2 * mPeriod - bias)); in TEST_F() 122 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + slightlyLessPeriod)); in TEST_F() 124 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + changedPeriod)); in TEST_F() 133 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod)); in TEST_F() 141 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod)); in TEST_F() 150 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + slightlyMorePeriod)); in TEST_F() 156 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod)); in TEST_F() [all …]
|
D | VSyncDispatchTimerQueueTest.cpp | 40 ON_CALL(*this, nextAnticipatedVSyncTimeFrom(_)) 46 MOCK_CONST_METHOD1(nextAnticipatedVSyncTimeFrom, nsecs_t(nsecs_t)); 243 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(1000)).WillOnce(Return(1150)); in TEST_F() 258 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(now + workDuration)) in TEST_F() 322 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(1000)) in TEST_F() 350 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(_)) in TEST_F() 450 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(_)) in TEST_F() 596 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(1000)) in TEST_F() 784 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(now + duration)) in TEST_F() 827 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(_)) in TEST_F() [all …]
|
D | VSyncDispatchRealtimeTest.cpp | 42 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const final { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::FixedRateIdealStubTracker 66 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t time_point) const final { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::VRRStubTracker
|
D | VSyncReactorTest.cpp | 40 MOCK_CONST_METHOD1(nextAnticipatedVSyncTimeFrom, nsecs_t(nsecs_t)); 54 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const final { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::VSyncTrackerWrapper 55 return mTracker->nextAnticipatedVSyncTimeFrom(timePoint); in nextAnticipatedVSyncTimeFrom() 270 EXPECT_CALL(*mMockTracker, nextAnticipatedVSyncTimeFrom(_)) in TEST_F() 280 EXPECT_CALL(*mMockTracker, nextAnticipatedVSyncTimeFrom(_)) in TEST_F() 294 EXPECT_CALL(*mMockTracker, nextAnticipatedVSyncTimeFrom(mFakeNow + numPeriodsOut * fakePeriod)) in TEST_F()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncTracker.h | 50 virtual nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const = 0;
|
D | VSyncPredictor.h | 42 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const final;
|
D | VSyncDispatchTimerQueue.cpp | 67 tracker.nextAnticipatedVSyncTimeFrom(std::max(earliestVsync, now + workDuration)); in schedule() 80 tracker.nextAnticipatedVSyncTimeFrom(*mLastDispatchTime + mMinVsyncDistance); in schedule() 111 tracker.nextAnticipatedVSyncTimeFrom(std::max(mEarliestVsync, now + mWorkDuration)); in update()
|
D | VSyncReactor.cpp | 228 return mTracker->nextAnticipatedVSyncTimeFrom(now + periodOffset * currentPeriod); in computeNextRefresh() 232 return mTracker->nextAnticipatedVSyncTimeFrom(now); in expectedPresentTime()
|
D | VSyncPredictor.cpp | 179 nsecs_t VSyncPredictor::nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::VSyncPredictor
|