Home
last modified time | relevance | path

Searched refs:DisplayContent (Results 1 – 24 of 24) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayTestBase.java64 import android.server.wm.WindowManagerState.DisplayContent;
130 DisplayContent getDisplayState(int displayId) { in getDisplayState()
134 DisplayContent getDisplayState(List<DisplayContent> displays, int displayId) { in getDisplayState()
135 for (DisplayContent display : displays) { in getDisplayState()
144 DisplayContent getDisplayState(List<DisplayContent> displays, int width, int height, in getDisplayState()
146 for (DisplayContent display : displays) { in getDisplayState()
159 List<DisplayContent> getDisplaysStates() { in getDisplaysStates()
165 List<DisplayContent> findNewDisplayStates(List<DisplayContent> oldDisplays, in findNewDisplayStates()
166 List<DisplayContent> newDisplays) { in findNewDisplayStates()
167 final ArrayList<DisplayContent> result = new ArrayList<>(); in findNewDisplayStates()
[all …]
DDisplayAreaPolicyTests.java26 import android.server.wm.WindowManagerState.DisplayContent;
44 private List<DisplayContent> mDisplays;
56 private boolean isTrustedDisplay(DisplayContent displayContent) { in isTrustedDisplay()
65 for (DisplayContent displayContent : mDisplays) { in testDisplayContent()
79 for (DisplayContent displayContent : mDisplays) { in testDefaultTaskDisplayArea()
96 for (DisplayContent displayContent : mDisplays) { in testDisplayAreaUniqueId()
DMultiDisplaySecurityTests.java67 import android.server.wm.WindowManagerState.DisplayContent;
111 final DisplayContent newDisplay = createManagedVirtualDisplaySession().createDisplay(); in testLaunchWithoutPermissionOnVirtualDisplayByOwner()
134 final DisplayContent newDisplay = createManagedVirtualDisplaySession().createDisplay(); in testLaunchWithoutPermissionOnVirtualDisplay()
158 final DisplayContent newDisplay = createManagedVirtualDisplaySession().createDisplay(); in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
190 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testCanAccessSystemOwnedDisplay()
204 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testCanAccessPublicVirtualDisplayWithInternalPermission()
221 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testCanAccessPrivateVirtualDisplayWithInternalPermission()
239 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testCantAccessPublicVirtualDisplayNoEmbeddingPermission()
253 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testCantAccessPublicVirtualDisplayActivityEmbeddingNotAllowed()
270 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testCanAccessPublicVirtualDisplayActivityEmbeddingAllowed()
[all …]
DMultiDisplayKeyguardTests.java26 import android.server.wm.WindowManagerState.DisplayContent;
60 final DisplayContent newDisplay = createManagedVirtualDisplaySession().createDisplay(); in testDismissKeyguardActivity_secondaryDisplay()
76 final DisplayContent publicDisplay = createManagedVirtualDisplaySession() in testShowKeyguardDialogOnSecondaryDisplay()
97 final DisplayContent publicDisplay = virtualDisplaySession in testShowKeyguardDialogSecondaryDisplayChange()
123 final DisplayContent publicDisplay = virtualDisplaySession in testShowKeyguardDialogDefaultDisplayChange()
154 final DisplayContent privateDisplay = in testNoKeyguardDialogOnPrivateDisplay()
156 final DisplayContent publicDisplay = in testNoKeyguardDialogOnPrivateDisplay()
171 final DisplayContent secondDisplay = virtualDisplaySession in testUnlockScreen_secondDisplayChanged_dismissesKeyguardOnUnlock()
201 final DisplayContent decoredSystemDisplay = virtualDisplaySession in testUnlockScreen_decoredSystemDisplayChanged_dismissesKeyguardOnUnlock()
DDisplayTests.java33 import android.server.wm.WindowManagerState.DisplayContent;
54 final List<DisplayContent> reportedDisplays = getDisplaysStates(); in testDefaultDisplayOverrideConfiguration()
55 final DisplayContent primaryDisplay = getDisplayState(reportedDisplays, DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfiguration()
79 final DisplayContent newDisplay = createManagedVirtualDisplaySession().createDisplay(); in testCreateVirtualDisplayWithCustomConfig()
115 final DisplayContent newDisplay = createManagedVirtualDisplaySession().createDisplay(); in testMultiDisplayDisabled()
137 final List<DisplayContent> originalDs = getDisplaysStates(); in testCreateMultipleVirtualDisplays()
195 final DisplayContent displayContent = virtualDisplaySession in getDisplayResourcesConfiguration()
DMultiDisplayActivityLaunchTests.java80 import android.server.wm.WindowManagerState.DisplayContent;
129 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in validateActivityLaunchOnNewDisplay()
181 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testLaunchActivityFromSecondaryDisplay()
230 final DisplayContent newDisplay = externalDisplaySession in testLaunchExternalDisplayActivityWhilePrimaryOff()
249 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testLaunchNonResizeableActivityOnSecondaryDisplay()
280 final DisplayContent newDisplay = virtualLauncher in testMoveNonResizeableActivityToSecondaryDisplay()
316 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask()
338 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
375 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testConsequentLaunchActivity()
401 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testConsequentLaunchActivityInNewProcess()
[all …]
DMultiDisplayPolicyTests.java56 import android.server.wm.WindowManagerState.DisplayContent;
84 final DisplayContent newDisplay = virtualDisplaySession.createDisplay(); in testContentDestroyOnDisplayRemoved()
125 final DisplayContent newDisplay = virtualDisplaySession.createDisplay(); in testActivityLaunchOnContentDestroyDisplayRemoved()
148 final DisplayContent newDisplay = virtualDisplaySession.createDisplay(); in testDisplayResize()
200 final DisplayContent newDisplay = virtualLauncher.setResizeDisplay(false).createDisplay(); in testRotationNotAffectingSecondaryScreen()
251 final DisplayContent newDisplay = createManagedExternalDisplaySession() in testExternalDisplayActivityTurnPrimaryOff()
287 final DisplayContent newDisplay = externalDisplaySession.createVirtualDisplay(); in testExternalDisplayToggleState()
325 final DisplayContent newDisplay = externalDisplaySession in testNoLeakOnExternalDisplay()
350 final DisplayContent newDisplay = createManagedVirtualDisplaySession().createDisplay(); in testLaunchActivitiesAffectsVisibility()
374 final DisplayContent newDisplay = createManagedVirtualDisplaySession().createDisplay(); in testMoveTaskBetweenDisplays()
[all …]
DMultiDisplayLockedKeyguardTests.java30 import android.server.wm.WindowManagerState.DisplayContent;
65 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testVirtualDisplayHidesContentWhenLocked()
98 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testPrivateDisplayHideContentWhenLocked()
119 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testDismissKeyguard_secondaryDisplay()
142 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testDismissKeyguard_whileOccluded_secondaryDisplay()
DMultiDisplaySystemDecorationTests.java67 import android.server.wm.WindowManagerState.DisplayContent;
131 final DisplayContent newDisplay = virtualDisplaySession in testWallpaperGetDisplayContext()
148 final DisplayContent untrustedDisplay = createManagedExternalDisplaySession() in testWallpaperShowOnSecondaryDisplays()
151 final DisplayContent decoredSystemDisplay = createManagedVirtualDisplaySession() in testWallpaperShowOnSecondaryDisplays()
223 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testNavBarShowingOnDisplayWithDecor()
272 final DisplayContent supportsSysDecorDisplay = secondDisplaySession in waitAndAssertNavBarStatesAreTheSame()
301 final DisplayContent newDisplay = createManagedExternalDisplaySession() in testLaunchHomeActivityOnSecondaryDisplayWithoutDecorations()
315 final DisplayContent newDisplay = createManagedExternalDisplaySession() in testLaunchHomeActivityOnUntrustedVirtualSecondaryDisplay()
375 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in assertSecondaryHomeResumedOnNewDisplay()
400 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testImeWindowCanSwitchToDifferentDisplays()
[all …]
DPresentationTest.java56 WindowManagerState.DisplayContent display = in testPresentationAllowedOnPresentationDisplay()
72 WindowManagerState.DisplayContent display = virtualDisplaySession in testPresentationNotDismissAfterResizeDisplay()
94 WindowManagerState.DisplayContent display = in testPresentationBlockedOnNonPresentationDisplay()
128 WindowManagerState.DisplayContent display = mWmState.getDisplay(displayId); in assertPresentationOnDisplayAndMatchesDisplayMetrics()
DMultiDisplayPrivateDisplayTests.java31 import android.server.wm.WindowManagerState.DisplayContent;
72 for (DisplayContent displayContent: getDisplaysStates()) { in findPrivateDisplays()
74 DisplayContent display = mWmState.getDisplay(displayId); in findPrivateDisplays()
DWindowContextPolicyTests.java82 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testCreateMultipleWindowContextsWithoutView()
91 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testWindowContextWithAllPublicTypes()
112 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testWindowContextAddMismatchedWindowType()
DMultiDisplayClientTests.java43 import android.server.wm.WindowManagerState.DisplayContent;
103 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testDisplayIdUpdateOnMove()
162 final DisplayContent newDisplay = virtualDisplaySession in testDisplayIdUpdateWhenImeMove()
198 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testInputMethodManagerDisplayId()
222 final DisplayContent newDisplay = createManagedVirtualDisplaySession() in testViewGetDisplay()
DAspectRatioTestsBase.java54 final WindowManagerState.DisplayContent display = mWmState.getDisplay(displayId); in runAspectRatioTest()
101 final WindowManagerState.DisplayContent display = mWmState.getDisplay(displayId); in getDisplayAspectRatio()
DWindowContextTests.java72 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testWindowContextConfigChanges()
132 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testWindowContextRegisterComponentCallbacks()
162 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testWindowContextGlobalConfigChanges()
DManifestLayoutTests.java68 private WindowManagerState.DisplayContent mDisplay;
DAppConfigurationTests.java311 final WindowManagerState.DisplayContent display = mWmState.getDisplay(displayId); in testDialogWhenLargeSplitSmall()
709 WindowManagerState.DisplayContent displayContent = virtualDisplaySession in assertDisplayContextDoesntChangeOrientationWhenRotating()
DWindowFocusTests.java565 private final WindowManagerState.DisplayContent mVirtualDisplay;
DKeyguardTests.java374 WindowManagerState.DisplayContent display = mWmState in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation()
DPinnedStackTests.java299 final WindowManagerState.DisplayContent display = mWmState.getDisplay( in testEnterPipWithTinyMinimalSize()
1445 final WindowManagerState.DisplayContent display = mWmState.getDisplay( in assertPinnedStackActivityIsInDisplayBounds()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java132 private final List<DisplayContent> mDisplays = new ArrayList<>();
373 private void updateForDisplayContent(DisplayContent display) { in updateForDisplayContent()
410 collectDescendantsOfType(DisplayContent.class, mRoot, mDisplays); in parseSysDumpProto()
412 DisplayContent display = mDisplays.get(i); in parseSysDumpProto()
418 final DisplayContent focusedDisplay = getDisplay(mFocusedDisplayId); in parseSysDumpProto()
475 DisplayContent getDisplay(int displayId) { in getDisplay()
476 for (DisplayContent display : mDisplays) { in getDisplay()
487 for (DisplayContent display : mDisplays) { in getTaskDisplayArea()
502 for (DisplayContent display : mDisplays) { in getDisplayArea()
635 for (DisplayContent display : mDisplays) { in getRootTaskIndexByActivityType()
[all …]
DTouchHelper.java52 WindowManagerState.DisplayContent dc = mWmState.getDisplay(displayId); in touchAndCancelOnDisplayCenterSync()
DWindowManagerStateHelper.java675 final WindowManagerState.DisplayContent display = getDisplay(DEFAULT_DISPLAY);
689 final WindowManagerState.DisplayContent display = getDisplay(DEFAULT_DISPLAY);
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTopResumedStateTests.java760 final WindowManagerState.DisplayContent newDisplay in testTopPositionSwitchAcrossDisplays()
809 final WindowManagerState.DisplayContent newDisplay = createManagedVirtualDisplaySession() in testTopPositionSwitchAcrossDisplaysOnTap()
864 final WindowManagerState.DisplayContent newDisplay = createManagedVirtualDisplaySession() in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess()
937 final WindowManagerState.DisplayContent newDisplay = createManagedVirtualDisplaySession() in testTopPositionSwitchAcrossDisplaysOnTapTimeoutDifferentProcess()
1015 final WindowManagerState.DisplayContent newDisplay = createManagedVirtualDisplaySession() in testFinishOnDifferentDisplay_nonFocused()
1059 final WindowManagerState.DisplayContent newDisplay = createManagedVirtualDisplaySession() in testFinishOnDifferentDisplay_focused()