Searched refs:fromPeriodNsecs (Results 1 – 11 of 11) sorted by relevance
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | FrameTimelineTest.cpp | 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() 511 Fps refreshRate = Fps::fromPeriodNsecs(11); in TEST_F() 538 Fps refreshRate = Fps::fromPeriodNsecs(30); in TEST_F() 588 Fps refreshRate = Fps::fromPeriodNsecs(32); in TEST_F() 614 Fps refreshRate = Fps::fromPeriodNsecs(16); in TEST_F() 668 Fps renderRate = Fps::fromPeriodNsecs(30); in TEST_F() 696 Fps renderRate = Fps::fromPeriodNsecs(30); in TEST_F() 1467 Fps vsyncRate = Fps::fromPeriodNsecs(11); in TEST_F() [all …]
|
H A 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()
|
H A D | TransactionSurfaceFrameTest.cpp | 333 presentedSurfaceFrame->onPresent(20, JankType::None, Fps::fromPeriodNsecs(11), in PendingSurfaceFramesRemovedAfterClassification() 447 surfaceFrame->onPresent(20, JankType::None, Fps::fromPeriodNsecs(11), in MultipleCommitsBeforeLatch() 450 presentedBufferSurfaceFrame->onPresent(20, JankType::None, Fps::fromPeriodNsecs(11), in MultipleCommitsBeforeLatch()
|
H A D | FpsTest.cpp | 30 Fps fps2 = Fps::fromPeriodNsecs(static_cast<nsecs_t>(1e9f / 60.0f)); in TEST()
|
H A D | VSyncPredictorTest.cpp | 474 Fps::fromPeriodNsecs(divider * mPeriod))) in TEST_F()
|
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/ |
H A D | LayerInfo.cpp | 98 return Fps::fromPeriodNsecs(totalTime / (numFrames - 1)) in isFrequent() 196 const auto refreshRate = Fps::fromPeriodNsecs(*averageFrameTime); in calculateRefreshRateIfPossible()
|
H A D | VSyncPredictor.cpp | 263 RefreshRateConfigs::getFrameRateDivider(Fps::fromPeriodNsecs(mIdealPeriod), frameRate); in isVSyncInPhase()
|
H A D | RefreshRateConfigs.cpp | 50 const auto refreshRate = Fps::fromPeriodNsecs(mode->getVsyncPeriod()); in constructKnownFrameRates()
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | Fps.h | 33 static constexpr Fps fromPeriodNsecs(nsecs_t period) { return Fps(1e9f / period, period); } in fromPeriodNsecs() function
|
H A D | SurfaceFlinger.cpp | 1046 outMode.refreshRate = Fps::fromPeriodNsecs(period).getValue(); in getDynamicDisplayInfo() 1994 mFrameTimeline->setSfWakeUp(vsyncId, frameStart, Fps::fromPeriodNsecs(stats.vsyncPeriod)); in onMessageInvalidate()
|
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | DisplayMode.h | 74 mDisplayMode->mFps = Fps::fromPeriodNsecs(vsyncPeriod); in setVsyncPeriod()
|