Searched refs:inPolicy (Results 1 – 3 of 3) sorted by relevance
411 bool inPrimaryRange = scores[i].refreshRate->inPolicy(policy->primaryRange.min, in getBestRefreshRateLocked()740 if (!refreshRate.inPolicy(policy.primaryRange.min, policy.primaryRange.max)) { in isPolicyValidLocked()847 refreshRate.inPolicy(min, max); in constructAvailableRefreshRates()
78 bool inPolicy(Fps minRefreshRate, Fps maxRefreshRate) const { in inPolicy() function
1013 ASSERT_TRUE(mExpectedAlmost60Config.inPolicy(Fps(60.000004f), Fps(60.000004f))); in TEST_F()1014 ASSERT_TRUE(mExpectedAlmost60Config.inPolicy(Fps(59.0f), Fps(60.1f))); in TEST_F()1015 ASSERT_FALSE(mExpectedAlmost60Config.inPolicy(Fps(75.0f), Fps(90.0f))); in TEST_F()1016 ASSERT_FALSE(mExpectedAlmost60Config.inPolicy(Fps(60.0011f), Fps(90.0f))); in TEST_F()1017 ASSERT_FALSE(mExpectedAlmost60Config.inPolicy(Fps(50.0f), Fps(59.998f))); in TEST_F()