Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java86 private DisplayDeviceInfo mPrimaryDisplayDeviceInfo;
242 DisplayDeviceInfo deviceInfo = mPrimaryDisplayDevice.getDisplayDeviceInfoLocked(); in updateLocked()
246 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS) != 0) { in updateLocked()
249 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SECURE) != 0) { in updateLocked()
252 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_PRIVATE) != 0) { in updateLocked()
257 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_DESTROY_CONTENT_ON_REMOVAL) != 0) { in updateLocked()
260 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_PRESENTATION) != 0) { in updateLocked()
263 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_ROUND) != 0) { in updateLocked()
266 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_CAN_SHOW_WITH_INSECURE_KEYGUARD) != 0) { in updateLocked()
269 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS) != 0) { in updateLocked()
[all …]
DVirtualDisplayAdapter.java30 import static com.android.server.display.DisplayDeviceInfo.FLAG_TRUSTED;
224 private DisplayDeviceInfo mInfo;
366 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
368 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
382 mInfo.flags |= DisplayDeviceInfo.FLAG_PRIVATE in getDisplayDeviceInfoLocked()
383 | DisplayDeviceInfo.FLAG_NEVER_BLANK; in getDisplayDeviceInfoLocked()
386 mInfo.flags &= ~DisplayDeviceInfo.FLAG_NEVER_BLANK; in getDisplayDeviceInfoLocked()
388 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY; in getDisplayDeviceInfoLocked()
392 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked()
395 mInfo.flags |= DisplayDeviceInfo.FLAG_PRESENTATION; in getDisplayDeviceInfoLocked()
[all …]
DDisplayDeviceInfo.java33 final class DisplayDeviceInfo { class
338 return o instanceof DisplayDeviceInfo && equals((DisplayDeviceInfo)o); in equals()
341 public boolean equals(DisplayDeviceInfo other) { in equals()
349 public int diff(DisplayDeviceInfo other) { in diff()
392 public void copyFrom(DisplayDeviceInfo other) { in copyFrom()
DOverlayDisplayAdapter.java19 import static com.android.server.display.DisplayDeviceInfo.FLAG_TRUSTED;
277 private DisplayDeviceInfo mInfo;
331 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
335 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
348 mInfo.flags = DisplayDeviceInfo.FLAG_PRESENTATION; in getDisplayDeviceInfoLocked()
350 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked()
353 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY; in getDisplayDeviceInfoLocked()
356 mInfo.flags |= DisplayDeviceInfo.FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS; in getDisplayDeviceInfoLocked()
359 mInfo.touch = DisplayDeviceInfo.TOUCH_VIRTUAL; in getDisplayDeviceInfoLocked()
DLocalDisplayAdapter.java179 private DisplayDeviceInfo mInfo;
503 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
506 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
536 mInfo.flags = DisplayDeviceInfo.FLAG_SECURE in getDisplayDeviceInfoLocked()
537 | DisplayDeviceInfo.FLAG_SUPPORTS_PROTECTED_BUFFERS; in getDisplayDeviceInfoLocked()
543 mInfo.flags |= DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY; in getDisplayDeviceInfoLocked()
548 mInfo.flags |= DisplayDeviceInfo.FLAG_ROUND; in getDisplayDeviceInfoLocked()
552 mInfo.flags |= DisplayDeviceInfo.FLAG_MASK_DISPLAY_CUTOUT; in getDisplayDeviceInfoLocked()
559 mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY; in getDisplayDeviceInfoLocked()
563 mInfo.flags |= DisplayDeviceInfo.FLAG_PRIVATE; in getDisplayDeviceInfoLocked()
[all …]
DWifiDisplayAdapter.java378 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;
638 public DisplayDeviceInfo getDisplayDeviceInfoLocked() { in getDisplayDeviceInfoLocked()
640 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked()
652 mInfo.touch = DisplayDeviceInfo.TOUCH_EXTERNAL; in getDisplayDeviceInfoLocked()
655 mInfo.flags |= DisplayDeviceInfo.FLAG_TRUSTED; in getDisplayDeviceInfoLocked()
DDisplayDevice.java55 DisplayDeviceInfo mDebugLastLoggedDeviceInfo;
132 public abstract DisplayDeviceInfo getDisplayDeviceInfoLocked(); in getDisplayDeviceInfoLocked()
270 DisplayDeviceInfo info = getDisplayDeviceInfoLocked(); in populateViewportLocked()
DDisplayManagerService.java947 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceAddedLocked()
967 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceChanged()
974 if (diff == DisplayDeviceInfo.DIFF_STATE) { in handleDisplayDeviceChanged()
992 if ((diff & DisplayDeviceInfo.DIFF_COLOR_MODE) != 0) { in handleDisplayDeviceChanged()
1015 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in handleDisplayDeviceRemovedLocked()
1057 DisplayDeviceInfo info = device.getDisplayDeviceInfoLocked(); in updateDisplayStateLocked()
1058 if ((info.flags & DisplayDeviceInfo.FLAG_NEVER_BLANK) == 0) { in updateDisplayStateLocked()
1068 DisplayDeviceInfo deviceInfo = device.getDisplayDeviceInfoLocked(); in addLogicalDisplayLocked()
1070 & DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY) != 0; in addLogicalDisplayLocked()
1127 & DisplayDeviceInfo.FLAG_DEFAULT_DISPLAY) != 0) { in configureColorModeLocked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DLogicalDisplayTest.java47 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo(); in setUp()
50 displayDeviceInfo.flags = DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT; in setUp()
DDisplayManagerServiceTest.java54 import com.android.server.display.DisplayDeviceInfo;
268 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(displayId); in testCreateVirtualDisplayRotatesWithContent()
270 assertTrue((ddi.flags & DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT) != 0); in testCreateVirtualDisplayRotatesWithContent()
398 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(0); in testDisplayedContentSampling()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DLocalDisplayAdapterTest.java161 DisplayDeviceInfo info, int expectedPort, boolean shouldBePrivate) { in assertDisplayPrivateFlag()
166 assertEquals(shouldBePrivate, (info.flags & DisplayDeviceInfo.FLAG_PRIVATE) != 0); in assertDisplayPrivateFlag()
204 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testAfterDisplayChange_ModesAreUpdated()
251 private void assertDisplayDpi(DisplayDeviceInfo info, int expectedPort, in assertDisplayDpi()
263 private Display.Mode getModeById(DisplayDeviceInfo displayDeviceInfo, int modeId) { in getModeById()
/frameworks/base/services/
Dart-profile15016 HSPLcom/android/server/display/DisplayDeviceInfo;-><init>()V
15017 HSPLcom/android/server/display/DisplayDeviceInfo;->diff(Lcom/android/server/display/DisplayDeviceIn…
15018 HSPLcom/android/server/display/DisplayDeviceInfo;->equals(Lcom/android/server/display/DisplayDevice…
15019 HSPLcom/android/server/display/DisplayDeviceInfo;->equals(Ljava/lang/Object;)Z
15020 HSPLcom/android/server/display/DisplayDeviceInfo;->flagsToString(I)Ljava/lang/String;
15021 HSPLcom/android/server/display/DisplayDeviceInfo;->toString()Ljava/lang/String;
15022 HSPLcom/android/server/display/DisplayDeviceInfo;->touchToString(I)Ljava/lang/String;
15485 …ter$LocalDisplayDevice;->getDisplayDeviceInfoLocked()Lcom/android/server/display/DisplayDeviceInfo;
15523 …splay/LogicalDisplay;->getMaskingInsets(Lcom/android/server/display/DisplayDeviceInfo;)Landroid/gr…
15625 …r$VirtualDisplayDevice;->getDisplayDeviceInfoLocked()Lcom/android/server/display/DisplayDeviceInfo;
[all …]