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()
549 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testStackFocusSwitchOnStackEmptiedInSleeping()
561 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testStackFocusSwitchOnStackEmptied()
567 private void validateStackFocusSwitchOnStackEmptied(VirtualDisplaySession virtualDisplaySession, in validateStackFocusSwitchOnStackEmptied()
605 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()
DDisplayTests.java67 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()
187 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in getDisplayResourcesConfiguration()
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()
DWindowFocusTests.java153 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testKeyReceiving()
199 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testMovingDisplayToTopByKeyEvent()
245 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testPointerCapture()
276 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testDisplayChanged()
301 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testTapFocusableWindow()
326 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testTapNonFocusableWindow()
494 private static class VirtualDisplaySession implements AutoCloseable { class in WindowFocusTests
DMultiDisplaySystemDecorationTests.java116 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testWallpaperGetDisplayContext()
139 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testWallpaperShowOnSecondaryDisplays()
396 final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeWindowCanSwitchToDifferentDisplays()
445 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeApiForBug118341760()
487 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
547 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testCrossDisplayBasicImeOperations()
594 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeWindowCanShownWhenActivityMovedToDisplay()
DMultiDisplayTestBase.java268 public class VirtualDisplaySession implements AutoCloseable { class in MultiDisplayTestBase
285 VirtualDisplaySession setDensityDpi(int densityDpi) { in setDensityDpi()
290 VirtualDisplaySession setLaunchInSplitScreen(boolean launchInSplitScreen) { in setLaunchInSplitScreen()
295 VirtualDisplaySession setCanShowWithInsecureKeyguard(boolean canShowWithInsecureKeyguard) { in setCanShowWithInsecureKeyguard()
300 VirtualDisplaySession setPublicDisplay(boolean publicDisplay) { in setPublicDisplay()
305 VirtualDisplaySession setResizeDisplay(boolean resizeDisplay) { in setResizeDisplay()
310 VirtualDisplaySession setShowSystemDecorations(boolean showSystemDecorations) { in setShowSystemDecorations()
315 VirtualDisplaySession setPresentationDisplay(boolean presentationDisplay) { in setPresentationDisplay()
320 VirtualDisplaySession setLaunchActivity(ComponentName launchActivity) { in setLaunchActivity()
325 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()
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()