Home
last modified time | relevance | path

Searched refs:isApproxEqual (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameRateOverrideMappingsTest.cpp48 ASSERT_TRUE(isApproxEqual(30.0_Hz, in TEST_F()
51 ASSERT_TRUE(isApproxEqual(60.0_Hz, in TEST_F()
71 ASSERT_TRUE(isApproxEqual(30.0_Hz, in TEST_F()
74 ASSERT_TRUE(isApproxEqual(90.0_Hz, in TEST_F()
89 ASSERT_TRUE(isApproxEqual(60.0_Hz, in TEST_F()
92 ASSERT_TRUE(isApproxEqual(120.0_Hz, in TEST_F()
152 ASSERT_TRUE(isApproxEqual(60.0_Hz, in TEST_F()
155 ASSERT_TRUE(isApproxEqual(30.0_Hz, in TEST_F()
158 ASSERT_TRUE(isApproxEqual(120.0_Hz, in TEST_F()
161 ASSERT_TRUE(isApproxEqual(30.0_Hz, in TEST_F()
[all …]
DSchedulerTest.cpp218 return isApproxEqual(arg.front().mode.fps, 120_Hz);
DRefreshRateSelectorTest.cpp3078 return isApproxEqual(fps, expected.fps); in TEST_P()
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DFps.h112 inline bool isApproxEqual(Fps lhs, Fps rhs) { in isApproxEqual() function
119 return isStrictlyLess(lhs, rhs) && !isApproxEqual(lhs, rhs); in isApproxLess()
125 return isApproxEqual(lhs, rhs);
133 return !isApproxEqual(lhs, rhs);
149 return isApproxEqual(lhs.min, rhs.min) && isApproxEqual(lhs.max, rhs.max);
190 bool operator()(Fps lhs, Fps rhs) const { return isApproxEqual(lhs, rhs); } in operator()
DFrameRateMode.h32 return isApproxEqual(fps, other.fps) && modePtr == other.modePtr;
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.h101 return isApproxEqual(primaryRanges.physical.min, primaryRanges.physical.max); in primaryRangeIsSingleRate()
189 isApproxEqual(desiredRefreshRate, other.desiredRefreshRate) &&
253 isApproxEqual(pacesetterFps, other.pacesetterFps);
574 isApproxEqual(pacesetterFps, other.pacesetterFps); in matches()
DRefreshRateStats.h68 if (isApproxEqual(mCurrentRefreshRate, currRefreshRate)) { in setRefreshRate()
DFrameRateOverrideMappings.cpp127 return lhs.first == rhs.first && isApproxEqual(lhs.second, rhs.second); in updateFrameRateOverridesByContent()
DLayerInfo.h103 return isApproxEqual(rate, other.rate) && type == other.type &&
DRefreshRateSelector.cpp81 isApproxEqual), in constructKnownFrameRates()
1587 return isApproxEqual(bigger, Fps::fromValue(smaller.getValue() * multiplier / kCoef)) || in isFractionalPairOrMultiple()
1588 isApproxEqual(bigger, Fps::fromValue(smaller.getValue() * multiplier * kCoef)); in isFractionalPairOrMultiple()
DLayerInfo.cpp570 if (!isApproxEqual(vote.rate, 0_Hz)) { in isValuelessType()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h127 return (!lhs && !rhs) || (lhs && rhs && isApproxEqual(*lhs, *rhs)); in isOptApproxEqual()
131 return isApproxEqual(refreshRate, o.refreshRate) &&