Home
last modified time | relevance | path

Searched refs:getDesiredRefreshRateAndHDR (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHistoryTest.cpp52 EXPECT_FLOAT_EQ(0.f, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F()
60 EXPECT_FLOAT_EQ(MAX_REFRESH_RATE, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F()
71 EXPECT_FLOAT_EQ(0.0f, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F()
72 EXPECT_EQ(true, mLayerHistory->getDesiredRefreshRateAndHDR().second); in TEST_F()
75 EXPECT_FLOAT_EQ(0.0f, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F()
76 EXPECT_EQ(false, mLayerHistory->getDesiredRefreshRateAndHDR().second); in TEST_F()
90 EXPECT_FLOAT_EQ(30.f, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F()
108 EXPECT_FLOAT_EQ(MAX_REFRESH_RATE, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F()
115 EXPECT_FLOAT_EQ(MAX_REFRESH_RATE, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F()
121 EXPECT_FLOAT_EQ(MAX_REFRESH_RATE, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistory.h66 std::pair<float, bool> getDesiredRefreshRateAndHDR();
DLayerHistory.cpp122 std::pair<float, bool> LayerHistory::getDesiredRefreshRateAndHDR() { in getDesiredRefreshRateAndHDR() function in android::scheduler::LayerHistory
DScheduler.cpp361 auto [refreshRate, isHDR] = mLayerHistory.getDesiredRefreshRateAndHDR(); in updateFpsBasedOnContent()