Searched refs:virtualDisplaySession (Results 1 – 10 of 10) sorted by relevance
100 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchWithoutPermissionOnVirtualDisplayByOwner() argument102 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchWithoutPermissionOnVirtualDisplayByOwner()132 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchWithoutPermissionOnVirtualDisplay() argument134 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchWithoutPermissionOnVirtualDisplay()160 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding() argument162 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()189 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCanAccessSystemOwnedDisplay() argument190 final ActivityDisplay newDisplay = virtualDisplaySession.setSimulateDisplay(true) in testCanAccessSystemOwnedDisplay()209 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCanAccessPublicVirtualDisplayWithInternalPermission() argument210 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true) in testCanAccessPublicVirtualDisplayWithInternalPermission()[all …]
108 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in validateActivityLaunchOnNewDisplay() argument110 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in validateActivityLaunchOnNewDisplay()160 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchActivityFromSecondaryDisplay() argument162 virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testLaunchActivityFromSecondaryDisplay()224 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchNonResizeableActivityOnSecondaryDisplay() argument226 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchNonResizeableActivityOnSecondaryDisplay()279 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask() argument281 final ActivityDisplay newDisplay = virtualDisplaySession.setSimulateDisplay(true) in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask()302 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask() argument304 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()[all …]
88 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testContentDestroyOnDisplayRemoved() argument90 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testContentDestroyOnDisplayRemoved()129 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testActivityLaunchOnContentDestroyDisplayRemoved() argument131 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testActivityLaunchOnContentDestroyDisplayRemoved()152 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDisplayResize() argument154 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testDisplayResize()168 virtualDisplaySession.resizeDisplay(); in testDisplayResize()377 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testLaunchActivitiesAffectsVisibility() argument379 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchActivitiesAffectsVisibility()407 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testMoveTaskBetweenDisplays() argument[all …]
60 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()
62 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()
67 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCreateVirtualDisplayWithCustomConfig() argument68 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testCreateVirtualDisplayWithCustomConfig()104 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testMultiDisplayDisabled() argument106 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testMultiDisplayDisabled()130 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCreateMultipleVirtualDisplays() argument132 virtualDisplaySession.createDisplays(3); in testCreateMultipleVirtualDisplays()187 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in getDisplayResourcesConfiguration() argument188 final ActivityDisplay activityDisplay = virtualDisplaySession in getDisplayResourcesConfiguration()
116 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() argument454 final ActivityDisplay newDisplay = virtualDisplaySession.setShowSystemDecorations(true) in testImeApiForBug118341760()487 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testImeWindowCanSwitchWhenTopFocusedDisplayChange() argument497 final ActivityDisplay newDisplay = virtualDisplaySession.setShowSystemDecorations(true) in testImeWindowCanSwitchWhenTopFocusedDisplayChange()[all …]
98 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testDisplayIdUpdateOnMove() argument101 virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testDisplayIdUpdateOnMove()168 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession(); in testDisplayIdUpdateWhenImeMove() argument174 final ActivityManagerState.ActivityDisplay newDisplay = virtualDisplaySession in testDisplayIdUpdateWhenImeMove()207 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testInputMethodManagerDisplayId() argument209 final ActivityManagerState.ActivityDisplay newDisplay = virtualDisplaySession in testInputMethodManagerDisplayId()
55 try (VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testFreeformWindowManagementSupport() argument58 final ActivityManagerState.ActivityDisplay display = virtualDisplaySession in testFreeformWindowManagementSupport()
759 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplays() argument762 = virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testTopPositionSwitchAcrossDisplays()807 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplaysOnTap() argument810 = virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testTopPositionSwitchAcrossDisplaysOnTap()857 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess() argument860 = virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess()927 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplaysOnTapTimeoutDifferentProcess() argument930 = virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testTopPositionSwitchAcrossDisplaysOnTapTimeoutDifferentProcess()