Home
last modified time | relevance | path

Searched refs:getDesiredMode (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayModeControllerTest.cpp145 EXPECT_FALSE(mDmc.getDesiredMode(mDisplayId)); in TEST_F()
154 EXPECT_DISPLAY_MODE_REQUEST(kDesiredMode90, mDmc.getDesiredMode(mDisplayId)); in TEST_F()
158 EXPECT_DISPLAY_MODE_REQUEST(kDesiredMode120, mDmc.getDesiredMode(mDisplayId)); in TEST_F()
167 EXPECT_TRUE(mDmc.getDesiredMode(mDisplayId)); in TEST_F()
170 EXPECT_FALSE(mDmc.getDesiredMode(mDisplayId)); in TEST_F()
180 EXPECT_DISPLAY_MODE_REQUEST(kDesiredMode90, mDmc.getDesiredMode(mDisplayId)); in TEST_F()
190 EXPECT_FALSE(mDmc.getDesiredMode(mDisplayId)); in TEST_F()
198 EXPECT_FALSE(mDmc.getDesiredMode(mDisplayId)); in TEST_F()
207 EXPECT_DISPLAY_MODE_REQUEST(kDesiredMode90, mDmc.getDesiredMode(mDisplayId)); in TEST_F()
220 EXPECT_DISPLAY_MODE_REQUEST(kDesiredMode120, mDmc.getDesiredMode(mDisplayId)); in TEST_F()
[all …]
DSurfaceFlinger_DisplayModeSwitching.cpp175 EXPECT_FALSE(dmc().getDesiredMode(mDisplayId)); in TEST_F()
183 ASSERT_TRUE(dmc().getDesiredMode(mDisplayId)); in TEST_F()
184 EXPECT_EQ(dmc().getDesiredMode(mDisplayId)->mode.modePtr->getId(), kModeId90); in TEST_F()
195 EXPECT_TRUE(dmc().getDesiredMode(mDisplayId)); in TEST_F()
206 EXPECT_FALSE(dmc().getDesiredMode(mDisplayId)); in TEST_F()
213 EXPECT_FALSE(dmc().getDesiredMode(mDisplayId)); in TEST_F()
220 ASSERT_TRUE(dmc().getDesiredMode(mDisplayId)); in TEST_F()
221 EXPECT_EQ(dmc().getDesiredMode(mDisplayId)->mode.modePtr->getId(), kModeId90); in TEST_F()
234 EXPECT_FALSE(dmc().getDesiredMode(mDisplayId)); in TEST_F()
244 EXPECT_FALSE(dmc().getDesiredMode(mDisplayId)); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Display/
DDisplayModeController.h79 DisplayModeRequestOpt getDesiredMode(PhysicalDisplayId) const EXCLUDES(mDisplayLock);
DDisplayModeController.cpp129 auto DisplayModeController::getDesiredMode(PhysicalDisplayId displayId) const in getDesiredMode() function in android::display::DisplayModeController
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1468 const auto activeModeOpt = mDisplayModeController.getDesiredMode(displayId); in applyActiveMode()
1489 auto desiredModeOpt = mDisplayModeController.getDesiredMode(displayId); in initiateDisplayModeChanges()
1552 const auto desiredModeOpt = mDisplayModeController.getDesiredMode(displayId); in initiateDisplayModeChanges()
7706 mDisplayModeController.getDesiredMode(display->getPhysicalId()) in kernelTimerChanged()