Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateSelectionTest.cpp143 auto primaryDispSync = std::make_unique<mock::DispSync>(); in setupScheduler() local
145 EXPECT_CALL(*primaryDispSync, computeNextRefresh(0, _)).WillRepeatedly(Return(0)); in setupScheduler()
146 EXPECT_CALL(*primaryDispSync, getPeriod()) in setupScheduler()
148 EXPECT_CALL(*primaryDispSync, expectedPresentTime(_)).WillRepeatedly(Return(0)); in setupScheduler()
149 mFlinger.setupScheduler(std::move(primaryDispSync), in setupScheduler()
DTestableScheduler.h40 TestableScheduler(std::unique_ptr<DispSync> primaryDispSync, in TestableScheduler() argument
43 : Scheduler(std::move(primaryDispSync), std::move(eventControlThread), configs, *this, in TestableScheduler()
DSetFrameRateTest.cpp179 auto primaryDispSync = std::make_unique<mock::DispSync>(); in setupScheduler() local
181 EXPECT_CALL(*primaryDispSync, computeNextRefresh(0, _)).WillRepeatedly(Return(0)); in setupScheduler()
182 EXPECT_CALL(*primaryDispSync, getPeriod()) in setupScheduler()
184 EXPECT_CALL(*primaryDispSync, expectedPresentTime(_)).WillRepeatedly(Return(0)); in setupScheduler()
185 mFlinger.setupScheduler(std::move(primaryDispSync), in setupScheduler()
DCompositionTest.cpp145 auto primaryDispSync = std::make_unique<mock::DispSync>(); in setupScheduler() local
147 EXPECT_CALL(*primaryDispSync, computeNextRefresh(0, _)).WillRepeatedly(Return(0)); in setupScheduler()
148 EXPECT_CALL(*primaryDispSync, getPeriod()) in setupScheduler()
150 EXPECT_CALL(*primaryDispSync, expectedPresentTime(_)).WillRepeatedly(Return(0)); in setupScheduler()
152 mFlinger.setupScheduler(std::move(primaryDispSync), in setupScheduler()
DTestableSurfaceFlinger.h201 void setupScheduler(std::unique_ptr<DispSync> primaryDispSync,
222 new TestableScheduler(std::move(primaryDispSync), std::move(eventControlThread),
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp149 Scheduler::Scheduler(std::unique_ptr<DispSync> primaryDispSync, in Scheduler() argument
155 mPrimaryDispSync(std::move(primaryDispSync)), in Scheduler()