/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | VSyncPredictorTest.cpp | 104 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 D | VSyncDispatchTimerQueueTest.cpp | 41 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 D | GameModeTest.cpp | 78 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler() 81 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
|
H A D | TransactionFrameTracerTest.cpp | 86 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler() 89 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
|
H A D | TunnelModeEnabledReporterTest.cpp | 125 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler() 128 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
|
H A D | FpsReporterTest.cpp | 139 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler() 142 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
|
H A D | VSyncDispatchRealtimeTest.cpp | 42 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 D | SurfaceFlinger_OnInitializeDisplaysTest.cpp | 53 EXPECT_CALL(*mVSyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in TEST_F()
|
H A D | RefreshRateSelectionTest.cpp | 140 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler() 143 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
|
H A D | TransactionSurfaceFrameTest.cpp | 86 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler() 89 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
|
H A D | SetFrameRateTest.cpp | 177 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler() 180 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
|
H A D | TransactionApplicationTest.cpp | 73 EXPECT_CALL(*mVSyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
|
H A D | VSyncReactorTest.cpp | 44 MOCK_CONST_METHOD1(nextAnticipatedVSyncTimeFrom, nsecs_t(nsecs_t));
|
H A D | CompositionTest.cpp | 138 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 D | VSyncDispatchTimerQueue.cpp | 37 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 D | VSyncTracker.h | 51 virtual nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const = 0;
|
H A D | VSyncPredictor.h | 42 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const final EXCLUDES(mMutex);
|
H A D | VSyncPredictor.cpp | 240 nsecs_t VSyncPredictor::nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::VSyncPredictor
|
H A D | Scheduler.cpp | 443 const auto vsyncTime = mVsyncSchedule.tracker->nextAnticipatedVSyncTimeFrom(now); in getDisplayStatInfo()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
H A D | MockVSyncTracker.h | 31 MOCK_CONST_METHOD1(nextAnticipatedVSyncTimeFrom, nsecs_t(nsecs_t));
|