Home
last modified time | relevance | path

Searched refs:addVsyncTimestamp (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncPredictorTest.cpp133 tracker.addVsyncTimestamp(mNow += mPeriod); in TEST_F()
140 tracker.addVsyncTimestamp(mNow += mPeriod); in TEST_F()
150 tracker.addVsyncTimestamp(mNow += changedPeriod); in TEST_F()
162 tracker.addVsyncTimestamp(mNow); in TEST_F()
175 tracker.addVsyncTimestamp(mNow += slightlyLessPeriod); in TEST_F()
186 EXPECT_TRUE(tracker.addVsyncTimestamp(mNow += mPeriod)); in TEST_F()
194 EXPECT_FALSE(tracker.addVsyncTimestamp(mNow += relativelyLongGapWithDrift)); in TEST_F()
203 EXPECT_TRUE(tracker.addVsyncTimestamp(mNow += slightlyMorePeriod)); in TEST_F()
209 EXPECT_FALSE(tracker.addVsyncTimestamp(mNow += halfPeriod)); in TEST_F()
227 tracker.addVsyncTimestamp(timestamp); in TEST_F()
[all …]
DVSyncReactorTest.cpp109 ON_CALL(*mMockTracker, addVsyncTimestamp(_)).WillByDefault(Return(true)); in VSyncReactorTest()
141 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(mDummyTime)); in TEST_F()
148 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(_)).Times(0); in TEST_F()
155 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(mDummyTime)); in TEST_F()
156 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(anotherDummyTime)); in TEST_F()
174 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(fakeTimes[i])); in TEST_F()
185 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(mDummyTime)).Times(1); in TEST_F()
198 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(_)).Times(3); in TEST_F()
270 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(_)) in TEST_F()
288 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(_)) in TEST_F()
[all …]
DVSyncDispatchRealtimeTest.cpp41 bool addVsyncTimestamp(nsecs_t) final { return true; } in addVsyncTimestamp() function in android::scheduler::StubTracker
DSchedulerTest.cpp598 vrrTracker->addVsyncTimestamp(0); in TEST_F()
DVSyncDispatchTimerQueueTest.cpp51 ON_CALL(*this, addVsyncTimestamp(_)).WillByDefault(Return(true));
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncReactor.cpp82 timestampAccepted &= mTracker.addVsyncTimestamp(time); in addPresentFence()
94 timestampAccepted &= mTracker.addVsyncTimestamp(signalTime); in addPresentFence()
201 mTracker.addVsyncTimestamp(*mLastHwVsync); in addHwVsyncTimestamp()
203 mTracker.addVsyncTimestamp(timestamp); in addHwVsyncTimestamp()
215 mTracker.addVsyncTimestamp(timestamp); in addHwVsyncTimestamp()
DVSyncTracker.h45 virtual bool addVsyncTimestamp(nsecs_t timestamp) = 0;
DVSyncPredictor.h47 bool addVsyncTimestamp(nsecs_t timestamp) final EXCLUDES(mMutex);
DVSyncPredictor.cpp137 bool VSyncPredictor::addVsyncTimestamp(nsecs_t timestamp) { in addVsyncTimestamp() function in android::scheduler::VSyncPredictor
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockVSyncTracker.h30 MOCK_METHOD(bool, addVsyncTimestamp, (nsecs_t), (override));