Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h154 struct LayerRequirement { struct
171 bool operator==(const LayerRequirement& other) const { argument
178 bool operator!=(const LayerRequirement& other) const { return !(*this == other); }
196 const std::vector<LayerRequirement>&, GlobalSignals) const EXCLUDES(mLock);
276 UidToFrameRateOverride getFrameRateOverrides(const std::vector<LayerRequirement>&,
336 const std::vector<LayerRequirement>&, GlobalSignals) const REQUIRES(mLock);
358 float calculateLayerScoreLocked(const LayerRequirement&, Fps refreshRate,
361 float calculateNonExactMatchingLayerScoreLocked(const LayerRequirement&, Fps refreshRate) const
401 std::pair<std::vector<LayerRequirement>, GlobalSignals> arguments;
DRefreshRateConfigs.cpp70 std::string formatLayerInfo(const RefreshRateConfigs::LayerRequirement& layer, float weight) { in formatLayerInfo()
158 float RefreshRateConfigs::calculateNonExactMatchingLayerScoreLocked(const LayerRequirement& layer, in calculateNonExactMatchingLayerScoreLocked()
220 float RefreshRateConfigs::calculateLayerScoreLocked(const LayerRequirement& layer, Fps refreshRate, in calculateLayerScoreLocked()
260 auto RefreshRateConfigs::getBestRefreshRate(const std::vector<LayerRequirement>& layers, in getBestRefreshRate()
275 auto RefreshRateConfigs::getBestRefreshRateLocked(const std::vector<LayerRequirement>& layers, in getBestRefreshRateLocked()
560 std::unordered_map<uid_t, std::vector<const RefreshRateConfigs::LayerRequirement*>>
561 groupLayersByUid(const std::vector<RefreshRateConfigs::LayerRequirement>& layers) { in groupLayersByUid()
562 std::unordered_map<uid_t, std::vector<const RefreshRateConfigs::LayerRequirement*>> layersByUid; in groupLayersByUid()
565 std::vector<const RefreshRateConfigs::LayerRequirement*>()); in groupLayersByUid()
592 const std::vector<LayerRequirement>& layers, Fps displayRefreshRate, in getFrameRateOverrides()
[all …]
DLayerHistory.h66 using Summary = std::vector<RefreshRateConfigs::LayerRequirement>;
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp37 using LayerRequirement = RefreshRateConfigs::LayerRequirement; typedef
64 auto getBestRefreshRateAndSignals(const std::vector<LayerRequirement>& layers, in getBestRefreshRateAndSignals()
69 DisplayModePtr getBestRefreshRate(const std::vector<LayerRequirement>& layers = {}, in getBestRefreshRate()
287 std::vector<LayerRequirement> layers = {{.weight = 1.f}}; in TEST_F()
395 std::vector<LayerRequirement> layers = {{.weight = 1.f}}; in TEST_F()
431 std::vector<LayerRequirement> layers = {{.weight = 1.f}}; in TEST_F()
460 std::vector<LayerRequirement> layers = {{.weight = 1.f}, {.weight = 1.f}}; in TEST_F()
486 std::vector<LayerRequirement> layers = {{.weight = 1.f}, {.weight = 1.f}}; in TEST_F()
567 std::vector<LayerRequirement> layers = {{.weight = 1.f}, {.weight = 1.f}, {.weight = 1.f}}; in TEST_F()
690 std::vector<LayerRequirement> layers = {{.weight = 1.f}}; in TEST_F()
[all …]
DLayerHistoryTest.cpp74 [](const RefreshRateConfigs::LayerRequirement& a, in summarizeLayerHistory()
75 const RefreshRateConfigs::LayerRequirement& b) -> bool { in summarizeLayerHistory()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_scheduler_fuzzer.cpp329 using LayerRequirement = RefreshRateConfigs::LayerRequirement; in fuzzRefreshRateConfigs() typedef
348 std::vector<LayerRequirement> layers = {{.weight = mFdp.ConsumeFloatingPoint<float>()}}; in fuzzRefreshRateConfigs()