Home
last modified time | relevance | path

Searched refs:nextAnticipatedVSyncTimeFrom (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncPredictorTest.cpp103 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 …]
DVSyncDispatchTimerQueueTest.cpp40 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 …]
DVSyncDispatchRealtimeTest.cpp42 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
DVSyncReactorTest.cpp40 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/
DVSyncTracker.h50 virtual nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const = 0;
DVSyncPredictor.h42 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const final;
DVSyncDispatchTimerQueue.cpp67 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()
DVSyncReactor.cpp228 return mTracker->nextAnticipatedVSyncTimeFrom(now + periodOffset * currentPeriod); in computeNextRefresh()
232 return mTracker->nextAnticipatedVSyncTimeFrom(now); in expectedPresentTime()
DVSyncPredictor.cpp179 nsecs_t VSyncPredictor::nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::VSyncPredictor