Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayKeyguardTests.java96 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testShowKeyguardDialogSecondaryDisplayChange() local
98 final DisplayContent publicDisplay = virtualDisplaySession in testShowKeyguardDialogSecondaryDisplayChange()
107 virtualDisplaySession.resizeDisplay(); in testShowKeyguardDialogSecondaryDisplayChange()
118 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testShowKeyguardDialogDefaultDisplayChange() local
124 final DisplayContent publicDisplay = virtualDisplaySession in testShowKeyguardDialogDefaultDisplayChange()
154 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testNoKeyguardDialogOnPrivateDisplay() local
157 virtualDisplaySession.setPublicDisplay(false).createDisplay(); in testNoKeyguardDialogOnPrivateDisplay()
159 virtualDisplaySession.setPublicDisplay(true).createDisplay(); in testNoKeyguardDialogOnPrivateDisplay()
169 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testUnlockScreen_secondDisplayChanged_dismissesKeyguardOnUnlock() local
173 final DisplayContent secondDisplay = virtualDisplaySession in testUnlockScreen_secondDisplayChanged_dismissesKeyguardOnUnlock()
[all …]
DMultiDisplayPolicyTests.java89 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testContentDestroyOnDisplayRemoved() argument
91 final DisplayContent newDisplay = virtualDisplaySession.createDisplay(); in testContentDestroyOnDisplayRemoved()
130 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testActivityLaunchOnContentDestroyDisplayRemoved() argument
132 final DisplayContent newDisplay = virtualDisplaySession.createDisplay(); in testActivityLaunchOnContentDestroyDisplayRemoved()
153 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testDisplayResize() local
155 final DisplayContent newDisplay = virtualDisplaySession.createDisplay(); in testDisplayResize()
169 virtualDisplaySession.resizeDisplay(); in testDisplayResize()
468 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in tryCreatingAndRemovingDisplayWithActivity() argument
470 final DisplayContent newDisplay = virtualDisplaySession in tryCreatingAndRemovingDisplayWithActivity()
534 private void validateStackFocusSwitchOnStackEmptied(VirtualDisplaySession virtualDisplaySession, in validateStackFocusSwitchOnStackEmptied() argument
[all …]
DMultiDisplayClientTests.java159 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testDisplayIdUpdateWhenImeMove() local
165 final DisplayContent newDisplay = virtualDisplaySession in testDisplayIdUpdateWhenImeMove()
DMultiDisplaySystemDecorationTests.java89 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testWallpaperGetDisplayContext() local
93 final DisplayContent newDisplay = virtualDisplaySession in testWallpaperGetDisplayContext()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DDisplayTests.java147 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCreateMultipleVirtualDisplays() argument
149 virtualDisplaySession.createDisplays(3); in testCreateMultipleVirtualDisplays()
202 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in getDisplayResourcesConfiguration() argument
203 final DisplayContent displayContent = virtualDisplaySession in getDisplayResourcesConfiguration()
DPresentationTest.java73 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testPresentationNotDismissAfterResizeDisplay() local
74 WindowManagerState.DisplayContent display = virtualDisplaySession in testPresentationNotDismissAfterResizeDisplay()
86 virtualDisplaySession.resizeDisplay(); in testPresentationNotDismissAfterResizeDisplay()
DAppConfigurationTests.java701 VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in assertDisplayContextDoesntChangeOrientationWhenRotating() local
702 WindowManagerState.DisplayContent displayContent = virtualDisplaySession in assertDisplayContextDoesntChangeOrientationWhenRotating()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleTopResumedStateTests.java803 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplays() argument
806 = virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testTopPositionSwitchAcrossDisplays()