Home
last modified time | relevance | path

Searched refs:RefreshRate (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h41 struct RefreshRate { struct
62 const std::map<RefreshRateType, RefreshRate>& getRefreshRateMap() const { in getRefreshRateMap() argument
67 const RefreshRate& getRefreshRateFromType(RefreshRateType type) const { in getRefreshRateFromType()
77 std::pair<RefreshRateType, const RefreshRate&> getCurrentRefreshRate() const { in getCurrentRefreshRate()
90 const RefreshRate& getRefreshRateFromConfigId(int configId) const { in getRefreshRateFromConfigId()
140 auto buildRefreshRate = [&](int configId) -> RefreshRate { in init()
158 std::vector<const RefreshRate*> sortedRefreshRates; in init()
163 [](const RefreshRate* refreshRate1, const RefreshRate* refreshRate2) { in init()
195 std::vector<RefreshRate> mRefreshRates;
198 std::map<RefreshRateType, RefreshRate> mRefreshRateMap;
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp34 using RefreshRate = RefreshRateConfigs::RefreshRate; typedef
48 void assertRatesEqual(const RefreshRate& left, const RefreshRate& right) { in assertRatesEqual()
95 RefreshRate expectedDefaultConfig = {CONFIG_ID_60, "60fps", 60, VSYNC_60, HWC2_CONFIG_ID_60}; in TEST_F()
97 RefreshRate expectedPerformanceConfig = {CONFIG_ID_90, "90fps", 90, VSYNC_90, in TEST_F()