Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplaySecurityTests.java100 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchWithoutPermissionOnVirtualDisplayByOwner()
132 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchWithoutPermissionOnVirtualDisplay()
160 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
189 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCanAccessSystemOwnedDisplay()
209 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCanAccessPublicVirtualDisplayWithInternalPermission()
231 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCanAccessPrivateVirtualDisplayWithInternalPermission()
254 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCantAccessPublicVirtualDisplayNoEmbeddingPermission()
274 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCantAccessPublicVirtualDisplayActivityEmbeddingNotAllowed()
296 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCanAccessPublicVirtualDisplayActivityEmbeddingAllowed()
318 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCantAccessPrivateVirtualDisplay()
[all …]
DMultiDisplayActivityLaunchTests.java108 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in validateActivityLaunchOnNewDisplay()
160 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchActivityFromSecondaryDisplay()
224 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchNonResizeableActivityOnSecondaryDisplay()
279 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask()
302 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
345 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testConsequentLaunchActivity()
376 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testConsequentLaunchActivityFromSecondaryDisplay()
402 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testConsequentLaunchActivityFromVirtualDisplay()
428 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testConsequentLaunchActivityFromVirtualDisplayToTargetDisplay()
470 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchActivityFromAppToSecondaryDisplay()
[all …]
DMultiDisplayPolicyTests.java88 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testContentDestroyOnDisplayRemoved()
129 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testActivityLaunchOnContentDestroyDisplayRemoved()
152 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDisplayResize()
377 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchActivitiesAffectsVisibility()
407 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testMoveTaskBetweenDisplays()
500 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in tryCreatingAndRemovingDisplayWithActivity()
547 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testStackFocusSwitchOnStackEmptiedInSleeping()
559 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testStackFocusSwitchOnStackEmptied()
565 private void validateStackFocusSwitchOnStackEmptied(VirtualDisplaySession virtualDisplaySession, in validateStackFocusSwitchOnStackEmptied()
603 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testStackFocusSwitchOnTouchEvent()
[all …]
DMultiDisplayLockedKeyguardTests.java62 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testVirtualDisplayHidesContentWhenLocked()
98 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testPrivateDisplayHideContentWhenLocked()
120 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDismissKeyguard_secondaryDisplay()
144 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDismissKeyguard_whileOccluded_secondaryDisplay()
DMultiDisplayKeyguardTests.java60 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDismissKeyguardActivity_secondaryDisplay()
79 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testShowKeyguardDialogOnSecondaryDisplay()
104 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testNoKeyguardDialogOnPrivateDisplay()
DDisplayTests.java66 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCreateVirtualDisplayWithCustomConfig()
104 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testMultiDisplayDisabled()
130 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCreateMultipleVirtualDisplays()
186 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in getDisplayResourcesConfiguration()
DWindowFocusTests.java153 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testKeyReceiving()
199 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testMovingDisplayToTopByKeyEvent()
244 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testPointerCapture()
275 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testDisplayChanged()
300 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testTapFocusableWindow()
325 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testTapNonFocusableWindow()
493 private static class VirtualDisplaySession implements AutoCloseable { class in WindowFocusTests
DMultiDisplayTestBase.java255 public class VirtualDisplaySession implements AutoCloseable { class in MultiDisplayTestBase
272 VirtualDisplaySession setDensityDpi(int densityDpi) { in setDensityDpi()
277 VirtualDisplaySession setLaunchInSplitScreen(boolean launchInSplitScreen) { in setLaunchInSplitScreen()
282 VirtualDisplaySession setCanShowWithInsecureKeyguard(boolean canShowWithInsecureKeyguard) { in setCanShowWithInsecureKeyguard()
287 VirtualDisplaySession setPublicDisplay(boolean publicDisplay) { in setPublicDisplay()
292 VirtualDisplaySession setResizeDisplay(boolean resizeDisplay) { in setResizeDisplay()
297 VirtualDisplaySession setShowSystemDecorations(boolean showSystemDecorations) { in setShowSystemDecorations()
302 VirtualDisplaySession setPresentationDisplay(boolean presentationDisplay) { in setPresentationDisplay()
307 VirtualDisplaySession setLaunchActivity(ComponentName launchActivity) { in setLaunchActivity()
312 public VirtualDisplaySession setSimulateDisplay(boolean simulateDisplay) { in setSimulateDisplay()
[all …]
DMultiDisplayClientTests.java98 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDisplayIdUpdateOnMove()
168 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testDisplayIdUpdateWhenImeMove()
207 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testInputMethodManagerDisplayId()
DMultiDisplaySystemDecorationTests.java114 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testWallpaperGetDisplayContext()
137 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testWallpaperShowOnSecondaryDisplays()
394 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeWindowCanSwitchToDifferentDisplays()
443 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeApiForBug118341760()
485 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
545 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testCrossDisplayBasicImeOperations()
DFreeformWindowingModeTests.java55 try (VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testFreeformWindowManagementSupport()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTopResumedStateTests.java759 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplays()
807 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplaysOnTap()
857 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess()
927 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplaysOnTapTimeoutDifferentProcess()