Searched refs:GlobalSignals (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateSelector.h | 204 struct GlobalSignals { struct 213 bool operator==(GlobalSignals other) const { argument 248 GlobalSignals consideredSignals; 259 RankedFrameRates getRankedFrameRates(const std::vector<LayerRequirement>&, GlobalSignals, 368 Fps displayFrameRate, GlobalSignals) const 440 GlobalSignals signals, Fps pacesetterFps) const 567 GlobalSignals signals;
|
D | Scheduler.h | 74 using GlobalSignals = RefreshRateSelector::GlobalSignals; variable 329 bool updateFrameRateOverrides(GlobalSignals, Fps displayRefreshRate) EXCLUDES(mPolicyLock); 418 GlobalSignals applyPolicy(S Policy::*, T&&) EXCLUDES(mPolicyLock); 421 DisplayModeChoice(FrameRateMode mode, GlobalSignals consideredSignals) in DisplayModeChoice() 430 GlobalSignals consideredSignals; 449 GlobalSignals makeGlobalSignals() const REQUIRES(mPolicyLock); 451 bool updateFrameRateOverridesLocked(GlobalSignals, Fps displayRefreshRate)
|
D | RefreshRateSelector.cpp | 60 constexpr RefreshRateSelector::GlobalSignals kNoSignals; 478 GlobalSignals signals, Fps pacesetterFps) const in getRankedFrameRates() 494 GlobalSignals signals, Fps pacesetterFps) const in getRankedFrameRatesLocked() 526 return {ranking, GlobalSignals{.powerOnImminent = true}}; in getRankedFrameRatesLocked() 613 return {ranking, GlobalSignals{.touch = true}}; in getRankedFrameRatesLocked() 624 return {ranking, GlobalSignals{.idle = true}}; in getRankedFrameRatesLocked() 894 return {touchRefreshRates, GlobalSignals{.touch = true}}; in getRankedFrameRatesLocked() 950 GlobalSignals globalSignals) const in getFrameRateOverrides()
|
D | Scheduler.cpp | 910 bool Scheduler::updateFrameRateOverrides(GlobalSignals consideredSignals, Fps displayRefreshRate) { in updateFrameRateOverrides() 915 bool Scheduler::updateFrameRateOverridesLocked(GlobalSignals consideredSignals, in updateFrameRateOverridesLocked() 1094 auto Scheduler::applyPolicy(S Policy::*statePtr, T&& newState) -> GlobalSignals { in applyPolicy() 1097 GlobalSignals consideredSignals; in applyPolicy() 1190 GlobalSignals Scheduler::makeGlobalSignals() const { in makeGlobalSignals()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerTest.cpp | 256 GlobalSignals globalSignals = {.idle = true}; in TEST_F() 363 const GlobalSignals globalSignals = {.idle = true}; in TEST_F() 371 GlobalSignals{}); in TEST_F() 382 const GlobalSignals globalSignals = {.idle = false}; in TEST_F() 390 GlobalSignals{}); in TEST_F() 398 const GlobalSignals globalSignals = {.touch = true}; in TEST_F() 409 GlobalSignals{}); in TEST_F() 423 const GlobalSignals globalSignals = {.touch = true}; in TEST_F() 432 GlobalSignals{})(kDisplayId3, in TEST_F() 435 GlobalSignals{}); in TEST_F() [all …]
|
D | TestableScheduler.h | 173 void setTouchStateAndIdleTimerPolicy(GlobalSignals globalSignals) { in setTouchStateAndIdleTimerPolicy()
|
D | RefreshRateSelectorTest.cpp | 106 GlobalSignals signals = {}, Fps pacesetterFps = {}) const { in getRankedFrameRates() 117 GlobalSignals signals) const { in getRankedRefreshRatesAsPair() 123 GlobalSignals signals = {}) const { 128 GlobalSignals signals = {}) const { 1477 constexpr RefreshRateSelector::GlobalSignals kNoSignals; in TEST_P() 2019 const RefreshRateSelector::GlobalSignals& signals) { in TEST_P() 3146 using GlobalSignals = RefreshRateSelector::GlobalSignals; in TEST_P() typedef 3149 GlobalSignals{.touch = true}}; in TEST_P() 3152 .signals = GlobalSignals{.touch = true, in TEST_P() 3166 const RefreshRateSelector::GlobalSignals globalSignals{.touch = true, .idle = true}; in TEST_P() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 8772 if (mScheduler->updateFrameRateOverrides(scheduler::GlobalSignals{}, preferredFps)) { in applyRefreshRateSelectorPolicy()
|