Searched refs:fromPeriodNsecs (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FrameTimelineTest.cpp | 257 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 …]
|
D | LayerInfoTest.cpp | 61 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()
|
D | FpsTest.cpp | 30 Fps fps2 = Fps::fromPeriodNsecs(static_cast<nsecs_t>(1e9f / 60.0f)); in TEST()
|
D | TransactionSurfaceFrameTest.cpp | 325 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()
|
D | VSyncPredictorTest.cpp | 474 Fps::fromPeriodNsecs(divider * mPeriod))) in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | Fps.h | 33 static constexpr Fps fromPeriodNsecs(nsecs_t period) { return Fps(1e9f / period, period); } in fromPeriodNsecs() function
|
D | SurfaceFlinger.cpp | 1026 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/ |
D | LayerInfo.cpp | 99 return Fps::fromPeriodNsecs(totalTime / (numFrames - 1)) in isFrequent() 196 const auto refreshRate = Fps::fromPeriodNsecs(*averageFrameTime); in calculateRefreshRateIfPossible()
|
D | VSyncPredictor.cpp | 263 RefreshRateConfigs::getFrameRateDivider(Fps::fromPeriodNsecs(mIdealPeriod), frameRate); in isVSyncInPhase()
|
D | RefreshRateConfigs.cpp | 49 const auto refreshRate = Fps::fromPeriodNsecs(mode->getVsyncPeriod()); in constructKnownFrameRates()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayMode.h | 68 mDisplayMode->mFps = Fps::fromPeriodNsecs(vsyncPeriod); in setVsyncPeriod()
|