Searched refs:mDispSync (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DispSyncSourceTest.cpp | 48 std::unique_ptr<mock::DispSync> mDispSync; member in android::__anon200b3c6a0111::DispSyncSourceTest 77 mDispSync = std::make_unique<mock::DispSync>(); in createDispSync() 82 mDispSyncSource = std::make_unique<DispSyncSource>(mDispSync.get(), mPhaseOffset.count(), in createDispSyncSource() 94 EXPECT_TRUE(mDispSync); in TEST_F() 107 mDispSync->triggerCallback(); in TEST_F() 116 EXPECT_EQ(mDispSync->getCallbackPhase(), mPhaseOffset.count()); in TEST_F() 119 mDispSync->triggerCallback(); in TEST_F() 129 EXPECT_EQ(mDispSync->getCallbackPhase(), mPhaseOffset.count()); in TEST_F() 132 mDispSync->triggerCallback(); in TEST_F() 136 EXPECT_CALL(*mDispSync, getPeriod()).Times(1).WillOnce(Return(16666666)); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | DispSyncSource.cpp | 39 mDispSync(dispSync), in DispSyncSource() 47 status_t err = mDispSync->addEventListener(mName, mPhaseOffset, in setVSyncEnabled() 55 status_t err = mDispSync->removeEventListener(static_cast<DispSync::Callback*>(this), in setVSyncEnabled() 72 const nsecs_t period = mDispSync->getPeriod(); in setPhaseOffset() 94 mDispSync->changePhaseOffset(static_cast<DispSync::Callback*>(this), mPhaseOffset); in setPhaseOffset()
|
D | DispSyncSource.h | 54 DispSync* mDispSync; variable
|