Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DVSyncPredictorTest.cpp104 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(last + mPeriod)); in TEST_F()
125 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + changedPeriod)); in TEST_F()
134 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod)); in TEST_F()
142 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod)); in TEST_F()
157 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod)); in TEST_F()
328 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mPeriod)); in TEST_F()
373 auto const prediction = tracker.nextAnticipatedVSyncTimeFrom(timePoint); in TEST_F()
498 EXPECT_EQ(600, tracker.nextAnticipatedVSyncTimeFrom(mNow)); in TEST_F()
501 EXPECT_EQ(mNow + 1000, tracker.nextAnticipatedVSyncTimeFrom(mNow)); in TEST_F()
506 EXPECT_EQ(mNow + 1000, tracker.nextAnticipatedVSyncTimeFrom(mNow)); in TEST_F()
[all …]
H A DVSyncDispatchTimerQueueTest.cpp41 ON_CALL(*this, nextAnticipatedVSyncTimeFrom(_))
47 MOCK_CONST_METHOD1(nextAnticipatedVSyncTimeFrom, nsecs_t(nsecs_t));
363 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(1000)) in TEST_F()
391 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(_)) in TEST_F()
495 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(_)) in TEST_F()
678 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(1000)) in TEST_F()
893 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(1000)) in TEST_F()
897 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(1000)) in TEST_F()
1055 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(_)) in TEST_F()
1126 EXPECT_CALL(mStubTracker, nextAnticipatedVSyncTimeFrom(500)) in TEST_F()
[all …]
H A DGameModeTest.cpp78 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
81 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
H A DTransactionFrameTracerTest.cpp86 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
89 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
H A DTunnelModeEnabledReporterTest.cpp125 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
128 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
H A DFpsReporterTest.cpp139 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
142 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
H A DVSyncDispatchRealtimeTest.cpp42 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const final { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::FixedRateIdealStubTracker
68 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t time_point) const final { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::VRRStubTracker
H A DSurfaceFlinger_OnInitializeDisplaysTest.cpp53 EXPECT_CALL(*mVSyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in TEST_F()
H A DRefreshRateSelectionTest.cpp140 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
143 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
H A DTransactionSurfaceFrameTest.cpp86 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
89 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
H A DSetFrameRateTest.cpp177 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
180 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
H A DTransactionApplicationTest.cpp73 EXPECT_CALL(*mVSyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
H A DVSyncReactorTest.cpp44 MOCK_CONST_METHOD1(nextAnticipatedVSyncTimeFrom, nsecs_t(nsecs_t));
H A DCompositionTest.cpp138 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
141 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DVSyncDispatchTimerQueue.cpp37 const auto nextVsyncTime = tracker.nextAnticipatedVSyncTimeFrom( in getExpectedCallbackTime()
85 auto nextVsyncTime = tracker.nextAnticipatedVSyncTimeFrom( in schedule()
102 tracker.nextAnticipatedVSyncTimeFrom(*mLastDispatchTime + mMinVsyncDistance); in schedule()
133 const auto nextVsyncTime = tracker.nextAnticipatedVSyncTimeFrom(earliestVsync); in update()
H A DVSyncTracker.h51 virtual nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const = 0;
H A DVSyncPredictor.h42 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const final EXCLUDES(mMutex);
H A DVSyncPredictor.cpp240 nsecs_t VSyncPredictor::nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::VSyncPredictor
H A DScheduler.cpp443 const auto vsyncTime = mVsyncSchedule.tracker->nextAnticipatedVSyncTimeFrom(now); in getDisplayStatInfo()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/
H A DMockVSyncTracker.h31 MOCK_CONST_METHOD1(nextAnticipatedVSyncTimeFrom, nsecs_t(nsecs_t));