Home
last modified time | relevance | path

Searched refs:getVsyncSchedule (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_InitializeDisplaysTest.cpp34 mFlinger.scheduler()->getVsyncSchedule()->getTracker()), in TEST_F()
DSurfaceFlinger_NotifyExpectedPresentTest.cpp170 mFlinger.scheduler()->getVsyncSchedule()->getTracker()), in TEST_F()
189 mFlinger.scheduler()->getVsyncSchedule()->getTracker()), in TEST_F()
357 mFlinger.scheduler()->getVsyncSchedule()->getTracker()), in TEST_F()
DTestableScheduler.h202 auto schedule = getVsyncSchedule(id); in setInitialHwVsyncEnabled()
DSchedulerTest.cpp153 EXPECT_FALSE(mScheduler->getVsyncSchedule(kDisplayId1)->getPendingHardwareVsyncState()); in TEST_F()
154 EXPECT_FALSE(mScheduler->getVsyncSchedule(kDisplayId2)->getPendingHardwareVsyncState()); in TEST_F()
155 EXPECT_FALSE(mScheduler->getVsyncSchedule(kDisplayId3)->getPendingHardwareVsyncState()); in TEST_F()
DSurfaceFlinger_SetPowerModeInternalTest.cpp106 auto vsyncSchedule = test->mFlinger.scheduler()->getVsyncSchedule(); in setupResetModelCallExpectations()
DTestableSurfaceFlinger.h388 *mScheduler->getVsyncSchedule());
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp90 Impl::initVsyncInternal(getVsyncSchedule()->getDispatch(), tokenManager, workDuration); in initVsync()
294 return getVsyncSchedule()->getTracker().isVSyncInPhase(expectedVsyncTime.ns(), *frameRate); in isVsyncValid()
298 return getVsyncSchedule()->getTracker().isVSyncInPhase(expectedVsyncTime.ns(), frameRate); in isVsyncInPhase()
353 getVsyncSchedule(), tokenManager, *this, in createEventThread()
509 auto schedule = getVsyncSchedule(id); in enableHardwareVsync()
515 auto schedule = getVsyncSchedule(id); in disableHardwareVsync()
633 auto schedule = getVsyncSchedule(id); in addResyncSample()
767 auto Scheduler::getVsyncSchedule(std::optional<PhysicalDisplayId> idOpt) const in getVsyncSchedule() function in android::scheduler::Scheduler
DScheduler.h248 ConstVsyncSchedulePtr getVsyncSchedule(std::optional<PhysicalDisplayId> = std::nullopt) const
251 VsyncSchedulePtr getVsyncSchedule(std::optional<PhysicalDisplayId> idOpt = std::nullopt)
253 return std::const_pointer_cast<VsyncSchedule>(std::as_const(*this).getVsyncSchedule(idOpt)); in EXCLUDES()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1300 const auto schedule = mScheduler->getVsyncSchedule(displayIdOpt); in getDisplayStats()
2636 mScheduler->getVsyncSchedule()->getTracker().onFrameMissed( in commit()
2644 const Period vsyncPeriod = mScheduler->getVsyncSchedule()->period(); in commit()
2696 mScheduler->getVsyncSchedule()->getTracker().onFrameBegin( in commit()
3158 const auto schedule = mScheduler->getVsyncSchedule(); in onCompositionPresented()
4434 mScheduler->getVsyncSchedule()->vsyncDeadlineAfter(TimePoint::now()); in scheduleNotifyExpectedPresentHint()
4436 mScheduler->getVsyncSchedule(displayId)->period()) { in scheduleNotifyExpectedPresentHint()
4437 expectedPresentTime += mScheduler->getVsyncSchedule(displayId)->period(); in scheduleNotifyExpectedPresentHint()
5141 const Duration earlyLatchVsyncThreshold = mScheduler->getVsyncSchedule()->minFramePeriod() / 2; in frameIsEarly()
6243 mScheduler->getVsyncSchedule(displayId)->getPendingHardwareVsyncState(); in setPowerModeInternal()