Home
last modified time | relevance | path

Searched refs:mLastRefreshRate (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.cpp150 isFrequent = !mLastRefreshRate.infrequent; in isFrequent()
155 return {isFrequent, isFrequent && mLastRefreshRate.animating, /* isConclusive */ false}; in isFrequent()
215 if (isMissingPresentTime && !mLastRefreshRate.reported.isValid()) { in calculateAverageFrameTime()
289 if (std::abs(mLastRefreshRate.calculated.getValue() - refreshRate.getValue()) > in calculateRefreshRateIfPossible()
291 mLastRefreshRate.reported != closestKnownRefreshRate) { in calculateRefreshRateIfPossible()
292 mLastRefreshRate.calculated = refreshRate; in calculateRefreshRateIfPossible()
293 mLastRefreshRate.reported = closestKnownRefreshRate; in calculateRefreshRateIfPossible()
297 to_string(refreshRate).c_str(), to_string(mLastRefreshRate.reported).c_str()); in calculateRefreshRateIfPossible()
300 to_string(refreshRate).c_str(), to_string(mLastRefreshRate.reported).c_str()); in calculateRefreshRateIfPossible()
304 return mLastRefreshRate.reported.isValid() ? std::make_optional(mLastRefreshRate.reported) in calculateRefreshRateIfPossible()
[all …]
DLayerInfo.h231 mLastRefreshRate = {}; in onLayerInactive()
347 RefreshRateHeuristicData mLastRefreshRate; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerInfoTest.cpp52 layerInfo.mLastRefreshRate.reported = fps; in setLastRefreshRate()
53 layerInfo.mLastRefreshRate.calculated = fps; in setLastRefreshRate()