Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp156 mMockTracker(std::make_shared<NiceMock<MockVSyncTracker>>()), in VSyncReactorTest()
160 std::make_unique<VSyncTrackerWrapper>(mMockTracker), kPendingLimit, in VSyncReactorTest()
163 ON_CALL(*mMockTracker, currentPeriod()).WillByDefault(Return(period)); in VSyncReactorTest()
167 std::shared_ptr<MockVSyncTracker> mMockTracker; member in android::scheduler::VSyncReactorTest
196 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(mDummyTime)); in TEST_F()
203 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(_)).Times(0); in TEST_F()
206 Mock::VerifyAndClearExpectations(mMockTracker.get()); in TEST_F()
210 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(mDummyTime)); in TEST_F()
211 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(anotherDummyTime)); in TEST_F()
229 EXPECT_CALL(*mMockTracker, addVsyncTimestamp(fakeTimes[i])); in TEST_F()
[all …]