/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayDeviceInfoTest.java | 19 import static com.android.server.display.DisplayDeviceInfo.DIFF_COLOR_MODE; 20 import static com.android.server.display.DisplayDeviceInfo.DIFF_COMMITTED_STATE; 21 import static com.android.server.display.DisplayDeviceInfo.DIFF_HDR_SDR_RATIO; 22 import static com.android.server.display.DisplayDeviceInfo.DIFF_MODE_ID; 23 import static com.android.server.display.DisplayDeviceInfo.DIFF_RENDER_TIMINGS; 24 import static com.android.server.display.DisplayDeviceInfo.DIFF_ROTATION; 25 import static com.android.server.display.DisplayDeviceInfo.DIFF_STATE; 130 private static DisplayDeviceInfo createInfo() { in createInfo() 131 var ddi = new DisplayDeviceInfo(); in createInfo()
|
D | DisplayDeviceTest.java | 52 private final DisplayDeviceInfo mDisplayDeviceInfo = new DisplayDeviceInfo(); 158 private final DisplayDeviceInfo mDisplayDeviceInfo; 160 FakeDisplayDevice(DisplayDeviceInfo displayDeviceInfo, DisplayAdapter displayAdapter) { in FakeDisplayDevice() 164 FakeDisplayDevice(DisplayDeviceInfo displayDeviceInfo, DisplayAdapter displayAdapter, in FakeDisplayDevice() 178 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
|
D | LogicalDisplayTest.java | 69 private final DisplayDeviceInfo mDisplayDeviceInfo = new DisplayDeviceInfo(); 82 mDisplayDeviceInfo.copyFrom(new DisplayDeviceInfo()); in setUp() 85 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_INTERNAL; in setUp() 243 mDisplayDeviceInfo.flags = DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT; in testPillarbox() 281 mDisplayDeviceInfo.flags = DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT; in testPillarbox_anisotropyCorrection() 351 mDisplayDeviceInfo.flags = DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT; in testGetDisplayPosition() 393 mDisplayDeviceInfo.flags = DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT; in testGetDisplayPositionAlwaysRotateDisplayEnabled() 413 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testDisplayInputFlags() 422 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_NONE; in testDisplayInputFlags() 427 mDisplayDeviceInfo.touch = DisplayDeviceInfo.TOUCH_VIRTUAL; in testDisplayInputFlags() [all …]
|
D | PersistentDataStoreTest.java | 80 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testLoadBrightness() 118 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testSetBrightness_brightnessTagWithNoUserId_updatesToBrightnessTagWithUserId() 292 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testStoreAndReloadOfDisplayBrightnessConfigurations() 339 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testSetBrightnessConfigurationFailsWithUnstableId() 407 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testStoreAndRestoreResolution() 444 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testStoreAndRestoreRefreshRate() 478 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in testBrightnessInitialisesWithInvalidFloat()
|
D | LogicalDisplayMapperTest.java | 33 import static com.android.server.display.DisplayDeviceInfo.DIFF_EVERYTHING; 34 import static com.android.server.display.DisplayDeviceInfo.FLAG_ALLOWED_TO_BE_DEFAULT_DISPLAY; 447 DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP); in testGetDisplayInfoForStateLocked_multipleLayouts() 553 DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP); in testMultipleDisplayGroups() 564 DisplayDeviceInfo info = device3.getSourceInfo(); in testMultipleDisplayGroups() 565 info.flags = info.flags & ~DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP; in testMultipleDisplayGroups() 582 DisplayDeviceInfo.FLAG_ALLOWED_TO_BE_DEFAULT_DISPLAY)); in testDevicesAreAddedToDeviceDisplayGroups() 620 DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP); in testDevicesAreAddedToDeviceDisplayGroups() 990 TYPE_INTERNAL, 600, 800, DisplayDeviceInfo.FLAG_ALLOWED_TO_BE_DEFAULT_DISPLAY); in testEnabledAndDisabledDisplays() 992 TYPE_INTERNAL, 200, 800, DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP); in testEnabledAndDisabledDisplays() [all …]
|
D | DisplayManagerServiceTest.java | 599 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(displayId); 601 assertTrue((ddi.flags & DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT) != 0); 634 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(displayId); 636 assertTrue((ddi.flags & DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT) != 0); 672 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(displayId); 674 assertTrue((ddi.flags & DisplayDeviceInfo.FLAG_OWN_FOCUS) != 0); 707 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(displayId); 709 assertTrue((ddi.flags & DisplayDeviceInfo.FLAG_OWN_FOCUS) == 0); 746 assertTrue((displayInfo.flags & DisplayDeviceInfo.FLAG_OWN_FOCUS) == 0); 759 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(displayId); [all …]
|
D | LocalDisplayAdapterTest.java | 310 DisplayDeviceInfo info, int expectedPort, boolean shouldBePrivate) { in assertDisplayPrivateFlag() 315 assertEquals(shouldBePrivate, (info.flags & DisplayDeviceInfo.FLAG_PRIVATE) != 0); in assertDisplayPrivateFlag() 451 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testAfterDisplayChange_DefaultDisplayModeIsUpdated() 507 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testAfterDisplayChange_DisplayModesAreUpdated() 562 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_ActiveModeIsUpdated() 601 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_RenderFrameRateIsUpdated() 643 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testAfterDisplayChange_HdrCapabilitiesAreUpdated() 679 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_AllmSupportIsUpdated() 750 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_GameContentTypeSupportIsUpdated() 785 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get(0) in testAfterDisplayChange_ColorModesAreUpdated() [all …]
|
D | BrightnessRangeControllerTest.kt | 93 DisplayDeviceInfo()) in createController()
|
D | DisplayPowerControllerTest.java | 2014 DisplayDeviceInfo deviceInfo = new DisplayDeviceInfo(); in setUpDisplay() 2321 DisplayManagerFlags flags, IBinder displayToken, DisplayDeviceInfo info) { in getBrightnessRangeController()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceRepository.java | 133 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in getByAddressLocked() 155 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceAdded() 170 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceChanged() 180 if (diff == DisplayDeviceInfo.DIFF_STATE) { in handleDisplayDeviceChanged() 183 } else if (diff == DisplayDeviceInfo.DIFF_ROTATION) { in handleDisplayDeviceChanged() 187 == (DisplayDeviceInfo.DIFF_MODE_ID | DisplayDeviceInfo.DIFF_RENDER_TIMINGS)) { in handleDisplayDeviceChanged() 192 } else if (diff == DisplayDeviceInfo.DIFF_COMMITTED_STATE) { in handleDisplayDeviceChanged() 197 } else if (diff != DisplayDeviceInfo.DIFF_HDR_SDR_RATIO) { in handleDisplayDeviceChanged() 201 if ((diff & DisplayDeviceInfo.DIFF_COLOR_MODE) != 0) { in handleDisplayDeviceChanged() 220 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceRemoved()
|
D | VirtualDisplayAdapter.java | 36 import static com.android.server.display.DisplayDeviceInfo.FLAG_ALWAYS_UNLOCKED; 37 import static com.android.server.display.DisplayDeviceInfo.FLAG_DEVICE_DISPLAY_GROUP; 38 import static com.android.server.display.DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP; 39 import static com.android.server.display.DisplayDeviceInfo.FLAG_STEAL_TOP_FOCUS_DISABLED; 40 import static com.android.server.display.DisplayDeviceInfo.FLAG_TOUCH_FEEDBACK_DISABLED; 41 import static com.android.server.display.DisplayDeviceInfo.FLAG_TRUSTED; 266 private DisplayDeviceInfo mInfo; 461 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked() 463 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 478 mInfo.flags |= DisplayDeviceInfo.FLAG_PRIVATE in getDisplayDeviceInfoLocked() [all …]
|
D | LogicalDisplay.java | 19 import static com.android.server.display.DisplayDeviceInfo.TOUCH_NONE; 109 private DisplayDeviceInfo mPrimaryDisplayDeviceInfo; 430 DisplayDeviceInfo deviceInfo = mPrimaryDisplayDevice.getDisplayDeviceInfoLocked(); in updateLocked() 437 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS) != 0) { in updateLocked() 440 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SECURE) != 0) { in updateLocked() 443 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_PRIVATE) != 0) { in updateLocked() 448 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_DESTROY_CONTENT_ON_REMOVAL) != 0) { in updateLocked() 451 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_PRESENTATION) != 0) { in updateLocked() 454 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_ROUND) != 0) { in updateLocked() 457 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_CAN_SHOW_WITH_INSECURE_KEYGUARD) != 0) { in updateLocked() [all …]
|
D | BrightnessRangeController.java | 45 DisplayManagerFlags flags, IBinder displayToken, DisplayDeviceInfo info) { in BrightnessRangeController() 57 DisplayDeviceInfo info) { in BrightnessRangeController() 95 DisplayDeviceInfo info, DisplayDeviceConfig displayDeviceConfig) { in loadFromConfig() 157 private void updateHdrClamper(DisplayDeviceInfo info, IBinder token, in updateHdrClamper()
|
D | OverlayDisplayAdapter.java | 19 import static com.android.server.display.DisplayDeviceInfo.FLAG_TRUSTED; 281 private DisplayDeviceInfo mInfo; 336 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked() 340 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 354 mInfo.flags = DisplayDeviceInfo.FLAG_PRESENTATION; in getDisplayDeviceInfoLocked() 356 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked() 359 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY; in getDisplayDeviceInfoLocked() 362 mInfo.flags |= DisplayDeviceInfo.FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS; in getDisplayDeviceInfoLocked() 365 mInfo.touch = DisplayDeviceInfo.TOUCH_VIRTUAL; in getDisplayDeviceInfoLocked()
|
D | DisplayDeviceInfo.java | 40 final class DisplayDeviceInfo { class 474 return o instanceof DisplayDeviceInfo && equals((DisplayDeviceInfo)o); in equals() 477 public boolean equals(DisplayDeviceInfo other) { in equals() 485 public int diff(DisplayDeviceInfo other) { in diff() 550 public void copyFrom(DisplayDeviceInfo other) { in copyFrom()
|
D | WifiDisplayAdapter.java | 385 int deviceFlags = DisplayDeviceInfo.FLAG_PRESENTATION; in addDisplayDeviceLocked() 387 deviceFlags |= DisplayDeviceInfo.FLAG_SECURE; in addDisplayDeviceLocked() 389 deviceFlags |= DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS; in addDisplayDeviceLocked() 607 private DisplayDeviceInfo mInfo; 650 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked() 652 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 665 mInfo.touch = DisplayDeviceInfo.TOUCH_EXTERNAL; in getDisplayDeviceInfoLocked() 668 mInfo.flags |= DisplayDeviceInfo.FLAG_TRUSTED; in getDisplayDeviceInfoLocked()
|
D | DisplayDevice.java | 81 DisplayDeviceInfo mDebugLastLoggedDeviceInfo; 162 DisplayDeviceInfo displayDeviceInfo = getDisplayDeviceInfoLocked(); in getDisplaySurfaceDefaultSizeLocked() 209 public abstract DisplayDeviceInfo getDisplayDeviceInfoLocked(); in getDisplayDeviceInfoLocked() 398 DisplayDeviceInfo info = getDisplayDeviceInfoLocked(); in populateViewportLocked()
|
D | LocalDisplayAdapter.java | 230 private DisplayDeviceInfo mInfo; 669 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked() 671 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 705 mInfo.flags = DisplayDeviceInfo.FLAG_SECURE in getDisplayDeviceInfoLocked() 706 | DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS; in getDisplayDeviceInfoLocked() 711 mInfo.flags |= DisplayDeviceInfo.FLAG_ALLOWED_TO_BE_DEFAULT_DISPLAY; in getDisplayDeviceInfoLocked() 717 mInfo.flags |= DisplayDeviceInfo.FLAG_ROUND; in getDisplayDeviceInfoLocked() 721 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY; in getDisplayDeviceInfoLocked() 725 mInfo.flags |= DisplayDeviceInfo.FLAG_PRIVATE; in getDisplayDeviceInfoLocked() 730 mInfo.flags |= DisplayDeviceInfo.FLAG_MASK_DISPLAY_CUTOUT; in getDisplayDeviceInfoLocked() [all …]
|
D | LogicalDisplayMapper.java | 611 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in areAllTransitioningDisplaysOffLocked() 658 DisplayDeviceInfo deviceInfo = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceAddedLocked() 663 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_ALLOWED_TO_BE_DEFAULT_DISPLAY) != 0) { in handleDisplayDeviceAddedLocked() 681 DisplayDeviceInfo deviceInfo = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceRemovedLocked() 696 DisplayDeviceInfo nextDeviceInfo = nextDevice.getDisplayDeviceInfoLocked(); in handleDisplayDeviceRemovedLocked() 699 & DisplayDeviceInfo.FLAG_ALLOWED_TO_BE_DEFAULT_DISPLAY) != 0 in handleDisplayDeviceRemovedLocked() 717 updateLogicalDisplaysLocked(DisplayDeviceInfo.DIFF_EVERYTHING); in updateLogicalDisplaysLocked() 808 if ((diff == DisplayDeviceInfo.DIFF_HDR_SDR_RATIO)) { in updateLogicalDisplaysLocked() 987 final DisplayDeviceInfo displayDeviceInfo = displayDevice.getDisplayDeviceInfoLocked(); in assignDisplayGroupLocked() 992 (displayDeviceInfo.flags & DisplayDeviceInfo.FLAG_OWN_DISPLAY_GROUP) != 0 in assignDisplayGroupLocked() [all …]
|
D | DisplayManagerService.java | 2255 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in updateDisplayStateLocked() 2256 if ((info.flags & DisplayDeviceInfo.FLAG_NEVER_BLANK) == 0) { in updateDisplayStateLocked() 3015 private Optional<Integer> getViewportType(DisplayDeviceInfo info) { in getViewportType() 3018 case DisplayDeviceInfo.TOUCH_INTERNAL: in getViewportType() 3020 case DisplayDeviceInfo.TOUCH_EXTERNAL: in getViewportType() 3022 case DisplayDeviceInfo.TOUCH_VIRTUAL: in getViewportType() 3036 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in configureDisplayLocked() 3087 DisplayDeviceInfo info) { in populateViewportLocked() 3097 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in updateViewportPowerStateLocked() 3494 DisplayDeviceInfo getDisplayDeviceInfoInternal(int displayId) { in getDisplayDeviceInfoInternal() [all …]
|
D | DisplayPowerController.java | 843 final DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in onDisplayChanged() 928 private void loadFromDisplayDeviceConfig(IBinder token, DisplayDeviceInfo info, in loadFromDisplayDeviceConfig() 2015 final DisplayDeviceInfo info = mDisplayDevice.getDisplayDeviceInfoLocked(); in createHbmControllerLocked() 3246 DisplayManagerFlags flags, IBinder displayToken, DisplayDeviceInfo info) { in getBrightnessRangeController()
|
/frameworks/base/services/ |
D | art-wear-profile | 421 Lcom/android/server/display/DisplayDeviceInfo; 10027 …ay/feature/DisplayManagerFlags;Landroid/os/IBinder;Lcom/android/server/display/DisplayDeviceInfo;)V 10028 …ay/feature/DisplayManagerFlags;Landroid/os/IBinder;Lcom/android/server/display/DisplayDeviceInfo;)V 10038 …tnessRangeController;->updateHdrClamper(Lcom/android/server/display/DisplayDeviceInfo;Landroid/os/… 10237 HSPLcom/android/server/display/DisplayDeviceInfo;-><init>()V 10238 HPLcom/android/server/display/DisplayDeviceInfo;->diff(Lcom/android/server/display/DisplayDeviceInf… 10239 PLcom/android/server/display/DisplayDeviceInfo;->equals(Lcom/android/server/display/DisplayDeviceIn… 10240 PLcom/android/server/display/DisplayDeviceInfo;->equals(Ljava/lang/Object;)Z 10241 HSPLcom/android/server/display/DisplayDeviceInfo;->flagsToString(I)Ljava/lang/String; 10242 HSPLcom/android/server/display/DisplayDeviceInfo;->toString()Ljava/lang/String; [all …]
|
D | art-profile | 1465 HSPLcom/android/server/display/DisplayDeviceInfo;-><init>()V 1466 HSPLcom/android/server/display/DisplayDeviceInfo;->diff(Lcom/android/server/display/DisplayDeviceIn… 1467 HSPLcom/android/server/display/DisplayDeviceInfo;->toString()Ljava/lang/String; 1518 …layDevice;->getDisplayDeviceInfoLocked()Lcom/android/server/display/DisplayDeviceInfo;+]Landroid/c… 1522 …splay/LogicalDisplay;->getMaskingInsets(Lcom/android/server/display/DisplayDeviceInfo;)Landroid/gr… 1523 …gicalDisplay;->updateFrameRateOverrides(Lcom/android/server/display/DisplayDeviceInfo;)V+]Landroid…
|