Searched refs:addVsyncTimestamp (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncPredictorTest.cpp | 133 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 …]
|
D | VSyncReactorTest.cpp | 109 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 …]
|
D | VSyncDispatchRealtimeTest.cpp | 41 bool addVsyncTimestamp(nsecs_t) final { return true; } in addVsyncTimestamp() function in android::scheduler::StubTracker
|
D | SchedulerTest.cpp | 598 vrrTracker->addVsyncTimestamp(0); in TEST_F()
|
D | VSyncDispatchTimerQueueTest.cpp | 51 ON_CALL(*this, addVsyncTimestamp(_)).WillByDefault(Return(true));
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncReactor.cpp | 82 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()
|
D | VSyncTracker.h | 45 virtual bool addVsyncTimestamp(nsecs_t timestamp) = 0;
|
D | VSyncPredictor.h | 47 bool addVsyncTimestamp(nsecs_t timestamp) final EXCLUDES(mMutex);
|
D | VSyncPredictor.cpp | 137 bool VSyncPredictor::addVsyncTimestamp(nsecs_t timestamp) { in addVsyncTimestamp() function in android::scheduler::VSyncPredictor
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockVSyncTracker.h | 30 MOCK_METHOD(bool, addVsyncTimestamp, (nsecs_t), (override));
|