Home
last modified time | relevance | path

Searched refs:fromPeriodNsecs (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTimelineTest.cpp257 mFrameTimeline->setSfWakeUp(token1, 20, Fps::fromPeriodNsecs(11)); in TEST_F()
287 mFrameTimeline->setSfWakeUp(sfToken1, 22, Fps::fromPeriodNsecs(11)); in TEST_F()
330 mFrameTimeline->setSfWakeUp(sfToken, 22 + frameTimeFactor, Fps::fromPeriodNsecs(11)); in TEST_F()
352 mFrameTimeline->setSfWakeUp(sfToken, 22 + frameTimeFactor, Fps::fromPeriodNsecs(11)); in TEST_F()
395 mFrameTimeline->setSfWakeUp(sfToken, 22, Fps::fromPeriodNsecs(11)); in TEST_F()
412 mFrameTimeline->setSfWakeUp(sfToken, 22, Fps::fromPeriodNsecs(11)); in TEST_F()
429 mFrameTimeline->setSfWakeUp(sfToken, 22, Fps::fromPeriodNsecs(11)); in TEST_F()
438 Fps refreshRate = Fps::fromPeriodNsecs(11); in TEST_F()
466 Fps refreshRate = Fps::fromPeriodNsecs(11); in TEST_F()
486 Fps refreshRate = Fps::fromPeriodNsecs(11); in TEST_F()
[all …]
DLayerInfoTest.cpp61 const auto averageFps = Fps::fromPeriodNsecs(*averageFrameTime); in TEST_F()
80 const auto averageFps = Fps::fromPeriodNsecs(*averageFrameTime); in TEST_F()
144 const auto averageFps = Fps::fromPeriodNsecs(*averageFrameTime); in TEST_F()
175 const auto averageFps = Fps::fromPeriodNsecs(*averageFrameTime); in TEST_F()
DFpsTest.cpp30 Fps fps2 = Fps::fromPeriodNsecs(static_cast<nsecs_t>(1e9f / 60.0f)); in TEST()
DTransactionSurfaceFrameTest.cpp325 presentedSurfaceFrame->onPresent(20, JankType::None, Fps::fromPeriodNsecs(11), in PendingSurfaceFramesRemovedAfterClassification()
436 surfaceFrame->onPresent(20, JankType::None, Fps::fromPeriodNsecs(11), in MultipleCommitsBeforeLatch()
439 presentedBufferSurfaceFrame->onPresent(20, JankType::None, Fps::fromPeriodNsecs(11), in MultipleCommitsBeforeLatch()
DVSyncPredictorTest.cpp474 Fps::fromPeriodNsecs(divider * mPeriod))) in TEST_F()
/frameworks/native/services/surfaceflinger/
DFps.h33 static constexpr Fps fromPeriodNsecs(nsecs_t period) { return Fps(1e9f / period, period); } in fromPeriodNsecs() function
DSurfaceFlinger.cpp1026 outMode.refreshRate = Fps::fromPeriodNsecs(period).getValue(); in getDynamicDisplayInfo()
1981 mFrameTimeline->setSfWakeUp(vsyncId, frameStart, Fps::fromPeriodNsecs(stats.vsyncPeriod)); in onMessageInvalidate()
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()
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.cpp99 return Fps::fromPeriodNsecs(totalTime / (numFrames - 1)) in isFrequent()
196 const auto refreshRate = Fps::fromPeriodNsecs(*averageFrameTime); in calculateRefreshRateIfPossible()
DVSyncPredictor.cpp263 RefreshRateConfigs::getFrameRateDivider(Fps::fromPeriodNsecs(mIdealPeriod), frameRate); in isVSyncInPhase()
DRefreshRateConfigs.cpp49 const auto refreshRate = Fps::fromPeriodNsecs(mode->getVsyncPeriod()); in constructKnownFrameRates()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayMode.h68 mDisplayMode->mFps = Fps::fromPeriodNsecs(vsyncPeriod); in setVsyncPeriod()