Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp72 mPrimaryDispSync = std::move(primaryDispSync); in Scheduler()
128 makeEventThread(connectionName, mPrimaryDispSync.get(), phaseOffsetNs, in createConnection()
204 stats->vsyncTime = mPrimaryDispSync->computeNextRefresh(0); in getDisplayStatInfo()
205 stats->vsyncPeriod = mPrimaryDispSync->getPeriod(); in getDisplayStatInfo()
211 mPrimaryDispSync->beginResync(); in enableHardwareVsync()
221 mPrimaryDispSync->endResync(); in disableHardwareVsync()
269 mPrimaryDispSync->setRefreshSkipCount(count); in setRefreshSkipCount()
274 mPrimaryDispSync->setPeriod(period); in setVsyncPeriod()
277 mPrimaryDispSync->beginResync(); in setVsyncPeriod()
289 needsHwVsync = mPrimaryDispSync->addResyncSample(timestamp, periodChanged); in addResyncSample()
[all …]
DScheduler.h248 std::unique_ptr<DispSync> mPrimaryDispSync; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableScheduler.h52 auto& mutablePrimaryDispSync() { return mPrimaryDispSync; } in mutablePrimaryDispSync()
DCompositionTest.cpp98 EXPECT_CALL(*mPrimaryDispSync, computeNextRefresh(0)).WillRepeatedly(Return(0)); in CompositionTest()
99 EXPECT_CALL(*mPrimaryDispSync, getPeriod()) in CompositionTest()
101 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime()).WillRepeatedly(Return(0)); in CompositionTest()
130 mScheduler->mutablePrimaryDispSync().reset(mPrimaryDispSync); in setupScheduler()
177 mock::DispSync* mPrimaryDispSync = new mock::DispSync(); member in android::__anon9bdb5ce90111::CompositionTest
DDisplayTransactionTest.cpp137 mock::DispSync* mPrimaryDispSync = new mock::DispSync(); member in android::__anon7db314510111::DisplayTransactionTest
184 mScheduler->mutablePrimaryDispSync().reset(mPrimaryDispSync); in setupScheduler()
1148 EXPECT_CALL(*mPrimaryDispSync, endResync()).Times(1); in TEST_F()
2708 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime()).WillRepeatedly(Return(0)); in TEST_F()
2840 EXPECT_CALL(*test->mPrimaryDispSync, setPeriod(DEFAULT_REFRESH_RATE)).Times(1); in setupBeginResyncCallExpectations()
2841 EXPECT_CALL(*test->mPrimaryDispSync, beginResync()).Times(1); in setupBeginResyncCallExpectations()
2845 EXPECT_CALL(*test->mPrimaryDispSync, endResync()).Times(1); in setupEndResyncCallExpectations()