/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerTestUtils.cpp | 65 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()
|
D | TransactionFrameTracerTest.cpp | 86 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()
|
D | GameModeTest.cpp | 76 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()
|
D | TunnelModeEnabledReporterTest.cpp | 120 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()
|
D | RefreshRateSelectionTest.cpp | 129 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()
|
D | SurfaceFlinger_PowerHintTest.cpp | 118 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()
|
D | FpsReporterTest.cpp | 140 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()
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 96 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()
|
D | TransactionSurfaceFrameTest.cpp | 86 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()
|
D | CompositionTest.cpp | 143 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()
|
D | TestableSurfaceFlinger.h | 226 std::unique_ptr<scheduler::VSyncTracker> vsyncTracker, 264 std::move(vsyncTracker), 269 std::move(vsyncTracker),
|
/frameworks/native/services/surfaceflinger/fuzzer/ |
D | surfaceflinger_fuzzers_utils.h | 678 std::unique_ptr<scheduler::VSyncTracker> vsyncTracker, 701 std::move(vsyncTracker), mRefreshRateConfigs,
|