Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java85 private DisplayDeviceInfo mPrimaryDisplayDeviceInfo;
237 DisplayDeviceInfo deviceInfo = mPrimaryDisplayDevice.getDisplayDeviceInfoLocked(); in updateLocked()
241 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS) != 0) { in updateLocked()
244 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SECURE) != 0) { in updateLocked()
247 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_PRIVATE) != 0) { in updateLocked()
252 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_DESTROY_CONTENT_ON_REMOVAL) != 0) { in updateLocked()
255 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_PRESENTATION) != 0) { in updateLocked()
258 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_ROUND) != 0) { in updateLocked()
261 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_CAN_SHOW_WITH_INSECURE_KEYGUARD) != 0) { in updateLocked()
264 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS) != 0) { in updateLocked()
[all …]
DVirtualDisplayAdapter.java210 private DisplayDeviceInfo mInfo;
339 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
341 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
355 mInfo.flags |= DisplayDeviceInfo.FLAG_PRIVATE in getDisplayDeviceInfoLocked()
356 | DisplayDeviceInfo.FLAG_NEVER_BLANK; in getDisplayDeviceInfoLocked()
359 mInfo.flags &= ~DisplayDeviceInfo.FLAG_NEVER_BLANK; in getDisplayDeviceInfoLocked()
361 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY; in getDisplayDeviceInfoLocked()
365 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked()
368 mInfo.flags |= DisplayDeviceInfo.FLAG_PRESENTATION; in getDisplayDeviceInfoLocked()
380 mInfo.flags |= DisplayDeviceInfo.FLAG_CAN_SHOW_WITH_INSECURE_KEYGUARD; in getDisplayDeviceInfoLocked()
[all …]
DLocalDisplayAdapter.java168 private DisplayDeviceInfo mInfo;
388 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
391 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
415 mInfo.flags = DisplayDeviceInfo.FLAG_SECURE in getDisplayDeviceInfoLocked()
416 | DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS; in getDisplayDeviceInfoLocked()
423 mInfo.flags |= DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY in getDisplayDeviceInfoLocked()
424 | DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT; in getDisplayDeviceInfoLocked()
428 mInfo.flags |= DisplayDeviceInfo.FLAG_ROUND; in getDisplayDeviceInfoLocked()
432 mInfo.flags |= DisplayDeviceInfo.FLAG_MASK_DISPLAY_CUTOUT; in getDisplayDeviceInfoLocked()
440 mInfo.touch = DisplayDeviceInfo.TOUCH_INTERNAL; in getDisplayDeviceInfoLocked()
[all …]
DDisplayDeviceInfo.java32 final class DisplayDeviceInfo { class
312 return o instanceof DisplayDeviceInfo && equals((DisplayDeviceInfo)o); in equals()
315 public boolean equals(DisplayDeviceInfo other) { in equals()
323 public int diff(DisplayDeviceInfo other) { in diff()
363 public void copyFrom(DisplayDeviceInfo other) { in copyFrom()
DDisplayDevice.java53 DisplayDeviceInfo mDebugLastLoggedDeviceInfo;
113 public abstract DisplayDeviceInfo getDisplayDeviceInfoLocked(); in getDisplayDeviceInfoLocked()
234 DisplayDeviceInfo info = getDisplayDeviceInfoLocked(); in populateViewportLocked()
DOverlayDisplayAdapter.java234 private DisplayDeviceInfo mInfo;
289 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
293 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
306 mInfo.flags = DisplayDeviceInfo.FLAG_PRESENTATION; in getDisplayDeviceInfoLocked()
308 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked()
311 mInfo.touch = DisplayDeviceInfo.TOUCH_VIRTUAL; in getDisplayDeviceInfoLocked()
DWifiDisplayAdapter.java371 int deviceFlags = DisplayDeviceInfo.FLAG_PRESENTATION; in addDisplayDeviceLocked()
373 deviceFlags |= DisplayDeviceInfo.FLAG_SECURE; in addDisplayDeviceLocked()
375 deviceFlags |= DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS; in addDisplayDeviceLocked()
589 private DisplayDeviceInfo mInfo;
631 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
633 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
645 mInfo.touch = DisplayDeviceInfo.TOUCH_EXTERNAL; in getDisplayDeviceInfoLocked()
DDisplayManagerService.java892 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceAddedLocked()
912 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceChanged()
919 if (diff == DisplayDeviceInfo.DIFF_STATE) { in handleDisplayDeviceChanged()
925 if ((diff & DisplayDeviceInfo.DIFF_COLOR_MODE) != 0) { in handleDisplayDeviceChanged()
948 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceRemovedLocked()
982 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in updateDisplayStateLocked()
983 if ((info.flags & DisplayDeviceInfo.FLAG_NEVER_BLANK) == 0) { in updateDisplayStateLocked()
992 DisplayDeviceInfo deviceInfo = device.getDisplayDeviceInfoLocked(); in addLogicalDisplayLocked()
994 & DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY) != 0; in addLogicalDisplayLocked()
1050 & DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY) != 0) { in configureColorModeLocked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java50 import com.android.server.display.DisplayDeviceInfo;
254 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(displayId); in testCreateVirtualDisplayRotatesWithContent()
256 assertTrue((ddi.flags & DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT) != 0); in testCreateVirtualDisplayRotatesWithContent()
384 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(0); in testDisplayedContentSampling()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DLocalDisplayAdapterTest.java159 private void assertDisplay(DisplayDeviceInfo info, long expectedPort, boolean shouldBePrivate) { in assertDisplay()
163 assertEquals(shouldBePrivate, (info.flags & DisplayDeviceInfo.FLAG_PRIVATE) != 0); in assertDisplay()
/frameworks/base/services/
Dart-profile6648 HSPLcom/android/server/display/DisplayDeviceInfo;->diff(Lcom/android/server/display/DisplayDeviceIn…
6649 HSPLcom/android/server/display/DisplayDeviceInfo;->equals(Ljava/lang/Object;)Z
6650 HSPLcom/android/server/display/DisplayDeviceInfo;->flagsToString(I)Ljava/lang/String;
6651 HSPLcom/android/server/display/DisplayDeviceInfo;->toString()Ljava/lang/String;
6839 …ter$LocalDisplayDevice;->getDisplayDeviceInfoLocked()Lcom/android/server/display/DisplayDeviceInfo;
6887 …r$VirtualDisplayDevice;->getDisplayDeviceInfoLocked()Lcom/android/server/display/DisplayDeviceInfo;
19069 Lcom/android/server/display/DisplayDeviceInfo;