Home
last modified time | relevance | path

Searched refs:displayContent (Results 1 – 8 of 8) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayAreaPolicyTests.java56 private boolean isTrustedDisplay(DisplayContent displayContent) { in isTrustedDisplay() argument
57 return (displayContent.getFlags() & Display.FLAG_TRUSTED) != 0; in isTrustedDisplay()
65 for (DisplayContent displayContent : mDisplays) { in testDisplayContent()
66 assertThat(displayContent.getFeatureId()).isEqualTo(FEATURE_ROOT); in testDisplayContent()
68 if (isTrustedDisplay(displayContent)) { in testDisplayContent()
69 assertThat(displayContent.isOrganized()).isTrue(); in testDisplayContent()
79 for (DisplayContent displayContent : mDisplays) { in testDefaultTaskDisplayArea()
80 final List<DisplayArea> taskDisplayAreas = displayContent.getAllTaskDisplayAreas(); in testDefaultTaskDisplayArea()
96 for (DisplayContent displayContent : mDisplays) { in testDisplayAreaUniqueId()
99 uniqueIds.add(displayContent.getFeatureId()); in testDisplayAreaUniqueId()
[all …]
DMultiDisplayPrivateDisplayTests.java72 for (DisplayContent displayContent: getDisplaysStates()) { in findPrivateDisplays()
73 int displayId = displayContent.mId; in findPrivateDisplays()
DDisplayTests.java195 final DisplayContent displayContent = virtualDisplaySession in getDisplayResourcesConfiguration() local
199 final Display display = mDm.getDisplay(displayContent.mId); in getDisplayResourcesConfiguration()
DMultiDisplayActivityLaunchTests.java937 final DisplayContent displayContent = createManagedVirtualDisplaySession() in testLaunchPendingIntentActivity() local
949 mContext.createDisplayContext(mDm.getDisplay(displayContent.mId)); in testLaunchPendingIntentActivity()
951 waitAndAssertTopResumedActivity(TOP_ACTIVITY, displayContent.mId, in testLaunchPendingIntentActivity()
961 options.setLaunchDisplayId(displayContent.mId); in testLaunchPendingIntentActivity()
965 waitAndAssertTopResumedActivity(TEST_ACTIVITY, displayContent.mId, in testLaunchPendingIntentActivity()
DMultiDisplaySystemDecorationTests.java283 mWmState.getDisplays().forEach(displayContent -> { in waitAndAssertNavBarStatesAreTheSame()
285 ws.getDisplayId() == displayContent.mId) in waitAndAssertNavBarStatesAreTheSame()
288 mWmState.waitAndAssertNavBarShownOnDisplay(displayContent.mId, navWindows.size()); in waitAndAssertNavBarStatesAreTheSame()
DAppConfigurationTests.java709 WindowManagerState.DisplayContent displayContent = virtualDisplaySession in assertDisplayContextDoesntChangeOrientationWhenRotating() local
715 Display simulatedDisplay = dm.getDisplay(displayContent.mId); in assertDisplayContextDoesntChangeOrientationWhenRotating()
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DWindowManagerUtil.java139 final DisplayContentProto displayContent = child.getDisplayContent(); in collectWindowStates() local
140 for (WindowTokenProto windowToken : displayContent.getOverlayWindowsList()) { in collectWindowStates()
143 if (displayContent.hasRootDisplayArea()) { in collectWindowStates()
144 final DisplayAreaProto displayArea = displayContent.getRootDisplayArea(); in collectWindowStates()
147 collectWindowStates(displayContent.getWindowContainer(), out); in collectWindowStates()
182 final DisplayContentProto displayContent = child.getDisplayContent(); in collectActivityRecords() local
183 for (WindowTokenProto windowToken : displayContent.getOverlayWindowsList()) { in collectActivityRecords()
186 if (displayContent.hasRootDisplayArea()) { in collectActivityRecords()
187 final DisplayAreaProto displayArea = displayContent.getRootDisplayArea(); in collectActivityRecords()
190 collectActivityRecords(displayContent.getWindowContainer(), out); in collectActivityRecords()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java1802 if (proto.displayContent != null) {
1803 return new DisplayContent(proto.displayContent);