Searched refs:LayerRequirement (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateSelector.h | 165 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;
|
D | LayerHistory.h | 78 using Summary = std::vector<RefreshRateSelector::LayerRequirement>;
|
D | RefreshRateSelector.cpp | 62 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/ |
D | RefreshRateSelectorTest.cpp | 50 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 …]
|
D | SchedulerTest.cpp | 253 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()
|
D | TestableScheduler.h | 179 void setContentRequirements(std::vector<RefreshRateSelector::LayerRequirement> layers) { in setContentRequirements()
|
D | LayerHistoryIntegrationTest.cpp | 83 [](const RefreshRateSelector::LayerRequirement& lhs, in summarizeLayerHistory() 84 const RefreshRateSelector::LayerRequirement& rhs) -> bool { in summarizeLayerHistory()
|
D | LayerHistoryTest.cpp | 77 [](const RefreshRateSelector::LayerRequirement& lhs, in summarizeLayerHistory() 78 const RefreshRateSelector::LayerRequirement& rhs) -> bool { in summarizeLayerHistory()
|