/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncPredictorTest.cpp | 159 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(last + mPeriod)); in TEST_F() 166 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod - bias)); in TEST_F() 167 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow + 100), Eq(mNow + mPeriod - bias)); in TEST_F() 168 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow + 990), Eq(mNow + 2 * mPeriod - bias)); in TEST_F() 178 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + slightlyLessPeriod)); in TEST_F() 180 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + changedPeriod)); in TEST_F() 189 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod)); in TEST_F() 197 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod)); in TEST_F() 206 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + slightlyMorePeriod)); in TEST_F() 212 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(mNow + mPeriod)); in TEST_F() [all …]
|
D | VSyncDispatchTimerQueueTest.cpp | 49 ON_CALL(*this, nextAnticipatedVSyncTimeFrom(_, _)) 312 nextAnticipatedVSyncTimeFrom(1000, std::optional<nsecs_t>(mPeriod))) in TEST_F() 329 nextAnticipatedVSyncTimeFrom(now + workDuration, std::optional<nsecs_t>(mPeriod))) in TEST_F() 420 nextAnticipatedVSyncTimeFrom(1000, std::optional<nsecs_t>(1000))) in TEST_F() 448 EXPECT_CALL(*mStubTracker.get(), nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F() 485 EXPECT_CALL(*mStubTracker.get(), nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F() 587 EXPECT_CALL(*mStubTracker.get(), nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F() 797 nextAnticipatedVSyncTimeFrom(1000, std::optional<nsecs_t>(1000))) in TEST_F() 1074 nextAnticipatedVSyncTimeFrom(1000, std::optional<nsecs_t>(1000))) in TEST_F() 1079 nextAnticipatedVSyncTimeFrom(1000, std::optional<nsecs_t>(1000))) in TEST_F() [all …]
|
D | SurfaceFlinger_InitializeDisplaysTest.cpp | 35 nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F()
|
D | VSyncDispatchRealtimeTest.cpp | 68 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint, std::optional<nsecs_t>) final { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::FixedRateIdealStubTracker 81 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t time_point, std::optional<nsecs_t>) final { in nextAnticipatedVSyncTimeFrom() function in android::scheduler::VRRStubTracker
|
D | SurfaceFlinger_NotifyExpectedPresentTest.cpp | 171 nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F() 190 nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F() 358 nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F()
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 68 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_, _)).WillRepeatedly(Return(0)); in SetUp() 158 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_, _)).WillRepeatedly(Return(0)); in setupScheduler() 165 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_, _)).WillRepeatedly(Return(0)); in setupScheduler()
|
D | TestableSurfaceFlinger.h | 293 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_, _)).WillRepeatedly(Return(0)); 299 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_, _)).WillRepeatedly(Return(0));
|
D | EventThreadTest.cpp | 493 EXPECT_CALL(mockTracker, nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F()
|
D | SchedulerTest.cpp | 600 vrrTracker->nextAnticipatedVSyncTimeFrom(700); in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockVSyncTracker.h | 31 MOCK_METHOD(nsecs_t, nextAnticipatedVSyncTimeFrom, (nsecs_t, std::optional<nsecs_t>),
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncTracker.h | 59 virtual nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint,
|
D | VSyncPredictor.h | 48 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint, 100 std::optional<TimePoint> nextAnticipatedVSyncTimeFrom(
|
D | VSyncDispatchTimerQueue.cpp | 103 tracker.nextAnticipatedVSyncTimeFrom(std::max(timing.lastVsync, in schedule() 158 return tracker.nextAnticipatedVSyncTimeFrom(*mLastDispatchTime + mMinVsyncDistance, in adjustVsyncIfNeeded() 164 return tracker.nextAnticipatedVSyncTimeFrom(*mLastDispatchTime + currentPeriod, in adjustVsyncIfNeeded() 181 tracker.nextAnticipatedVSyncTimeFrom(earliestVsync, in getArmedInfo()
|
D | VSyncPredictor.cpp | 298 nsecs_t VSyncPredictor::nextAnticipatedVSyncTimeFrom(nsecs_t timePoint, in nextAnticipatedVSyncTimeFrom() function in android::scheduler::VSyncPredictor 320 vsyncOpt = timeline.nextAnticipatedVSyncTimeFrom(model, minFramePeriodOpt, in nextAnticipatedVSyncTimeFrom() 567 const auto vsyncOpt = mTimelines.front().nextAnticipatedVSyncTimeFrom( in clearTimestamps() 644 std::optional<TimePoint> VSyncPredictor::VsyncTimeline::nextAnticipatedVSyncTimeFrom( in nextAnticipatedVSyncTimeFrom() function in android::scheduler::VSyncPredictor::VsyncTimeline
|
D | VsyncSchedule.cpp | 94 mTracker->nextAnticipatedVSyncTimeFrom(timePoint.ns(), in vsyncDeadlineAfter()
|
D | EventThread.cpp | 402 const auto vsyncTime = mVsyncSchedule->getTracker().nextAnticipatedVSyncTimeFrom( in getLatestVsyncEventData()
|