Searched refs:mPrimaryDispSync (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 105 mPrimaryDispSync(createDispSync(mSupportKernelTimer)), in Scheduler() 155 mPrimaryDispSync(std::move(primaryDispSync)), in Scheduler() 170 return *mPrimaryDispSync; in getPrimaryDispSync() 175 return std::make_unique<DispSyncSource>(mPrimaryDispSync.get(), phaseOffsetNs, in makePrimaryDispSyncSource() 281 stats->vsyncTime = mPrimaryDispSync->computeNextRefresh(0, systemTime()); in getDisplayStatInfo() 282 stats->vsyncPeriod = mPrimaryDispSync->getPeriod(); in getDisplayStatInfo() 319 mPrimaryDispSync->beginResync(); in enableHardwareVsync() 329 mPrimaryDispSync->endResync(); in disableHardwareVsync() 369 mPrimaryDispSync->setPeriod(period); in setVsyncPeriod() 372 mPrimaryDispSync->beginResync(); in setVsyncPeriod() [all …]
|
D | Scheduler.h | 230 std::unique_ptr<DispSync> mPrimaryDispSync; variable
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionApplicationTest.cpp | 79 EXPECT_CALL(*mPrimaryDispSync, computeNextRefresh(0, _)).WillRepeatedly(Return(0)); in setupScheduler() 80 EXPECT_CALL(*mPrimaryDispSync, getPeriod()) in setupScheduler() 83 mFlinger.setupScheduler(std::unique_ptr<mock::DispSync>(mPrimaryDispSync), in setupScheduler() 95 mock::DispSync* mPrimaryDispSync = new mock::DispSync(); member in android::TransactionApplicationTest 129 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime(_)).WillOnce(Return(systemTime())); in NotPlacedOnTransactionQueue() 162 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime(_)) in PlaceOnTransactionQueue() 185 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime(_)) in BlockedByPriorTransaction() 250 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime(_)) in TEST_F()
|
D | TestableScheduler.h | 73 auto& mutablePrimaryDispSync() { return mPrimaryDispSync; } in mutablePrimaryDispSync()
|
D | DisplayTransactionTest.cpp | 155 mock::DispSync* mPrimaryDispSync = new mock::DispSync; member in android::__anon968546880111::DisplayTransactionTest 213 mFlinger.setupScheduler(std::unique_ptr<DispSync>(mPrimaryDispSync), in injectMockScheduler() 1325 EXPECT_CALL(*mPrimaryDispSync, endResync()).Times(1); in TEST_F() 3100 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime(_)).WillRepeatedly(Return(0)); in TEST_F() 3232 EXPECT_CALL(*test->mPrimaryDispSync, setPeriod(DEFAULT_REFRESH_RATE)).Times(1); in setupBeginResyncCallExpectations() 3233 EXPECT_CALL(*test->mPrimaryDispSync, beginResync()).Times(1); in setupBeginResyncCallExpectations() 3237 EXPECT_CALL(*test->mPrimaryDispSync, endResync()).Times(1); in setupEndResyncCallExpectations()
|