Home
last modified time | relevance | path

Searched refs:desiredRefreshRate (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp298 lr.desiredRefreshRate = 90_Hz; in TEST_F()
303 lr.desiredRefreshRate = 60_Hz; in TEST_F()
307 lr.desiredRefreshRate = 45_Hz; in TEST_F()
311 lr.desiredRefreshRate = 30_Hz; in TEST_F()
315 lr.desiredRefreshRate = 24_Hz; in TEST_F()
328 lr.desiredRefreshRate = 90_Hz; in TEST_F()
332 lr.desiredRefreshRate = 60_Hz; in TEST_F()
335 lr.desiredRefreshRate = 45_Hz; in TEST_F()
338 lr.desiredRefreshRate = 30_Hz; in TEST_F()
341 lr.desiredRefreshRate = 24_Hz; in TEST_F()
[all …]
DLayerHistoryTest.cpp114 Fps desiredRefreshRate, int numFrames) { in recordFramesAndExpect() argument
125 ASSERT_EQ(desiredRefreshRate, summary[0].desiredRefreshRate); in recordFramesAndExpect()
220 EXPECT_EQ(LO_FPS, summarizeLayerHistory(time)[0].desiredRefreshRate); in TEST_F()
326 EXPECT_EQ(73.4_Hz, summarizeLayerHistory(time)[0].desiredRefreshRate); in TEST_F()
335 EXPECT_EQ(73.4_Hz, summarizeLayerHistory(time)[0].desiredRefreshRate); in TEST_F()
359 EXPECT_EQ(73.4_Hz, summarizeLayerHistory(time)[0].desiredRefreshRate); in TEST_F()
369 EXPECT_EQ(73.4_Hz, summarizeLayerHistory(time)[0].desiredRefreshRate); in TEST_F()
421 EXPECT_EQ(HI_FPS, summarizeLayerHistory(time)[1].desiredRefreshRate); in TEST_F()
436 EXPECT_EQ(LO_FPS, summary[0].desiredRefreshRate); in TEST_F()
455 EXPECT_EQ(LO_FPS, summary[0].desiredRefreshRate); in TEST_F()
[all …]
DSetFrameRateTest.cpp397 EXPECT_EQ(FRAME_RATE_VOTE1.rate, summary[0].desiredRefreshRate); in TEST_P()
398 EXPECT_EQ(FRAME_RATE_VOTE1.rate, summary[1].desiredRefreshRate); in TEST_P()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h162 Fps desiredRefreshRate; member
173 isApproxEqual(desiredRefreshRate, other.desiredRefreshRate) &&
DRefreshRateConfigs.cpp74 to_string(layer.desiredRefreshRate).c_str()); in formatLayerInfo()
163 const auto layerPeriod = layer.desiredRefreshRate.getPeriodNsecs(); in calculateNonExactMatchingLayerScoreLocked()
185 if (isFractionalPairOrMultiple(refreshRate, layer.desiredRefreshRate)) { in calculateNonExactMatchingLayerScoreLocked()
235 const int divisor = getFrameRateDivisor(refreshRate, layer.desiredRefreshRate); in calculateLayerScoreLocked()
248 if (getFrameRateDivisor(refreshRate, layer.desiredRefreshRate) > 0) { in calculateLayerScoreLocked()
381 layer.desiredRefreshRate.getValue()); in getBestRefreshRateLocked()
455 layer.desiredRefreshRate < in getBestRefreshRateLocked()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_scheduler_fuzzer.cpp354 layers[0].desiredRefreshRate = Fps::fromValue(mFdp.ConsumeFloatingPoint<float>()); in fuzzRefreshRateConfigs()