Home
last modified time | relevance | path

Searched refs:DisplayDeviceInfo (Results 1 – 22 of 22) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DVirtualDisplayAdapter.java41 import static com.android.server.display.DisplayDeviceInfo.FLAG_TRUSTED;
270 private DisplayDeviceInfo mInfo;
466 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
468 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
483 mInfo.flags |= DisplayDeviceInfo.FLAG_PRIVATE in getDisplayDeviceInfoLocked()
484 | DisplayDeviceInfo.FLAG_NEVER_BLANK; in getDisplayDeviceInfoLocked()
487 mInfo.flags &= ~DisplayDeviceInfo.FLAG_NEVER_BLANK; in getDisplayDeviceInfoLocked()
500 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked()
503 mInfo.flags |= DisplayDeviceInfo.FLAG_PRESENTATION; in getDisplayDeviceInfoLocked()
546 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_FOCUS; in getDisplayDeviceInfoLocked()
[all …]
H A DLogicalDisplay.java19 import static com.android.server.display.DisplayDeviceInfo.TOUCH_NONE;
106 private DisplayDeviceInfo mPrimaryDisplayDeviceInfo;
412 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SECURE) != 0) { in updateLocked()
415 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_PRIVATE) != 0) { in updateLocked()
423 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_PRESENTATION) != 0) { in updateLocked()
426 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_ROUND) != 0) { in updateLocked()
435 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_TRUSTED) != 0) { in updateLocked()
441 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_ALWAYS_UNLOCKED) != 0) { in updateLocked()
450 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_OWN_FOCUS) != 0) { in updateLocked()
531 private void updateFrameRateOverrides(DisplayDeviceInfo deviceInfo) { in updateFrameRateOverrides()
[all …]
H A DDisplayDeviceRepository.java148 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceAdded()
163 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceChanged()
173 if (diff == DisplayDeviceInfo.DIFF_STATE) { in handleDisplayDeviceChanged()
176 } else if (diff != DisplayDeviceInfo.DIFF_HDR_SDR_RATIO) { in handleDisplayDeviceChanged()
180 if ((diff & DisplayDeviceInfo.DIFF_COLOR_MODE) != 0) { in handleDisplayDeviceChanged()
199 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceRemoved()
H A DOverlayDisplayAdapter.java19 import static com.android.server.display.DisplayDeviceInfo.FLAG_TRUSTED;
279 private DisplayDeviceInfo mInfo;
334 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
338 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
352 mInfo.flags = DisplayDeviceInfo.FLAG_PRESENTATION; in getDisplayDeviceInfoLocked()
354 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked()
357 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY; in getDisplayDeviceInfoLocked()
360 mInfo.flags |= DisplayDeviceInfo.FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS; in getDisplayDeviceInfoLocked()
363 mInfo.touch = DisplayDeviceInfo.TOUCH_VIRTUAL; in getDisplayDeviceInfoLocked()
H A DDisplayDevice.java69 DisplayDeviceInfo mDebugLastLoggedDeviceInfo;
142 DisplayDeviceInfo displayDeviceInfo = getDisplayDeviceInfoLocked(); in getDisplaySurfaceDefaultSizeLocked()
182 public abstract DisplayDeviceInfo getDisplayDeviceInfoLocked(); in getDisplayDeviceInfoLocked()
368 DisplayDeviceInfo info = getDisplayDeviceInfoLocked(); in populateViewportLocked()
H A DDisplayDeviceInfo.java38 final class DisplayDeviceInfo { class
446 return o instanceof DisplayDeviceInfo && equals((DisplayDeviceInfo)o); in equals()
449 public boolean equals(DisplayDeviceInfo other) { in equals()
457 public int diff(DisplayDeviceInfo other) { in diff()
512 public void copyFrom(DisplayDeviceInfo other) { in copyFrom()
H A DWifiDisplayAdapter.java381 int deviceFlags = DisplayDeviceInfo.FLAG_PRESENTATION; in addDisplayDeviceLocked()
383 deviceFlags |= DisplayDeviceInfo.FLAG_SECURE; in addDisplayDeviceLocked()
385 deviceFlags |= DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS; in addDisplayDeviceLocked()
603 private DisplayDeviceInfo mInfo;
646 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
648 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
661 mInfo.touch = DisplayDeviceInfo.TOUCH_EXTERNAL; in getDisplayDeviceInfoLocked()
664 mInfo.flags |= DisplayDeviceInfo.FLAG_TRUSTED; in getDisplayDeviceInfoLocked()
H A DLocalDisplayAdapter.java201 private DisplayDeviceInfo mInfo;
636 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
638 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
670 mInfo.flags = DisplayDeviceInfo.FLAG_SECURE in getDisplayDeviceInfoLocked()
682 mInfo.flags |= DisplayDeviceInfo.FLAG_ROUND; in getDisplayDeviceInfoLocked()
690 mInfo.flags |= DisplayDeviceInfo.FLAG_PRIVATE; in getDisplayDeviceInfoLocked()
695 mInfo.flags |= DisplayDeviceInfo.FLAG_MASK_DISPLAY_CUTOUT; in getDisplayDeviceInfoLocked()
722 mInfo.touch = DisplayDeviceInfo.TOUCH_INTERNAL; in getDisplayDeviceInfoLocked()
729 mInfo.touch = DisplayDeviceInfo.TOUCH_EXTERNAL; in getDisplayDeviceInfoLocked()
730 mInfo.flags |= DisplayDeviceInfo.FLAG_PRESENTATION; in getDisplayDeviceInfoLocked()
[all …]
H A DLogicalDisplayMapper.java577 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in areAllTransitioningDisplaysOffLocked()
621 DisplayDeviceInfo deviceInfo = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceAddedLocked()
626 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_ALLOWED_TO_BE_DEFAULT_DISPLAY) != 0) { in handleDisplayDeviceAddedLocked()
644 DisplayDeviceInfo deviceInfo = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceRemovedLocked()
659 DisplayDeviceInfo nextDeviceInfo = nextDevice.getDisplayDeviceInfoLocked(); in handleDisplayDeviceRemovedLocked()
662 & DisplayDeviceInfo.FLAG_ALLOWED_TO_BE_DEFAULT_DISPLAY) != 0 in handleDisplayDeviceRemovedLocked()
673 updateLogicalDisplaysLocked(DisplayDeviceInfo.DIFF_EVERYTHING); in updateLogicalDisplaysLocked()
737 if ((diff == DisplayDeviceInfo.DIFF_HDR_SDR_RATIO)) { in updateLogicalDisplaysLocked()
888 final DisplayDeviceInfo displayDeviceInfo = displayDevice.getDisplayDeviceInfoLocked(); in assignDisplayGroupLocked()
893 (displayDeviceInfo.flags & DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP) != 0 in assignDisplayGroupLocked()
[all …]
H A DBrightnessRangeController.java79 DisplayDeviceInfo info, DisplayDeviceConfig displayDeviceConfig) { in loadFromConfig()
H A DDisplayManagerService.java1995 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in updateDisplayStateLocked()
1996 if ((info.flags & DisplayDeviceInfo.FLAG_NEVER_BLANK) == 0) { in updateDisplayStateLocked()
2741 private Optional<Integer> getViewportType(DisplayDeviceInfo info) { in getViewportType()
2744 case DisplayDeviceInfo.TOUCH_INTERNAL: in getViewportType()
2746 case DisplayDeviceInfo.TOUCH_EXTERNAL: in getViewportType()
2748 case DisplayDeviceInfo.TOUCH_VIRTUAL: in getViewportType()
2762 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in configureDisplayLocked()
2813 DisplayDeviceInfo info) { in populateViewportLocked()
2823 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in updateViewportPowerStateLocked()
3140 DisplayDeviceInfo getDisplayDeviceInfoInternal(int displayId) { in getDisplayDeviceInfoInternal()
[all …]
H A DDisplayPowerController2.java790 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in onDisplayChanged()
866 private void loadFromDisplayDeviceConfig(IBinder token, DisplayDeviceInfo info, in loadFromDisplayDeviceConfig()
1856 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in createHbmControllerLocked()
H A DDisplayPowerController.java976 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in onDisplayChanged()
1048 private void loadFromDisplayDeviceConfig(IBinder token, DisplayDeviceInfo info, in loadFromDisplayDeviceConfig()
2204 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in createHbmControllerLocked()
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DDisplayDeviceTest.java51 private final DisplayDeviceInfo mDisplayDeviceInfo = new DisplayDeviceInfo();
103 private final DisplayDeviceInfo mDisplayDeviceInfo;
105 FakeDisplayDevice(DisplayDeviceInfo displayDeviceInfo) { in FakeDisplayDevice()
116 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
H A DLogicalDisplayTest.java60 private final DisplayDeviceInfo mDisplayDeviceInfo = new DisplayDeviceInfo();
69 mDisplayDeviceInfo.copyFrom(new DisplayDeviceInfo()); in setUp()
72 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_INTERNAL; in setUp()
124 mDisplayDeviceInfo.flags = DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT; in testGetDisplayPosition()
143 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_NONE; in testDisplayInputFlags()
148 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_VIRTUAL; in testDisplayInputFlags()
159 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_EXTERNAL; in testDisplayInputFlags()
H A DLogicalDisplayMapperTest.java342 DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP); in testGetDisplayInfoForStateLocked_multipleLayouts()
448 DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP); in testMultipleDisplayGroups()
459 DisplayDeviceInfo info = device3.getSourceInfo(); in testMultipleDisplayGroups()
515 DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP); in testDevicesAreAddedToDeviceDisplayGroups()
953 private DisplayDeviceInfo info(DisplayDevice device) { in info()
1000 private DisplayDeviceInfo mInfo;
1001 private DisplayDeviceInfo mSentInfo;
1006 mInfo = new DisplayDeviceInfo(); in TestDisplayDevice()
1010 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
1012 mSentInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
[all …]
H A DDisplayManagerServiceTest.java642 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo();
669 DisplayDeviceInfo displayDeviceInfo2 = new DisplayDeviceInfo();
1029 & DisplayDeviceInfo.FLAG_ALWAYS_UNLOCKED),
1056 & DisplayDeviceInfo.FLAG_ALWAYS_UNLOCKED),
2170 DisplayDeviceInfo displayDeviceInfo) {
2181 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo();
2190 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo();
2199 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo();
2235 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo();
2341 private DisplayDeviceInfo mDisplayDeviceInfo;
[all …]
H A DPersistentDataStoreTest.java73 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testLoadBrightness()
110 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testSetBrightness_brightnessTagWithNoUserId_updatesToBrightnessTagWithUserId()
283 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testStoreAndReloadOfDisplayBrightnessConfigurations()
329 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testSetBrightnessConfigurationFailsWithUnstableId()
396 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testStoreAndRestoreResolution()
432 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testStoreAndRestoreRefreshRate()
465 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testBrightnessInitialisesWithInvalidFloat()
H A DLocalDisplayAdapterTest.java422 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testAfterDisplayChange_DefaultDisplayModeIsUpdated()
478 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testAfterDisplayChange_DisplayModesAreUpdated()
533 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_ActiveModeIsUpdated()
572 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_RenderFrameRateIsUpdated()
614 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testAfterDisplayChange_HdrCapabilitiesAreUpdated()
650 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_AllmSupportIsUpdated()
721 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_GameContentTypeSupportIsUpdated()
756 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_ColorModesAreUpdated()
922 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testGetSystemPreferredDisplayMode()
1033 DisplayDeviceInfo info = displayDevice.getDisplayDeviceInfoLocked(); in test_getDisplayDeviceInfoLocked_internalDisplay_usesCutoutAndCorners()
[all …]
H A DDisplayPowerControllerTest.java1141 DisplayDeviceInfo deviceInfo = new DisplayDeviceInfo(); in setUpDisplay()
H A DDisplayPowerController2Test.java1139 DisplayDeviceInfo deviceInfo = new DisplayDeviceInfo(); in setUpDisplay()
/aosp14/frameworks/base/services/
H A Dart-profile3408 HSPLcom/android/server/display/DisplayDeviceInfo;-><init>()V
3409 HSPLcom/android/server/display/DisplayDeviceInfo;->diff(Lcom/android/server/display/DisplayDeviceIn…
3410 HSPLcom/android/server/display/DisplayDeviceInfo;->equals(Lcom/android/server/display/DisplayDevice…
3411 HSPLcom/android/server/display/DisplayDeviceInfo;->equals(Ljava/lang/Object;)Z
3412 HSPLcom/android/server/display/DisplayDeviceInfo;->flagsToString(I)Ljava/lang/String;
3413 HSPLcom/android/server/display/DisplayDeviceInfo;->toString()Ljava/lang/String;
3414 HSPLcom/android/server/display/DisplayDeviceInfo;->touchToString(I)Ljava/lang/String;
3509 …DisplayManagerService;->getViewportType(Lcom/android/server/display/DisplayDeviceInfo;)Ljava/util/…
3656 …splay/LogicalDisplay;->getMaskingInsets(Lcom/android/server/display/DisplayDeviceInfo;)Landroid/gr…
3672 …/display/LogicalDisplay;->updateFrameRateOverrides(Lcom/android/server/display/DisplayDeviceInfo;)V
[all …]