Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncPredictorTest.cpp159 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 …]
DVSyncDispatchTimerQueueTest.cpp49 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 …]
DSurfaceFlinger_InitializeDisplaysTest.cpp35 nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F()
DVSyncDispatchRealtimeTest.cpp68 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
DSurfaceFlinger_NotifyExpectedPresentTest.cpp171 nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F()
190 nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F()
358 nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F()
DSurfaceFlinger_DisplayModeSwitching.cpp68 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()
DTestableSurfaceFlinger.h293 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_, _)).WillRepeatedly(Return(0));
299 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_, _)).WillRepeatedly(Return(0));
DEventThreadTest.cpp493 EXPECT_CALL(mockTracker, nextAnticipatedVSyncTimeFrom(_, _)) in TEST_F()
DSchedulerTest.cpp600 vrrTracker->nextAnticipatedVSyncTimeFrom(700); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockVSyncTracker.h31 MOCK_METHOD(nsecs_t, nextAnticipatedVSyncTimeFrom, (nsecs_t, std::optional<nsecs_t>),
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncTracker.h59 virtual nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint,
DVSyncPredictor.h48 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t timePoint,
100 std::optional<TimePoint> nextAnticipatedVSyncTimeFrom(
DVSyncDispatchTimerQueue.cpp103 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()
DVSyncPredictor.cpp298 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
DVsyncSchedule.cpp94 mTracker->nextAnticipatedVSyncTimeFrom(timePoint.ns(), in vsyncDeadlineAfter()
DEventThread.cpp402 const auto vsyncTime = mVsyncSchedule->getTracker().nextAnticipatedVSyncTimeFrom( in getLatestVsyncEventData()