Lines Matching refs:vsyncPeriod
1198 const nsecs_t vsyncPeriod = refreshRate.getPeriodNsecs(); in setActiveModeInternal() local
1201 mUpcomingActiveMode.modeId, vsyncPeriod); in setActiveModeInternal()
1719 std::optional<hal::VsyncPeriodNanos> vsyncPeriod) { in onComposerHalVsync() argument
1740 mScheduler->addResyncSample(timestamp, vsyncPeriod, &periodFlushed); in onComposerHalVsync()
1826 const auto vsyncPeriod = mScheduler->getDisplayStatInfo(now).vsyncPeriod; in previousFrameFence() local
1827 const bool expectedPresentTimeIsTheNextVsync = mExpectedPresentTime - now <= vsyncPeriod; in previousFrameFence()
1859 : stats.vsyncTime + stats.vsyncPeriod; in calculateExpectedPresentTime()
1916 const nsecs_t frameMissedSlop = stats.vsyncPeriod / 2; in onMessageInvalidate()
1981 mFrameTimeline->setSfWakeUp(vsyncId, frameStart, Fps::fromPeriodNsecs(stats.vsyncPeriod)); in onMessageInvalidate()
2209 ? (stats.vsyncPeriod - in setCompositorTimingSnapped()
2210 (mVsyncConfiguration->getCurrentConfigs().late.sfOffset % stats.vsyncPeriod)) in setCompositorTimingSnapped()
2211 : ((-mVsyncConfiguration->getCurrentConfigs().late.sfOffset) % stats.vsyncPeriod); in setCompositorTimingSnapped()
2215 idealLatency = stats.vsyncPeriod; in setCompositorTimingSnapped()
2224 nsecs_t bias = stats.vsyncPeriod / 2; in setCompositorTimingSnapped()
2225 int64_t extraVsyncs = (compositeToPresentLatency - idealLatency + bias) / stats.vsyncPeriod; in setCompositorTimingSnapped()
2227 (extraVsyncs > 0) ? idealLatency + (extraVsyncs * stats.vsyncPeriod) : idealLatency; in setCompositorTimingSnapped()
2231 getBE().mCompositorTiming.interval = stats.vsyncPeriod; in setCompositorTimingSnapped()
2407 size_t numPeriods = static_cast<size_t>(elapsedTime / stats.vsyncPeriod); in postComposition()
2545 .setVsyncPeriod(hwcMode.vsyncPeriod) in loadDisplayModes()
3178 const nsecs_t vsyncPeriod = currRefreshRate.getPeriodNsecs(); in initScheduler() local
3186 /*workDuration=*/std::chrono::nanoseconds(vsyncPeriod), in initScheduler()
3207 vsyncPeriod); in initScheduler()
3222 nsecs_t vsyncPeriod) { in setVsyncConfig() argument
3227 /*workDuration=*/std::chrono::nanoseconds(vsyncPeriod), in setVsyncConfig()
3559 const auto currentVsyncPeriod = mScheduler->getDisplayStatInfo(systemTime()).vsyncPeriod; in frameIsEarly()
4524 const nsecs_t vsyncPeriod = mRefreshRateConfigs->getCurrentRefreshRate().getVsyncPeriod(); in onInitializeDisplays() local
4525 mAnimFrameTracker.setDisplayRefreshPeriod(vsyncPeriod); in onInitializeDisplays()
4529 DisplayStatInfo stats{0 /* vsyncTime */, vsyncPeriod}; in onInitializeDisplays()
4557 const auto vsyncPeriod = mRefreshRateConfigs->getCurrentRefreshRate().getVsyncPeriod(); in setPowerModeInternal() local
4571 mScheduler->resyncToHardwareVsync(true, vsyncPeriod); in setPowerModeInternal()
4601 mScheduler->resyncToHardwareVsync(true, vsyncPeriod); in setPowerModeInternal()
6492 const nsecs_t vsyncPeriod = display->getMode(policy->defaultMode)->getVsyncPeriod(); in setDesiredDisplayModeSpecsInternal() local
6494 policy->defaultMode, vsyncPeriod); in setDesiredDisplayModeSpecsInternal()
6514 const nsecs_t vsyncPeriod = activeMode->getVsyncPeriod(); in setDesiredDisplayModeSpecsInternal() local
6517 vsyncPeriod); in setDesiredDisplayModeSpecsInternal()
6610 auto vsyncPeriod = activeMode->getVsyncPeriod(); in getDesiredDisplayModeSpecs() local
6611 *outPrimaryRefreshRateMin = Fps::fromPeriodNsecs(vsyncPeriod).getValue(); in getDesiredDisplayModeSpecs()
6612 *outPrimaryRefreshRateMax = Fps::fromPeriodNsecs(vsyncPeriod).getValue(); in getDesiredDisplayModeSpecs()
6613 *outAppRequestRefreshRateMin = Fps::fromPeriodNsecs(vsyncPeriod).getValue(); in getDesiredDisplayModeSpecs()
6614 *outAppRequestRefreshRateMax = Fps::fromPeriodNsecs(vsyncPeriod).getValue(); in getDesiredDisplayModeSpecs()