Home
last modified time | relevance | path

Searched refs:LayerRequirement (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.h165 struct LayerRequirement { struct
187 bool operator==(const LayerRequirement& other) const { argument
194 bool operator!=(const LayerRequirement& other) const { return !(*this == other); }
259 RankedFrameRates getRankedFrameRates(const std::vector<LayerRequirement>&, GlobalSignals,
367 UidToFrameRateOverride getFrameRateOverrides(const std::vector<LayerRequirement>&,
439 RankedFrameRates getRankedFrameRatesLocked(const std::vector<LayerRequirement>& layers,
486 float calculateLayerScoreLocked(const LayerRequirement&, Fps refreshRate,
489 float calculateNonExactMatchingLayerScoreLocked(const LayerRequirement&, Fps refreshRate) const
566 std::vector<LayerRequirement> layers;
DLayerHistory.h78 using Summary = std::vector<RefreshRateSelector::LayerRequirement>;
DRefreshRateSelector.cpp62 std::string formatLayerInfo(const RefreshRateSelector::LayerRequirement& layer, float weight) { in formatLayerInfo()
327 float RefreshRateSelector::calculateNonExactMatchingLayerScoreLocked(const LayerRequirement& layer, in calculateNonExactMatchingLayerScoreLocked()
418 float RefreshRateSelector::calculateLayerScoreLocked(const LayerRequirement& layer, Fps refreshRate, in calculateLayerScoreLocked()
477 auto RefreshRateSelector::getRankedFrameRates(const std::vector<LayerRequirement>& layers, in getRankedFrameRates()
493 auto RefreshRateSelector::getRankedFrameRatesLocked(const std::vector<LayerRequirement>& layers, in getRankedFrameRatesLocked()
914 using LayerRequirementPtrs = std::vector<const RefreshRateSelector::LayerRequirement*>;
918 const std::vector<RefreshRateSelector::LayerRequirement>& layers) { in groupLayersByUid()
948 auto RefreshRateSelector::getFrameRateOverrides(const std::vector<LayerRequirement>& layers, in getFrameRateOverrides()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateSelectorTest.cpp50 using LayerRequirement = RefreshRateSelector::LayerRequirement; typedef
105 auto getRankedFrameRates(const std::vector<LayerRequirement>& layers, in getRankedFrameRates()
116 auto getRankedRefreshRatesAsPair(const std::vector<LayerRequirement>& layers, in getRankedRefreshRatesAsPair()
122 FrameRateMode getBestFrameRateMode(const std::vector<LayerRequirement>& layers = {}, in getBestFrameRateMode()
127 ScoredFrameRate getBestScoredFrameRate(const std::vector<LayerRequirement>& layers = {}, in getBestScoredFrameRate()
267 std::vector<LayerRequirement> layers; in testFrameRateCategoryWithMultipleLayers()
277 LayerRequirement layer = {.name = ss.str(), in testFrameRateCategoryWithMultipleLayers()
287 LayerRequirement layer = {.name = ss.str(), in testFrameRateCategoryWithMultipleLayers()
498 std::vector<LayerRequirement> layers = {{.weight = 1.f}}; in TEST_P()
510 std::vector<LayerRequirement> layers = {{.weight = 1.f}}; in TEST_P()
[all …]
DSchedulerTest.cpp253 std::vector<RefreshRateSelector::LayerRequirement> layers = in TEST_F()
254 std::vector<RefreshRateSelector::LayerRequirement>({{.weight = 1.f}, {.weight = 1.f}}); in TEST_F()
297 std::vector<RefreshRateSelector::LayerRequirement> layers = in TEST_F()
298 std::vector<RefreshRateSelector::LayerRequirement>({{.weight = 1.f}, {.weight = 1.f}}); in TEST_F()
373 std::vector<RefreshRateSelector::LayerRequirement> layers = {{.weight = 1.f}, in TEST_F()
DTestableScheduler.h179 void setContentRequirements(std::vector<RefreshRateSelector::LayerRequirement> layers) { in setContentRequirements()
DLayerHistoryIntegrationTest.cpp83 [](const RefreshRateSelector::LayerRequirement& lhs, in summarizeLayerHistory()
84 const RefreshRateSelector::LayerRequirement& rhs) -> bool { in summarizeLayerHistory()
DLayerHistoryTest.cpp77 [](const RefreshRateSelector::LayerRequirement& lhs, in summarizeLayerHistory()
78 const RefreshRateSelector::LayerRequirement& rhs) -> bool { in summarizeLayerHistory()