Searched refs:RefreshRate (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateConfigs.h | 58 class RefreshRate { 67 RefreshRate(DisplayModeId modeId, DisplayModePtr mode, Fps fps, ConstructorTag) in RefreshRate() function 83 bool operator!=(const RefreshRate& other) const { 87 bool operator<(const RefreshRate& other) const { 91 bool operator==(const RefreshRate& other) const { return !(*this != other); } 94 friend std::ostream& operator<<(std::ostream& os, const RefreshRate& refreshRate) { 109 std::unordered_map<DisplayModeId, std::unique_ptr<const RefreshRate>>; 264 RefreshRate getBestRefreshRate(const std::vector<LayerRequirement>& layers, 279 RefreshRate getMaxRefreshRateByPolicy() const EXCLUDES(mLock); 282 RefreshRate getCurrentRefreshRate() const EXCLUDES(mLock); [all …]
|
D | RefreshRateConfigs.cpp | 64 using RefreshRate = RefreshRateConfigs::RefreshRate; typedef 66 std::string RefreshRate::toString() const { in toString() 111 const RefreshRate& refreshRate) const { in isVoteAllowed() 137 const RefreshRate& refreshRate, in calculateLayerScoreLocked() 216 const RefreshRate* refreshRate; 220 RefreshRate RefreshRateConfigs::getBestRefreshRate(const std::vector<LayerRequirement>& layers, in getBestRefreshRate() 230 RefreshRate result = getBestRefreshRateLocked(layers, globalSignals, &signalsConsidered); in getBestRefreshRate() 242 std::optional<RefreshRate> RefreshRateConfigs::getCachedBestRefreshRate( in getCachedBestRefreshRate() 259 RefreshRate RefreshRateConfigs::getBestRefreshRateLocked( in getBestRefreshRateLocked() 433 const RefreshRate* bestRefreshRate = maxVoteLayers > 0 in getBestRefreshRateLocked() [all …]
|
D | Scheduler.h | 60 virtual void changeRefreshRate(const scheduler::RefreshRateConfigs::RefreshRate&, 72 using RefreshRate = scheduler::RefreshRateConfigs::RefreshRate;
|
D | Scheduler.cpp | 804 const RefreshRate& newRefreshRate = mRefreshRateConfigs.getRefreshRateFromModeId(newModeId); in handleTimerStateChanged() 819 const RefreshRate& newRefreshRate = mRefreshRateConfigs.getRefreshRateFromModeId(newModeId); in handleTimerStateChanged()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockSchedulerCallback.h | 28 void(const scheduler::RefreshRateConfigs::RefreshRate&, 37 void changeRefreshRate(const scheduler::RefreshRateConfigs::RefreshRate&, in changeRefreshRate()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateConfigsTest.cpp | 42 using RefreshRate = RefreshRateConfigs::RefreshRate; typedef 53 RefreshRate createRefreshRate(DisplayModePtr displayMode) { in createRefreshRate() 55 RefreshRate::ConstructorTag(0)}; in createRefreshRate() 66 RefreshRate getMinRefreshRateByPolicy(const RefreshRateConfigs& refreshRateConfigs) { in getMinRefreshRateByPolicy() 71 RefreshRate getMinSupportedRefreshRate(const RefreshRateConfigs& refreshRateConfigs) { in getMinSupportedRefreshRate() 76 RefreshRate getMaxSupportedRefreshRate(const RefreshRateConfigs& refreshRateConfigs) { in getMaxSupportedRefreshRate() 150 RefreshRate mExpected60Config = {HWC_CONFIG_ID_60, mConfig60, Fps(60), 151 RefreshRate::ConstructorTag(0)}; 152 RefreshRate mExpectedAlmost60Config = {HWC_CONFIG_ID_60, 154 Fps(60), RefreshRate::ConstructorTag(0)}; [all …]
|
D | TestableSurfaceFlinger.h | 765 void changeRefreshRate(const Scheduler::RefreshRate&, Scheduler::ModeEvent) override {} in changeRefreshRate() argument
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.h | 379 using RefreshRate = scheduler::RefreshRateConfigs::RefreshRate; variable 746 void changeRefreshRate(const Scheduler::RefreshRate&, Scheduler::ModeEvent) override; 1051 void changeRefreshRateLocked(const RefreshRate&, Scheduler::ModeEvent) REQUIRES(mStateLock);
|
D | SurfaceFlinger.cpp | 1755 void SurfaceFlinger::changeRefreshRateLocked(const RefreshRate& refreshRate, in changeRefreshRateLocked() 3133 void SurfaceFlinger::changeRefreshRate(const RefreshRate& refreshRate, Scheduler::ModeEvent event) { in changeRefreshRate()
|