Home
last modified time | relevance | path

Searched refs:greaterThanWithMargin (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFpsTest.cpp63 EXPECT_TRUE(Fps(60.0f).greaterThanWithMargin(Fps(59.f))); in TEST()
67 EXPECT_TRUE(Fps(60.0f).greaterThanWithMargin(Fps(59.94f))); in TEST()
73 EXPECT_TRUE(Fps(30.0f).greaterThanWithMargin(Fps(29.97f))); in TEST()
/frameworks/native/services/surfaceflinger/
DFps.h48 bool greaterThanWithMargin(const Fps& other) const { return fps > other.fps + kMargin; } in greaterThanWithMargin() function
50 bool lessThanOrEqualWithMargin(const Fps& other) const { return !greaterThanWithMargin(other); } in lessThanOrEqualWithMargin()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp694 refreshRate.getFps().greaterThanWithMargin(FPS_THRESHOLD_FOR_KERNEL_TIMER)) { in kernelIdleTimerCallback()