Home
last modified time | relevance | path

Searched refs:getPeriodNsecs (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerInfoTest.cpp53 constexpr auto kPeriod = kExpectedFps.getPeriodNsecs(); in TEST_F()
69 constexpr auto kPeriod = kExpectedFps.getPeriodNsecs(); in TEST_F()
85 const auto period = (50_Hz).getPeriodNsecs(); in TEST_F()
126 constexpr auto kExpectedPeriod = kExpectedFps.getPeriodNsecs(); in TEST_F()
127 constexpr auto kSmallPeriod = (250_Hz).getPeriodNsecs(); in TEST_F()
150 constexpr auto kExpectedPeriod = kExpectedFps.getPeriodNsecs(); in TEST_F()
151 constexpr auto kLargePeriod = (9_Hz).getPeriodNsecs(); in TEST_F()
DLayerHistoryTest.cpp58 static constexpr auto LO_FPS_PERIOD = LO_FPS.getPeriodNsecs();
61 static constexpr auto HI_FPS_PERIOD = HI_FPS.getPeriodNsecs();
118 time += frameRate.getPeriodNsecs(); in recordFramesAndExpect()
DVsyncConfigurationTest.cpp138 validateOffsets(offsets, std::chrono::nanoseconds(refreshRate.getPeriodNsecs())); in TEST_F()
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h59 std::chrono::nanoseconds(kMinFpsForFrequentLayer.getPeriodNsecs()) + 1ms;
271 static constexpr nsecs_t kMinPeriodBetweenFrames = (240_Hz).getPeriodNsecs();
275 static constexpr nsecs_t kMaxPeriodBetweenFrames = kMinFpsForFrequentLayer.getPeriodNsecs();
DVsyncSchedule.cpp81 constexpr nsecs_t kInitialPeriod = (60_Hz).getPeriodNsecs(); in createTracker()
DScheduler.h233 return mRefreshRateConfigs->getActiveMode()->getFps().getPeriodNsecs();
DScheduler.cpp176 mVsyncSchedule->getTracker().currentPeriod() ?: refreshRate.getPeriodNsecs(); in makeGetVsyncPeriodFunction()
440 setVsyncPeriod(refreshRate.getPeriodNsecs()); in resyncToHardwareVsync()
DVsyncConfiguration.cpp55 const auto [it, _] = mOffsetsCache.try_emplace(fps, constructOffsets(fps.getPeriodNsecs())); in getConfigsForRefreshRateLocked()
DRefreshRateConfigs.cpp162 const auto displayPeriod = refreshRate.getPeriodNsecs(); in calculateNonExactMatchingLayerScoreLocked()
163 const auto layerPeriod = layer.desiredRefreshRate.getPeriodNsecs(); in calculateNonExactMatchingLayerScoreLocked()
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.cpp518 const nsecs_t deltaToVsync = refreshRate.getPeriodNsecs() > 0 in classifyJankLocked()
519 ? std::abs(presentDelta) % refreshRate.getPeriodNsecs() in classifyJankLocked()
542 deltaToVsync >= refreshRate.getPeriodNsecs() - in classifyJankLocked()
563 nsecs_t adjustedDeadline = mLastLatchTime + refreshRate.getPeriodNsecs(); in classifyJankLocked()
580 deltaToVsync >= refreshRate.getPeriodNsecs() - in classifyJankLocked()
912 deltaToVsync = mRefreshRate.getPeriodNsecs() > 0 in classifyJank()
913 ? std::abs(presentDelta) % mRefreshRate.getPeriodNsecs() in classifyJank()
943 deltaToVsync >= (mRefreshRate.getPeriodNsecs() - in classifyJank()
972 deltaToVsync >= (mRefreshRate.getPeriodNsecs() - in classifyJank()
985 mRefreshRate.getPeriodNsecs() + in classifyJank()
[all …]
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_scheduler_fuzzer.cpp35 constexpr nsecs_t kVsyncPeriods[] = {(30_Hz).getPeriodNsecs(), (60_Hz).getPeriodNsecs(),
36 (72_Hz).getPeriodNsecs(), (90_Hz).getPeriodNsecs(),
37 (120_Hz).getPeriodNsecs()};
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplayMode.h30 .setVsyncPeriod(refreshRate.getPeriodNsecs())
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DFps.h55 constexpr nsecs_t getPeriodNsecs() const { return mPeriod; } in getPeriodNsecs() function
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayMode.h134 nsecs_t getVsyncPeriod() const { return mFps.getPeriodNsecs(); } in getVsyncPeriod()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp267 return getActiveMode()->getFps().getPeriodNsecs(); in getVsyncPeriodFromHWC()
DSurfaceFlinger.cpp2349 const auto vsyncPeriod = stats.vsyncPeriod ?: (60_Hz).getPeriodNsecs(); in setCompositorTimingSnapped()
3444 const nsecs_t vsyncPeriod = currRefreshRate.getPeriodNsecs(); in initScheduler()
3477 refreshRate.getPeriodNsecs()); in updatePhaseConfiguration()
7231 auto pipelineDepth = presentLatency.count() / refreshRate.getPeriodNsecs(); in calculateMaxAcquiredBufferCount()
7232 if (presentLatency.count() % refreshRate.getPeriodNsecs()) { in calculateMaxAcquiredBufferCount()