/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DeviceStateToLayoutMapTest.java | 24 import android.view.DisplayAddress; 77 DisplayAddress.fromPhysicalDisplayId(78910L)); in testInitialState() 141 testLayout.createDisplayLocked(DisplayAddress.fromPhysicalDisplayId(345L), in testWholeStateConfig() 148 testLayout.createDisplayLocked(DisplayAddress.fromPhysicalDisplayId(678L), in testWholeStateConfig() 166 DisplayAddress.fromPhysicalDisplayId(111L)); in testLeadDisplayAddress() 171 layout.getByAddress(DisplayAddress.fromPhysicalDisplayId(111)); in testLeadDisplayAddress() 173 layout.getByAddress(DisplayAddress.fromPhysicalDisplayId(222)); in testLeadDisplayAddress() 186 layout.getByAddress(DisplayAddress.fromPhysicalDisplayId(123456)); in testLeadDisplayAddress_defaultDisplay() 199 layout.getByAddress(DisplayAddress.fromPhysicalDisplayId(222)); in testLeadDisplayAddress_noLeadDisplay() 210 () -> layout.createDisplayLocked(DisplayAddress.fromPhysicalDisplayId(123L), in testLeadDisplayAddress_selfLeadDisplayForNonDefaultDisplay() [all …]
|
D | TestUtils.java | 24 import android.view.DisplayAddress; 98 public static class TestDisplayAddress extends DisplayAddress {
|
D | LocalDisplayAdapterTest.java | 50 import android.view.DisplayAddress; 133 private LinkedList<DisplayAddress.Physical> mAddresses = new LinkedList<>(); 311 final DisplayAddress.Physical address = (DisplayAddress.Physical) info.address; in assertDisplayPrivateFlag() 1291 final DisplayAddress.Physical physical = (DisplayAddress.Physical) info.address; in assertDisplayDpi() 1330 public final DisplayAddress.Physical address; 1393 for (DisplayAddress.Physical address : mAddresses) { in updateAvailableDisplays() 1400 private static DisplayAddress.Physical createDisplayAddress(int port) { in createDisplayAddress() 1401 return DisplayAddress.fromPortAndModel(port, DISPLAY_MODEL); in createDisplayAddress()
|
D | LogicalDisplayMapperTest.java | 76 import android.view.DisplayAddress; 985 DisplayAddress displayAddressOne = new TestUtils.TestDisplayAddress(); in testEnabledAndDisabledDisplays() 986 DisplayAddress displayAddressTwo = new TestUtils.TestDisplayAddress(); in testEnabledAndDisabledDisplays() 987 DisplayAddress displayAddressThree = new TestUtils.TestDisplayAddress(); in testEnabledAndDisabledDisplays() 1225 private void createDefaultDisplay(Layout layout, DisplayAddress address) { in createDefaultDisplay() 1234 private void createNonDefaultDisplay(Layout layout, DisplayAddress address, boolean enabled, in createNonDefaultDisplay() 1259 DisplayAddress address, String uniqueId, int type, int width, int height, int flags) { in createDisplayDevice()
|
/frameworks/base/services/core/java/com/android/server/display/layout/ |
D | Layout.java | 28 import android.view.DisplayAddress; 78 public void createDefaultDisplayLocked(@NonNull DisplayAddress address, in createDefaultDisplayLocked() 107 @NonNull DisplayAddress address, boolean isDefault, boolean isEnabled, in createDisplayLocked() 109 @Nullable DisplayAddress leadDisplayAddress, String brightnessThrottlingMapId, in createDisplayLocked() 174 DisplayAddress leadDisplayAddress = display.getLeadDisplayAddress(); in postProcessLocked() 202 public boolean contains(@NonNull DisplayAddress address) { in contains() 228 public Display getByAddress(@NonNull DisplayAddress address) { in getByAddress() 234 if (DisplayAddress.Physical.isPortMatch(address, display.getAddress())) { in getByAddress() 265 DisplayAddress leadDisplayAddress = display.getLeadDisplayAddress(); in hasCyclicLeadDisplay() 280 private final DisplayAddress mAddress; [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DeviceStateToLayoutMap.java | 25 import android.view.DisplayAddress; 140 final DisplayAddress address = getDisplayAddressForLayoutDisplay(d); in loadLayoutsFromConfig() 144 DisplayAddress leadDisplayAddress = leadDisplayPhysicalId == null ? null in loadLayoutsFromConfig() 145 : DisplayAddress.fromPhysicalDisplayId( in loadLayoutsFromConfig() 168 private DisplayAddress getDisplayAddressForLayoutDisplay( in getDisplayAddressForLayoutDisplay() 172 return DisplayAddress.fromPhysicalDisplayId(xmlAddress.longValue()); in getDisplayAddressForLayoutDisplay() 178 return DisplayAddress.fromPortAndModel((int) display.getPort_optional().longValue(), in getDisplayAddressForLayoutDisplay()
|
D | DisplayDeviceRepository.java | 23 import android.view.DisplayAddress; 130 public DisplayDevice getByAddressLocked(@NonNull DisplayAddress address) { in getByAddressLocked() 135 || DisplayAddress.Physical.isPortMatch(address, info.address)) { in getByAddressLocked()
|
D | DisplayDevice.java | 32 import android.view.DisplayAddress; 404 if (info.address instanceof DisplayAddress.Physical) { in populateViewportLocked() 405 viewport.physicalPort = ((DisplayAddress.Physical) info.address).getPort(); in populateViewportLocked()
|
D | WifiDisplayAdapter.java | 37 import android.view.DisplayAddress; 603 private final DisplayAddress mAddress; 619 mAddress = DisplayAddress.fromMacAddress(address); in WifiDisplayDevice()
|
D | DisplayDeviceInfo.java | 25 import android.view.DisplayAddress; 410 public DisplayAddress address;
|
D | LocalDisplayAdapter.java | 44 import android.view.DisplayAddress; 693 final DisplayAddress.Physical physicalAddress = in getDisplayDeviceInfoLocked() 694 DisplayAddress.fromPhysicalDisplayId(mPhysicalDisplayId); in getDisplayDeviceInfoLocked() 1378 private boolean isDisplayPrivate(DisplayAddress.Physical physicalAddress) { in isDisplayPrivate()
|
D | LogicalDisplayMapper.java | 39 import android.view.DisplayAddress; 1055 final DisplayAddress address = device.getDisplayDeviceInfoLocked().address; in resetLayoutLocked() 1119 final DisplayAddress address = displayLayout.getAddress(); in applyLayoutLocked()
|
D | DisplayDeviceConfig.java | 39 import android.view.DisplayAddress; 1011 final DisplayAddress.Physical physicalAddress = in loadConfigFromDirectory() 1012 DisplayAddress.fromPhysicalDisplayId(physicalDisplayId); in loadConfigFromDirectory()
|
/frameworks/base/core/java/android/view/ |
D | DisplayAddress.java | 28 public abstract class DisplayAddress implements Parcelable { class 76 public static final class Physical extends DisplayAddress { 149 public static boolean isPortMatch(DisplayAddress a1, DisplayAddress a2) { in isPortMatch() 194 public static final class Network extends DisplayAddress {
|
D | DisplayInfo.java | 85 public DisplayAddress address; 535 address = source.readParcelable(null, android.view.DisplayAddress.class); in readFromParcel()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayWindowSettingsProviderTests.java | 36 import android.view.DisplayAddress; 145 final DisplayAddress.Physical displayAddress = in testReadingDisplaySettingsFromStorage_UsePortAsId() 146 DisplayAddress.fromPortAndModel(DISPLAY_PORT, DISPLAY_MODEL); in testReadingDisplaySettingsFromStorage_UsePortAsId() 162 mPrimaryDisplay.getDisplayInfo().address = DisplayAddress.fromPhysicalDisplayId(123456); in testReadingDisplaySettingsFromStorage_UsePortAsId_IncorrectAddress() 259 final DisplayAddress.Physical displayAddress = in testWritingDisplaySettingsToStorage_UsePortAsId() 260 DisplayAddress.fromPortAndModel(DISPLAY_PORT, DISPLAY_MODEL); in testWritingDisplaySettingsToStorage_UsePortAsId()
|
D | DeferredDisplayUpdaterDiffTest.java | 38 import android.view.DisplayAddress; 192 } else if (type.equals(DisplayAddress.class)) { in setDifferentFieldValues() 193 field.set(first, DisplayAddress.fromPhysicalDisplayId(0)); in setDifferentFieldValues() 194 field.set(second, DisplayAddress.fromPhysicalDisplayId(1)); in setDifferentFieldValues()
|
D | DisplayRotationTests.java | 71 import android.view.DisplayAddress; 124 private DisplayAddress mMockDisplayAddress; 1601 mMockDisplayAddress = mock(DisplayAddress.class); in build() 1627 TestDisplayRotation(DisplayContent dc, DisplayAddress address, DisplayPolicy policy, in TestDisplayRotation()
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouteInfoTest.java | 24 import android.view.DisplayAddress; 51 wifiInfo.address = DisplayAddress.fromMacAddress(FAKE_MAC_ADDRESS); in setUpOnce()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardDisplayManager.java | 31 import android.view.DisplayAddress; 293 private final DisplayAddress.Physical mRearDisplayPhysicalAddress; 309 mRearDisplayPhysicalAddress = DisplayAddress in DeviceStateHelper()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/ |
D | WindowAreaComponentImpl.java | 31 import android.view.DisplayAddress; 246 DisplayAddress.Physical address = in getRearDisplayMetrics() 247 (DisplayAddress.Physical) displays[i].getAddress(); in getRearDisplayMetrics()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ScreenRotationAnimation.java | 48 import android.view.DisplayAddress; 175 final DisplayAddress address = displayInfo.address; in ScreenRotationAnimation() 176 if (!(address instanceof DisplayAddress.Physical)) { in ScreenRotationAnimation() 180 final DisplayAddress.Physical physicalAddress = in ScreenRotationAnimation() 181 (DisplayAddress.Physical) address; in ScreenRotationAnimation()
|
D | DisplayWindowSettingsProvider.java | 37 import android.view.DisplayAddress; 220 if (displayInfo.address instanceof DisplayAddress.Physical) { in getIdentifier() 221 return "port:" + ((DisplayAddress.Physical) displayInfo.address).getPort(); in getIdentifier()
|
D | DisplayRotation.java | 75 import android.view.DisplayAddress; 255 DisplayAddress displayAddress, @NonNull DeviceStateController deviceStateController, in DisplayRotation() 264 DisplayAddress displayAddress, DisplayPolicy displayPolicy, in DisplayRotation() 344 private int readDefaultDisplayRotation(DisplayAddress displayAddress, in readDefaultDisplayRotation() 347 if (displayAddress instanceof DisplayAddress.Physical) { in readDefaultDisplayRotation() 348 final DisplayAddress.Physical physicalAddress = in readDefaultDisplayRotation() 349 (DisplayAddress.Physical) displayAddress; in readDefaultDisplayRotation()
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter.java | 49 import android.view.DisplayAddress; 2187 final DisplayAddress displayAddress = display.getAddress(); in displayAddressEquals() 2190 if (!(displayAddress instanceof DisplayAddress.Network)) { in displayAddressEquals() 2193 final DisplayAddress.Network networkAddress = (DisplayAddress.Network) displayAddress; in displayAddressEquals()
|