Home
last modified time | relevance | path

Searched refs:VSyncTracker (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncTracker.h33 class VSyncTracker {
35 virtual ~VSyncTracker();
123 VSyncTracker(VSyncTracker const&) = delete;
124 VSyncTracker& operator=(VSyncTracker const&) = delete;
125 VSyncTracker() = default;
DVSyncDispatchTimerQueue.h51 ScheduleResult schedule(VSyncDispatch::ScheduleTiming, VSyncTracker&, nsecs_t now);
53 void update(VSyncTracker&, nsecs_t now);
72 ScheduleResult addPendingWorkloadUpdate(VSyncTracker&, nsecs_t now,
93 nsecs_t adjustVsyncIfNeeded(VSyncTracker& tracker, nsecs_t nextVsyncTime) const;
94 ArmingInfo getArmedInfo(VSyncTracker&, nsecs_t now, VSyncDispatch::ScheduleTiming,
DVSyncReactor.h37 class VSyncTracker; variable
42 VSyncReactor(PhysicalDisplayId, std::unique_ptr<Clock> clock, VSyncTracker& tracker,
68 VSyncTracker& mTracker;
DVSyncDispatchTimerQueue.cpp61 VSyncTracker::~VSyncTracker() = default;
100 VSyncTracker& tracker, nsecs_t now) { in schedule()
137 VSyncTracker& tracker, nsecs_t now, VSyncDispatch::ScheduleTiming timing) { in addPendingWorkloadUpdate()
148 nsecs_t VSyncDispatchTimerQueueEntry::adjustVsyncIfNeeded(VSyncTracker& tracker, in adjustVsyncIfNeeded()
171 auto VSyncDispatchTimerQueueEntry::getArmedInfo(VSyncTracker& tracker, nsecs_t now, in getArmedInfo()
201 void VSyncDispatchTimerQueueEntry::update(VSyncTracker& tracker, nsecs_t now) { in update()
DVsyncSchedule.h49 class VSyncTracker; variable
53 using VsyncTracker = VSyncTracker;
DVSyncPredictor.h32 class VSyncPredictor : public VSyncTracker {
DVSyncReactor.cpp45 VSyncTracker& tracker, size_t pendingFenceLimit, in VSyncReactor()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockVSyncTracker.cpp23 VSyncTracker::~VSyncTracker() = default;
25 VSyncTracker::VSyncTracker() { in VSyncTracker() function in android::mock::VSyncTracker
DMockVSyncTracker.h25 class VSyncTracker : public android::scheduler::VSyncTracker {
27 VSyncTracker();
28 ~VSyncTracker() override;
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableScheduler.h47 std::shared_ptr<VSyncTracker> tracker, RefreshRateSelectorPtr selectorPtr, in TestableScheduler()
89 std::shared_ptr<VSyncTracker> vsyncTracker = std::make_shared<mock::VSyncTracker>()) {
97 std::shared_ptr<VSyncTracker> tracker, PhysicalDisplayId activeDisplayId) { in registerDisplay()
DTestableScheduler.cpp26 std::make_shared<android::mock::VSyncTracker>(), std::move(selectorPtr), in TestableScheduler()
DSurfaceFlinger_InitializeDisplaysTest.cpp33 EXPECT_CALL(static_cast<mock::VSyncTracker&>( in TEST_F()
DSurfaceFlinger_NotifyExpectedPresentTest.cpp169 EXPECT_CALL(static_cast<mock::VSyncTracker&>( in TEST_F()
188 EXPECT_CALL(static_cast<mock::VSyncTracker&>( in TEST_F()
356 EXPECT_CALL(static_cast<mock::VSyncTracker&>( in TEST_F()
DDisplayTransactionTest.cpp79 std::make_shared<mock::VSyncTracker>(), in injectMockScheduler()
DEventThreadTest.cpp162 std::make_shared<mock::VSyncTracker>(), mockDispatchPtr, in EventThreadTest()
491 mock::VSyncTracker& mockTracker = in TEST_F()
492 *static_cast<mock::VSyncTracker*>(&mVsyncSchedule->getTracker()); in TEST_F()
DTestableSurfaceFlinger.h227 std::shared_ptr<scheduler::VSyncTracker> vsyncTracker,
291 auto vsyncTracker = makeSharedMock<mock::VSyncTracker>(options.useNiceMock);
1049 std::make_shared<mock::VSyncTracker>()); in inject()
1053 std::shared_ptr<android::scheduler::VSyncTracker> tracker) in inject()
DVsyncScheduleTest.cpp49 new scheduler::VsyncSchedule(kDisplayId, std::make_shared<mock::VSyncTracker>(),
DVSyncDispatchRealtimeTest.cpp37 class StubTracker : public VSyncTracker {
DVSyncReactorTest.cpp103 : mMockTracker(std::make_shared<NiceMock<mock::VSyncTracker>>()), in VSyncReactorTest()
112 std::shared_ptr<mock::VSyncTracker> mMockTracker;
DSurfaceFlinger_DisplayModeSwitching.cpp66 auto vsyncTracker = std::make_shared<mock::VSyncTracker>(); in SetUp()
156 auto vsyncTracker = std::make_shared<mock::VSyncTracker>(); in setupScheduler()
DSurfaceFlinger_SetPowerModeInternalTest.cpp111 EXPECT_CALL(static_cast<mock::VSyncTracker&>(vsyncSchedule->getTracker()), resetModel()) in setupResetModelCallExpectations()
DVSyncDispatchTimerQueueTest.cpp46 class MockVSyncTracker : public mock::VSyncTracker {