Home
last modified time | relevance | path

Searched defs:TestableRefreshRateSelector (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateSelectorTest.cpp57 struct TestableRefreshRateSelector : RefreshRateSelector { struct
63 void setActiveMode(DisplayModeId modeId, Fps renderFrameRate) { in setActiveMode()
68 const DisplayMode& getActiveMode() const { in getActiveMode()
73 ftl::NonNull<DisplayModePtr> getMinSupportedRefreshRate() const { in getMinSupportedRefreshRate()
78 ftl::NonNull<DisplayModePtr> getMaxSupportedRefreshRate() const { in getMaxSupportedRefreshRate()
83 ftl::NonNull<DisplayModePtr> getMinRefreshRateByPolicy() const { in getMinRefreshRateByPolicy()
88 ftl::NonNull<DisplayModePtr> getMaxRefreshRateByPolicy() const { in getMaxRefreshRateByPolicy()
94 FrameRateRanking rankRefreshRates(std::optional<int> anchorGroupOpt, in rankRefreshRates()
100 const std::vector<Fps>& knownFrameRates() const { return mKnownFrameRates; } in knownFrameRates()
103 auto& mutableGetRankedRefreshRatesCache() { return mGetRankedFrameRatesCache; } in mutableGetRankedRefreshRatesCache()
[all …]