Lines Matching refs:RefreshRate

59     class RefreshRate {
68 RefreshRate(DisplayModePtr mode, ConstructorTag) : mode(mode) {} in RefreshRate() function
84 bool operator!=(const RefreshRate& other) const { return mode != other.mode; }
86 bool operator<(const RefreshRate& other) const {
90 bool operator==(const RefreshRate& other) const { return !(*this != other); }
93 friend std::ostream& operator<<(std::ostream& os, const RefreshRate& refreshRate) {
105 std::unordered_map<DisplayModeId, std::unique_ptr<const RefreshRate>>;
260 RefreshRate getBestRefreshRate(const std::vector<LayerRequirement>& layers,
275 RefreshRate getMaxRefreshRateByPolicy() const EXCLUDES(mLock);
278 RefreshRate getCurrentRefreshRate() const EXCLUDES(mLock);
282 RefreshRate getCurrentRefreshRateByPolicy() const;
287 RefreshRate getRefreshRateFromModeId(DisplayModeId modeId) const EXCLUDES(mLock) { in getRefreshRateFromModeId()
404 const std::function<bool(const RefreshRate&)>& shouldAddRefreshRate,
405 std::vector<const RefreshRate*>* outRefreshRates) REQUIRES(mLock);
407 std::optional<RefreshRate> getCachedBestRefreshRate(const std::vector<LayerRequirement>& layers,
412 RefreshRate getBestRefreshRateLocked(const std::vector<LayerRequirement>& layers,
420 const RefreshRate* getBestRefreshRate(Iter begin, Iter end) const;
428 const RefreshRate& getMinRefreshRateByPolicyLocked() const REQUIRES(mLock);
432 const RefreshRate& getMaxRefreshRateByPolicyLocked() const REQUIRES(mLock);
436 const RefreshRate& getCurrentRefreshRateByPolicyLocked() const REQUIRES(mLock);
442 bool isVoteAllowed(const LayerRequirement&, const RefreshRate&) const;
446 float calculateLayerScoreLocked(const LayerRequirement&, const RefreshRate&,
459 std::vector<const RefreshRate*> mPrimaryRefreshRates GUARDED_BY(mLock);
463 std::vector<const RefreshRate*> mAppRequestRefreshRates GUARDED_BY(mLock);
467 const RefreshRate* mCurrentRefreshRate GUARDED_BY(mLock);
476 const RefreshRate* mMinSupportedRefreshRate GUARDED_BY(mLock);
477 const RefreshRate* mMaxSupportedRefreshRate GUARDED_BY(mLock);
492 RefreshRate resultingBestRefreshRate;