Home
last modified time | relevance | path

Searched refs:DISPLAY_PRIMARY (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp397 mThread->onHotplugReceived(DisplayDevice::DISPLAY_PRIMARY, false); in TEST_F()
398 expectHotplugEventReceivedByConnection(DisplayDevice::DISPLAY_PRIMARY, false); in TEST_F()
402 mThread->onHotplugReceived(DisplayDevice::DISPLAY_PRIMARY, true); in TEST_F()
403 expectHotplugEventReceivedByConnection(DisplayDevice::DISPLAY_PRIMARY, true); in TEST_F()
DTestableSurfaceFlinger.h312 if (mType >= DisplayDevice::DISPLAY_PRIMARY && mType < DisplayDevice::DISPLAY_VIRTUAL) { in inject()
DDisplayTransactionTest.cpp393 PhysicalDisplayVariant<1001, DisplayDevice::DISPLAY_PRIMARY, 3840, 2160, Critical::TRUE>;
1178 EXPECT_EQ(Case::Display::TYPE == DisplayDevice::DISPLAY_PRIMARY, device->isPrimary()); in verifyDisplayIsConnected()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h69 DISPLAY_PRIMARY = HWC_DISPLAY_PRIMARY, enumerator
136 bool isPrimary() const { return mType == DISPLAY_PRIMARY; } in isPrimary()
320 bool isMainDisplay() const { return type == DisplayDevice::DISPLAY_PRIMARY; } in isMainDisplay()
DEventThread.cpp322 mVSyncEvent[0].header.id = DisplayDevice::DISPLAY_PRIMARY; in waitForEventLocked()
368 mVSyncEvent[DisplayDevice::DISPLAY_PRIMARY].vsync.count); in dump()
DSurfaceFlinger.cpp856 if (type == DisplayDevice::DISPLAY_PRIMARY) { in getDisplayConfigs()
907 if (type == DisplayDevice::DISPLAY_PRIMARY && in getDisplayConfigs()
1342 if (type == DisplayDevice::DISPLAY_PRIMARY && mPrimaryHWVsyncEnabled) { in onVsyncReceived()
1432 mBuiltinDisplays[DisplayDevice::DISPLAY_PRIMARY])->getPowerMode(); in updateVrFlinger()
1458 mBuiltinDisplays[DisplayDevice::DISPLAY_PRIMARY])); in updateVrFlinger()
2205 getBE().mHwc->getHwcDisplayId(DisplayDevice::DISPLAY_PRIMARY); in determineDisplayType()
2209 return DisplayDevice::DISPLAY_PRIMARY; in determineDisplayType()
2213 return DisplayDevice::DISPLAY_PRIMARY; in determineDisplayType()
2242 info.displayName = displayType == DisplayDevice::DISPLAY_PRIMARY ? in processDisplayHotplugEventsLocked()
2300 renderSurface->setCritical(state.type == DisplayDevice::DISPLAY_PRIMARY); in setupNewDisplayDeviceInternal()
[all …]
DDisplayDevice.cpp612 if (mType == DisplayType::DISPLAY_PRIMARY) { in setProjection()
634 if (mType == DisplayType::DISPLAY_PRIMARY) { in setProjection()
DSurfaceFlinger.h619 return getDisplayDeviceLocked(mBuiltinDisplays[DisplayDevice::DISPLAY_PRIMARY]); in getDefaultDisplayDeviceLocked()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp142 displayType == DisplayDevice::DISPLAY_PRIMARY ? "primary" : "external", in onHotplug()