Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_FoldableTest.cpp101 EXPECT_FALSE(mInnerDisplay->isPoweredOn()); in TEST_F()
102 EXPECT_FALSE(mOuterDisplay->isPoweredOn()); in TEST_F()
120 EXPECT_TRUE(mInnerDisplay->isPoweredOn()); in TEST_F()
121 EXPECT_FALSE(mOuterDisplay->isPoweredOn()); in TEST_F()
141 EXPECT_FALSE(mInnerDisplay->isPoweredOn()); in TEST_F()
142 EXPECT_TRUE(mOuterDisplay->isPoweredOn()); in TEST_F()
161 EXPECT_TRUE(mInnerDisplay->isPoweredOn()); in TEST_F()
162 EXPECT_TRUE(mOuterDisplay->isPoweredOn()); in TEST_F()
DSurfaceFlinger_DisplayModeSwitching.cpp370 EXPECT_TRUE(innerDisplay->isPoweredOn()); in TEST_F()
371 EXPECT_FALSE(outerDisplay->isPoweredOn()); in TEST_F()
443 EXPECT_TRUE(innerDisplay->isPoweredOn()); in TEST_F()
444 EXPECT_FALSE(outerDisplay->isPoweredOn()); in TEST_F()
484 EXPECT_TRUE(mDisplay->isPoweredOn()); in TEST_F()
503 EXPECT_FALSE(mDisplay->isPoweredOn()); in TEST_F()
521 EXPECT_TRUE(innerDisplay->isPoweredOn()); in TEST_F()
522 EXPECT_FALSE(outerDisplay->isPoweredOn()); in TEST_F()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp183 getCompositionDisplay()->setCompositionEnabled(isPoweredOn()); in setPowerMode()
199 bool DisplayDevice::isPoweredOn() const { in isPoweredOn() function in android::DisplayDevice
DDisplayDevice.h175 bool isPoweredOn() const;
DSurfaceFlinger.cpp3310 if (hasPacesetterDisplay && pacesetterDisplay->isPoweredOn()) { in onCompositionPresented()
3315 if (hasPacesetterDisplay && !pacesetterDisplay->isPoweredOn()) { in onCompositionPresented()
6206 activeDisplay->isPoweredOn(), in setPowerModeInternal()
6222 if (isInternalDisplay && (!activeDisplay || !activeDisplay->isPoweredOn())) { in setPowerModeInternal()
6933 toCString(display->getOrientation()), display->isPoweredOn()); in dumpAll()
9123 return idOpt && *idOpt != mActiveDisplayId && display.isPoweredOn() && in getActivatableDisplay()