Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerTestUtils.cpp65 auto vsyncTracker = std::make_unique<mock::VSyncTracker>(); in setupScheduler() local
67 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
68 EXPECT_CALL(*vsyncTracker, currentPeriod()) in setupScheduler()
70 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
71 mFlinger.setupScheduler(std::move(vsyncController), std::move(vsyncTracker), in setupScheduler()
DTransactionFrameTracerTest.cpp86 auto vsyncTracker = std::make_unique<mock::VSyncTracker>(); in setupScheduler() local
88 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
89 EXPECT_CALL(*vsyncTracker, currentPeriod()) in setupScheduler()
91 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
92 mFlinger.setupScheduler(std::move(vsyncController), std::move(vsyncTracker), in setupScheduler()
DGameModeTest.cpp76 auto vsyncTracker = std::make_unique<mock::VSyncTracker>(); in setupScheduler() local
78 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
79 EXPECT_CALL(*vsyncTracker, currentPeriod()) in setupScheduler()
81 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
82 mFlinger.setupScheduler(std::move(vsyncController), std::move(vsyncTracker), in setupScheduler()
DTunnelModeEnabledReporterTest.cpp120 auto vsyncTracker = std::make_unique<mock::VSyncTracker>(); in setupScheduler() local
122 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
123 EXPECT_CALL(*vsyncTracker, currentPeriod()) in setupScheduler()
125 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
126 mFlinger.setupScheduler(std::move(vsyncController), std::move(vsyncTracker), in setupScheduler()
DRefreshRateSelectionTest.cpp129 auto vsyncTracker = std::make_unique<mock::VSyncTracker>(); in setupScheduler() local
131 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
132 EXPECT_CALL(*vsyncTracker, currentPeriod()) in setupScheduler()
134 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
135 mFlinger.setupScheduler(std::move(vsyncController), std::move(vsyncTracker), in setupScheduler()
DSurfaceFlinger_PowerHintTest.cpp118 auto vsyncTracker = std::make_unique<mock::VSyncTracker>(); in setupScheduler() local
120 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
121 EXPECT_CALL(*vsyncTracker, currentPeriod()) in setupScheduler()
123 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
125 mFlinger.setupScheduler(std::move(vsyncController), std::move(vsyncTracker), in setupScheduler()
DFpsReporterTest.cpp140 auto vsyncTracker = std::make_unique<mock::VSyncTracker>(); in setupScheduler() local
142 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
143 EXPECT_CALL(*vsyncTracker, currentPeriod()) in setupScheduler()
145 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
146 mFlinger.setupScheduler(std::move(vsyncController), std::move(vsyncTracker), in setupScheduler()
DSurfaceFlinger_DisplayModeSwitching.cpp96 auto vsyncTracker = std::make_unique<mock::VSyncTracker>(); in setupScheduler() local
98 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
99 EXPECT_CALL(*vsyncTracker, currentPeriod()) in setupScheduler()
102 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
103 mFlinger.setupScheduler(std::move(vsyncController), std::move(vsyncTracker), in setupScheduler()
DTransactionSurfaceFrameTest.cpp86 auto vsyncTracker = std::make_unique<mock::VSyncTracker>(); in setupScheduler() local
88 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
89 EXPECT_CALL(*vsyncTracker, currentPeriod()) in setupScheduler()
91 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
92 mFlinger.setupScheduler(std::move(vsyncController), std::move(vsyncTracker), in setupScheduler()
DCompositionTest.cpp143 auto vsyncTracker = std::make_unique<mock::VSyncTracker>(); in setupScheduler() local
145 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
146 EXPECT_CALL(*vsyncTracker, currentPeriod()) in setupScheduler()
148 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
150 mFlinger.setupScheduler(std::move(vsyncController), std::move(vsyncTracker), in setupScheduler()
DTestableSurfaceFlinger.h226 std::unique_ptr<scheduler::VSyncTracker> vsyncTracker,
264 std::move(vsyncTracker),
269 std::move(vsyncTracker),
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_fuzzers_utils.h678 std::unique_ptr<scheduler::VSyncTracker> vsyncTracker,
701 std::move(vsyncTracker), mRefreshRateConfigs,