Searched refs:mDisplayDevice (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | LogicalDisplayTest.java | 63 private DisplayDevice mDisplayDevice; field in LogicalDisplayTest 75 mDisplayDevice = mock(DisplayDevice.class); in setUp() 80 mLogicalDisplay = new LogicalDisplay(DISPLAY_ID, LAYER_STACK, mDisplayDevice); in setUp() 89 when(mDisplayDevice.getDisplayDeviceInfoLocked()).thenReturn(mDisplayDeviceInfo); in setUp() 112 mDeviceRepo.onDisplayDeviceEvent(mDisplayDevice, DisplayAdapter.DISPLAY_DEVICE_EVENT_ADDED); in setUp() 118 mLogicalDisplay = new LogicalDisplay(DISPLAY_ID, LAYER_STACK, mDisplayDevice); in testLetterbox() 128 mLogicalDisplay.configureDisplayLocked(t, mDisplayDevice, false); in testLetterbox() 149 mLogicalDisplay.configureDisplayLocked(t, mDisplayDevice, false); in testLetterbox() 157 mLogicalDisplay = new LogicalDisplay(DISPLAY_ID, LAYER_STACK, mDisplayDevice, in testNoLetterbox_noAnisotropyCorrectionForInternalDisplay() 174 mLogicalDisplay.configureDisplayLocked(t, mDisplayDevice, false); in testNoLetterbox_noAnisotropyCorrectionForInternalDisplay() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayDevice_SetProjectionTest.cpp | 47 mDisplayDevice(createDisplayDevice()) {} in DisplayDeviceSetProjectionTest() 59 mDisplayDevice->setProjection(ui::ROTATION_0, Rect::INVALID_RECT, Rect::INVALID_RECT); in setDefaultProjection() 64 mDisplayDevice->setProjection(ui::ROTATION_0, Rect(mFlingerDisplaySize), in setProjectionForRotation0() 71 mDisplayDevice->setProjection(ui::ROTATION_90, Rect(swapWH(mFlingerDisplaySize)), in setProjectionForRotation90() 77 mDisplayDevice->setProjection(ui::ROTATION_180, Rect(mFlingerDisplaySize), in setProjectionForRotation180() 84 mDisplayDevice->setProjection(ui::ROTATION_270, Rect(swapWH(mFlingerDisplaySize)), in setProjectionForRotation270() 89 const auto& compositionState = mDisplayDevice->getCompositionDisplay()->getState(); in expectDefaultState() 113 const auto& compositionState = mDisplayDevice->getCompositionDisplay()->getState(); in expectStateForHardwareTransform0() 125 const auto& compositionState = mDisplayDevice->getCompositionDisplay()->getState(); in expectStateForHardwareTransform90() 141 const auto& compositionState = mDisplayDevice->getCompositionDisplay()->getState(); in expectStateForHardwareTransform180() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | WifiDisplayAdapter.java | 86 private WifiDisplayDevice mDisplayDevice; field in WifiDisplayAdapter 398 mDisplayDevice = new WifiDisplayDevice(displayToken, name, width, height, in addDisplayDeviceLocked() 400 sendDisplayDeviceEventLocked(mDisplayDevice, DISPLAY_DEVICE_EVENT_ADDED); in addDisplayDeviceLocked() 404 if (mDisplayDevice != null) { in removeDisplayDeviceLocked() 405 mDisplayDevice.destroyLocked(); in removeDisplayDeviceLocked() 406 sendDisplayDeviceEventLocked(mDisplayDevice, DISPLAY_DEVICE_EVENT_REMOVED); in removeDisplayDeviceLocked() 407 mDisplayDevice = null; in removeDisplayDeviceLocked() 412 if (mDisplayDevice != null && !mDisplayDevice.getNameLocked().equals(name)) { in renameDisplayDeviceLocked() 413 mDisplayDevice.setNameLocked(name); in renameDisplayDeviceLocked() 414 sendDisplayDeviceEventLocked(mDisplayDevice, DISPLAY_DEVICE_EVENT_CHANGED); in renameDisplayDeviceLocked()
|
D | DisplayPowerController.java | 285 private DisplayDevice mDisplayDevice; field in DisplayPowerController 526 mDisplayDevice = mLogicalDisplay.getPrimaryDisplayDeviceLocked(); in DisplayPowerController() 575 mDisplayDevice.getDisplayTokenLocked(), in DisplayPowerController() 576 mDisplayDevice.getDisplayDeviceInfoLocked()); in DisplayPowerController() 863 if (mDisplayDevice != device) { in onDisplayChanged() 865 mDisplayDevice = device; in onDisplayChanged() 2010 final DisplayDeviceConfig ddConfig = mDisplayDevice.getDisplayDeviceConfig(); in createHbmControllerLocked() 2011 final IBinder displayToken = mDisplayDevice.getDisplayTokenLocked(); in createHbmControllerLocked() 2012 final String displayUniqueId = mDisplayDevice.getUniqueId(); in createHbmControllerLocked() 2015 final DisplayDeviceInfo info = mDisplayDevice.getDisplayDeviceInfoLocked(); in createHbmControllerLocked()
|