Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplaySecurityTests.java100 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchWithoutPermissionOnVirtualDisplayByOwner() argument
102 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchWithoutPermissionOnVirtualDisplayByOwner()
132 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchWithoutPermissionOnVirtualDisplay() argument
134 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchWithoutPermissionOnVirtualDisplay()
160 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding() argument
162 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
189 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCanAccessSystemOwnedDisplay() argument
190 final ActivityDisplay newDisplay = virtualDisplaySession.setSimulateDisplay(true) in testCanAccessSystemOwnedDisplay()
209 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCanAccessPublicVirtualDisplayWithInternalPermission() argument
210 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true) in testCanAccessPublicVirtualDisplayWithInternalPermission()
[all …]
DMultiDisplayActivityLaunchTests.java108 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in validateActivityLaunchOnNewDisplay() argument
110 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in validateActivityLaunchOnNewDisplay()
160 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchActivityFromSecondaryDisplay() argument
162 virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testLaunchActivityFromSecondaryDisplay()
224 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchNonResizeableActivityOnSecondaryDisplay() argument
226 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchNonResizeableActivityOnSecondaryDisplay()
279 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask() argument
281 final ActivityDisplay newDisplay = virtualDisplaySession.setSimulateDisplay(true) in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask()
302 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask() argument
304 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
[all …]
DMultiDisplayPolicyTests.java88 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testContentDestroyOnDisplayRemoved() argument
90 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testContentDestroyOnDisplayRemoved()
129 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testActivityLaunchOnContentDestroyDisplayRemoved() argument
131 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testActivityLaunchOnContentDestroyDisplayRemoved()
152 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDisplayResize() argument
154 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testDisplayResize()
168 virtualDisplaySession.resizeDisplay(); in testDisplayResize()
377 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchActivitiesAffectsVisibility() argument
379 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchActivitiesAffectsVisibility()
407 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testMoveTaskBetweenDisplays() argument
[all …]
DMultiDisplayKeyguardTests.java60 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDismissKeyguardActivity_secondaryDisplay()
61 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testDismissKeyguardActivity_secondaryDisplay()
79 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testShowKeyguardDialogOnSecondaryDisplay()
80 final ActivityDisplay publicDisplay = virtualDisplaySession.setPublicDisplay(true) in testShowKeyguardDialogOnSecondaryDisplay()
104 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testNoKeyguardDialogOnPrivateDisplay()
105 final ActivityDisplay privateDisplay = virtualDisplaySession.setPublicDisplay(false) in testNoKeyguardDialogOnPrivateDisplay()
107 final ActivityDisplay publicDisplay = virtualDisplaySession.setPublicDisplay(true) in testNoKeyguardDialogOnPrivateDisplay()
DMultiDisplayLockedKeyguardTests.java62 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testVirtualDisplayHidesContentWhenLocked()
66 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true) in testVirtualDisplayHidesContentWhenLocked()
98 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testPrivateDisplayHideContentWhenLocked()
102 virtualDisplaySession.setPublicDisplay(false).createDisplay(); in testPrivateDisplayHideContentWhenLocked()
120 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDismissKeyguard_secondaryDisplay()
122 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true). in testDismissKeyguard_secondaryDisplay()
144 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDismissKeyguard_whileOccluded_secondaryDisplay()
146 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true). in testDismissKeyguard_whileOccluded_secondaryDisplay()
DDisplayTests.java67 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCreateVirtualDisplayWithCustomConfig() argument
68 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testCreateVirtualDisplayWithCustomConfig()
104 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testMultiDisplayDisabled() argument
106 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testMultiDisplayDisabled()
130 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCreateMultipleVirtualDisplays() argument
132 virtualDisplaySession.createDisplays(3); in testCreateMultipleVirtualDisplays()
187 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in getDisplayResourcesConfiguration() argument
188 final ActivityDisplay activityDisplay = virtualDisplaySession in getDisplayResourcesConfiguration()
DMultiDisplaySystemDecorationTests.java116 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testWallpaperGetDisplayContext()
120 final ActivityDisplay newDisplay = virtualDisplaySession in testWallpaperGetDisplayContext()
139 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testWallpaperShowOnSecondaryDisplays()
144 final ActivityDisplay decoredSystemDisplay = virtualDisplaySession in testWallpaperShowOnSecondaryDisplays()
396 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeWindowCanSwitchToDifferentDisplays()
403 final ActivityDisplay newDisplay = virtualDisplaySession.setShowSystemDecorations(true) in testImeWindowCanSwitchToDifferentDisplays()
445 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeApiForBug118341760() argument
454 final ActivityDisplay newDisplay = virtualDisplaySession.setShowSystemDecorations(true) in testImeApiForBug118341760()
487 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeWindowCanSwitchWhenTopFocusedDisplayChange() argument
497 final ActivityDisplay newDisplay = virtualDisplaySession.setShowSystemDecorations(true) in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
[all …]
DMultiDisplayClientTests.java98 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDisplayIdUpdateOnMove() argument
101 virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testDisplayIdUpdateOnMove()
168 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testDisplayIdUpdateWhenImeMove() argument
174 final ActivityManagerState.ActivityDisplay newDisplay = virtualDisplaySession in testDisplayIdUpdateWhenImeMove()
207 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testInputMethodManagerDisplayId() argument
209 final ActivityManagerState.ActivityDisplay newDisplay = virtualDisplaySession in testInputMethodManagerDisplayId()
DFreeformWindowingModeTests.java55 try (VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testFreeformWindowManagementSupport() argument
58 final ActivityManagerState.ActivityDisplay display = virtualDisplaySession in testFreeformWindowManagementSupport()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTopResumedStateTests.java759 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplays() argument
762 = virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testTopPositionSwitchAcrossDisplays()
807 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplaysOnTap() argument
810 = virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testTopPositionSwitchAcrossDisplaysOnTap()
857 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess() argument
860 = virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess()
927 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplaysOnTapTimeoutDifferentProcess() argument
930 = virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testTopPositionSwitchAcrossDisplaysOnTapTimeoutDifferentProcess()