Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h182 struct GlobalSignals { struct
188 bool operator==(GlobalSignals other) const { argument
195 std::pair<DisplayModePtr, GlobalSignals> getBestRefreshRate(
196 const std::vector<LayerRequirement>&, GlobalSignals) const EXCLUDES(mLock);
277 Fps displayFrameRate, GlobalSignals) const
335 std::pair<DisplayModePtr, GlobalSignals> getBestRefreshRateLocked(
336 const std::vector<LayerRequirement>&, GlobalSignals) const REQUIRES(mLock);
401 std::pair<std::vector<LayerRequirement>, GlobalSignals> arguments;
402 std::pair<DisplayModePtr, GlobalSignals> result;
DScheduler.h261 using GlobalSignals = RefreshRateConfigs::GlobalSignals;
268 GlobalSignals applyPolicy(S Policy::*, T&&) EXCLUDES(mPolicyLock);
271 std::pair<DisplayModePtr, GlobalSignals> chooseDisplayMode() REQUIRES(mPolicyLock);
273 bool updateFrameRateOverrides(GlobalSignals, Fps displayRefreshRate) REQUIRES(mPolicyLock);
DRefreshRateConfigs.cpp68 constexpr RefreshRateConfigs::GlobalSignals kNoSignals;
261 GlobalSignals signals) const in getBestRefreshRate()
262 -> std::pair<DisplayModePtr, GlobalSignals> { in getBestRefreshRate()
276 GlobalSignals signals) const in getBestRefreshRateLocked()
277 -> std::pair<DisplayModePtr, GlobalSignals> { in getBestRefreshRateLocked()
342 return {max, GlobalSignals{.touch = true}}; in getBestRefreshRateLocked()
354 return {min, GlobalSignals{.idle = true}}; in getBestRefreshRateLocked()
554 return {touchRefreshRate, GlobalSignals{.touch = true}}; in getBestRefreshRateLocked()
593 GlobalSignals globalSignals) const { in getFrameRateOverrides()
DScheduler.cpp651 bool Scheduler::updateFrameRateOverrides(GlobalSignals consideredSignals, Fps displayRefreshRate) { in updateFrameRateOverrides()
667 auto Scheduler::applyPolicy(S Policy::*statePtr, T&& newState) -> GlobalSignals { in applyPolicy()
669 GlobalSignals consideredSignals; in applyPolicy()
707 auto Scheduler::chooseDisplayMode() -> std::pair<DisplayModePtr, GlobalSignals> { in chooseDisplayMode()
717 constexpr GlobalSignals kNoSignals; in chooseDisplayMode()
721 const GlobalSignals signals{.touch = mTouchTimer && mPolicy.touch == TouchState::Active, in chooseDisplayMode()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp65 GlobalSignals signals) const { in getBestRefreshRateAndSignals()
70 GlobalSignals signals = {}) const {
1719 using GlobalSignals = RefreshRateConfigs::GlobalSignals; in TEST_F() typedef
1721 GlobalSignals{.touch = true, .idle = true}); in TEST_F()
1722 const auto result = std::make_pair(kMode90, GlobalSignals{.touch = true}); in TEST_F()
1735 RefreshRateConfigs::GlobalSignals globalSignals{.touch = true, .idle = true}; in TEST_F()
1830 const RefreshRateConfigs::GlobalSignals globalSignals = {.touch = false, .idle = false}; in TEST_F()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_scheduler_fuzzer.cpp347 const RefreshRateConfigs::GlobalSignals globalSignals = {.touch = false, .idle = false}; in fuzzRefreshRateConfigs()