/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | LogicalDisplayMapperTest.java | 121 DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY); in testDisplayDeviceAddAndRemove_Internal() 154 DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY); in testDisplayDeviceAdd_TwoInternalOneDefault() 168 DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY); in testDisplayDeviceAdd_TwoInternalBothDefault() 170 DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY); in testDisplayDeviceAdd_TwoInternalBothDefault() 185 DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY)); in testGetDisplayIdsLocked() 198 DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY)); in testSingleDisplayGroup() 213 DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY)); in testMultipleDisplayGroups() 218 DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP); in testMultipleDisplayGroups() 229 DisplayDeviceInfo info = device3.getSourceInfo(); in testMultipleDisplayGroups() 230 info.flags = info.flags & ~DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP; in testMultipleDisplayGroups() [all …]
|
D | DisplayManagerServiceTest.java | 322 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(displayId); in testCreateVirtualDisplayRotatesWithContent() 324 assertTrue((ddi.flags & DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT) != 0); in testCreateVirtualDisplayRotatesWithContent() 351 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo(); in testShouldNotifyChangeWhenNonOverrideDisplayInfoChanged() 361 displayDeviceInfo.flags = DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY; in testShouldNotifyChangeWhenNonOverrideDisplayInfoChanged() 377 DisplayDeviceInfo displayDeviceInfo2 = new DisplayDeviceInfo(); in testShouldNotifyChangeWhenNonOverrideDisplayInfoChanged() 503 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(0); in testDisplayedContentSampling() 990 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(displayIds[i]); in getDisplayIdForDisplayDevice() 1002 DisplayDeviceInfo displayDeviceInfo) { in updateDisplayDeviceInfo() 1013 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo(); in updateFrameRateOverride() 1022 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo(); in updateModeId() [all …]
|
D | LogicalDisplayTest.java | 54 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo(); in setUp() 57 displayDeviceInfo.flags = DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT; in setUp()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | VirtualDisplayAdapter.java | 31 import static com.android.server.display.DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP; 32 import static com.android.server.display.DisplayDeviceInfo.FLAG_TRUSTED; 226 private DisplayDeviceInfo mInfo; 369 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked() 371 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 385 mInfo.flags |= DisplayDeviceInfo.FLAG_PRIVATE in getDisplayDeviceInfoLocked() 386 | DisplayDeviceInfo.FLAG_NEVER_BLANK; in getDisplayDeviceInfoLocked() 389 mInfo.flags &= ~DisplayDeviceInfo.FLAG_NEVER_BLANK; in getDisplayDeviceInfoLocked() 391 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY; in getDisplayDeviceInfoLocked() 399 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked() [all …]
|
D | LogicalDisplay.java | 125 private DisplayDeviceInfo mPrimaryDisplayDeviceInfo; 343 DisplayDeviceInfo deviceInfo = mPrimaryDisplayDevice.getDisplayDeviceInfoLocked(); in updateLocked() 347 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS) != 0) { in updateLocked() 350 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SECURE) != 0) { in updateLocked() 353 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_PRIVATE) != 0) { in updateLocked() 358 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_DESTROY_CONTENT_ON_REMOVAL) != 0) { in updateLocked() 361 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_PRESENTATION) != 0) { in updateLocked() 364 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_ROUND) != 0) { in updateLocked() 367 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_CAN_SHOW_WITH_INSECURE_KEYGUARD) != 0) { in updateLocked() 370 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS) != 0) { in updateLocked() [all …]
|
D | DisplayDeviceRepository.java | 128 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceAdded() 143 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceChanged() 150 if (diff == DisplayDeviceInfo.DIFF_STATE) { in handleDisplayDeviceChanged() 157 if ((diff & DisplayDeviceInfo.DIFF_COLOR_MODE) != 0) { in handleDisplayDeviceChanged() 173 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceRemoved()
|
D | OverlayDisplayAdapter.java | 19 import static com.android.server.display.DisplayDeviceInfo.FLAG_TRUSTED; 277 private DisplayDeviceInfo mInfo; 332 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked() 336 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 349 mInfo.flags = DisplayDeviceInfo.FLAG_PRESENTATION; in getDisplayDeviceInfoLocked() 351 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked() 354 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY; in getDisplayDeviceInfoLocked() 357 mInfo.flags |= DisplayDeviceInfo.FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS; in getDisplayDeviceInfoLocked() 360 mInfo.touch = DisplayDeviceInfo.TOUCH_VIRTUAL; in getDisplayDeviceInfoLocked()
|
D | DisplayDeviceInfo.java | 37 final class DisplayDeviceInfo { class 362 return o instanceof DisplayDeviceInfo && equals((DisplayDeviceInfo)o); in equals() 365 public boolean equals(DisplayDeviceInfo other) { in equals() 373 public int diff(DisplayDeviceInfo other) { in diff() 422 public void copyFrom(DisplayDeviceInfo other) { in copyFrom()
|
D | WifiDisplayAdapter.java | 378 int deviceFlags = DisplayDeviceInfo.FLAG_PRESENTATION; in addDisplayDeviceLocked() 380 deviceFlags |= DisplayDeviceInfo.FLAG_SECURE; in addDisplayDeviceLocked() 382 deviceFlags |= DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS; in addDisplayDeviceLocked() 596 private DisplayDeviceInfo mInfo; 639 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked() 641 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 653 mInfo.touch = DisplayDeviceInfo.TOUCH_EXTERNAL; in getDisplayDeviceInfoLocked() 656 mInfo.flags |= DisplayDeviceInfo.FLAG_TRUSTED; in getDisplayDeviceInfoLocked()
|
D | LocalDisplayAdapter.java | 188 private DisplayDeviceInfo mInfo; 558 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked() 560 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 590 mInfo.flags = DisplayDeviceInfo.FLAG_SECURE in getDisplayDeviceInfoLocked() 591 | DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS; in getDisplayDeviceInfoLocked() 597 mInfo.flags |= DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY; in getDisplayDeviceInfoLocked() 602 mInfo.flags |= DisplayDeviceInfo.FLAG_ROUND; in getDisplayDeviceInfoLocked() 606 mInfo.flags |= DisplayDeviceInfo.FLAG_MASK_DISPLAY_CUTOUT; in getDisplayDeviceInfoLocked() 615 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY; in getDisplayDeviceInfoLocked() 619 mInfo.flags |= DisplayDeviceInfo.FLAG_PRIVATE; in getDisplayDeviceInfoLocked() [all …]
|
D | DisplayDevice.java | 57 DisplayDeviceInfo mDebugLastLoggedDeviceInfo; 139 public abstract DisplayDeviceInfo getDisplayDeviceInfoLocked(); in getDisplayDeviceInfoLocked() 279 DisplayDeviceInfo info = getDisplayDeviceInfoLocked(); in populateViewportLocked()
|
D | LogicalDisplayMapper.java | 313 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in areAllTransitioningDisplaysOffLocked() 346 DisplayDeviceInfo deviceInfo = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceAddedLocked() 724 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in initializeInternalDisplayDeviceLocked() 725 final boolean isDefault = (info.flags & DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY) != 0; in initializeInternalDisplayDeviceLocked()
|
D | DisplayManagerService.java | 1332 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); 1333 if ((info.flags & DisplayDeviceInfo.FLAG_NEVER_BLANK) == 0) { 1356 & DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY) != 0) { 1730 private Optional<Integer> getViewportType(DisplayDeviceInfo info) { 1733 case DisplayDeviceInfo.TOUCH_INTERNAL: 1735 case DisplayDeviceInfo.TOUCH_EXTERNAL: 1737 case DisplayDeviceInfo.TOUCH_VIRTUAL: 1749 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); 1750 final boolean ownContent = (info.flags & DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY) != 0; 1812 DisplayDeviceInfo info) { [all …]
|
D | DisplayPowerController.java | 722 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in onDisplayChanged() 771 private void loadFromDisplayDeviceConfig(IBinder token, DisplayDeviceInfo info) { in loadFromDisplayDeviceConfig() 1534 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in createHbmControllerLocked()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/ |
D | LocalDisplayAdapterTest.java | 197 DisplayDeviceInfo info, int expectedPort, boolean shouldBePrivate) { in assertDisplayPrivateFlag() 202 assertEquals(shouldBePrivate, (info.flags & DisplayDeviceInfo.FLAG_PRIVATE) != 0); in assertDisplayPrivateFlag() 338 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testAfterDisplayChange_DisplayModesAreUpdated() 397 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_ActiveModeIsUpdated() 435 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testAfterDisplayChange_HdrCapabilitiesAreUpdated() 471 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_AllmSupportIsUpdated() 505 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_GameContentTypeSupportIsUpdated() 540 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_ColorModesAreUpdated() 691 private void assertDisplayDpi(DisplayDeviceInfo info, int expectedPort, in assertDisplayDpi() 703 private Display.Mode getModeById(DisplayDeviceInfo displayDeviceInfo, int modeId) { in getModeById()
|
/frameworks/base/services/ |
D | art-profile | 17741 HSPLcom/android/server/display/DisplayDeviceInfo;-><init>()V 17742 HSPLcom/android/server/display/DisplayDeviceInfo;->diff(Lcom/android/server/display/DisplayDeviceIn… 17743 …DisplayDeviceInfo;->equals(Lcom/android/server/display/DisplayDeviceInfo;)Z+]Lcom/android/server/d… 17744 …splay/DisplayDeviceInfo;->equals(Ljava/lang/Object;)Z+]Lcom/android/server/display/DisplayDeviceIn… 17745 HSPLcom/android/server/display/DisplayDeviceInfo;->flagsToString(I)Ljava/lang/String;+]Ljava/lang/S… 17746 HSPLcom/android/server/display/DisplayDeviceInfo;->toString()Ljava/lang/String;+]Ljava/lang/StringB… 17747 HSPLcom/android/server/display/DisplayDeviceInfo;->touchToString(I)Ljava/lang/String; 17754 …/util/ArrayList;]Lcom/android/server/display/DisplayDeviceInfo;Lcom/android/server/display/Display… 17943 …DisplayManagerService;->getViewportType(Lcom/android/server/display/DisplayDeviceInfo;)Ljava/util/… 17965 …om/android/server/display/DisplayDevice;Lcom/android/server/display/DisplayDeviceInfo;)V+]Lcom/and… [all …]
|