Home
last modified time | relevance | path

Searched refs:assertVisibility (Results 1 – 22 of 22) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DKeyguardTests.java107 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testKeyguardHidesActivity()
112 mAmWmState.assertVisibility(TEST_ACTIVITY, false); in testKeyguardHidesActivity()
123 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_ACTIVITY, true); in testShowWhenLockedActivity()
126 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_ACTIVITY, true); in testShowWhenLockedActivity()
140 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_WITH_DIALOG_ACTIVITY, true); in testShowWhenLockedActivity_withDialog()
143 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_WITH_DIALOG_ACTIVITY, true); in testShowWhenLockedActivity_withDialog()
160 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_ACTIVITY, true); in testMultipleShowWhenLockedActivities()
161 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY, true); in testMultipleShowWhenLockedActivities()
165 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_ACTIVITY, true); in testMultipleShowWhenLockedActivities()
166 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY, true); in testMultipleShowWhenLockedActivities()
[all …]
DActivityVisibilityTests.java102 mAmWmState.assertVisibility(LAUNCH_PIP_ON_PIP_ACTIVITY, true); in testTranslucentActivityOnTopOfPinnedStack()
103 mAmWmState.assertVisibility(ALWAYS_FOCUSABLE_PIP_ACTIVITY, true); in testTranslucentActivityOnTopOfPinnedStack()
121 mAmWmState.assertVisibility(ALWAYS_FOCUSABLE_PIP_ACTIVITY, true); in testTranslucentActivityOnTopOfHome()
150 mAmWmState.assertVisibility(ALWAYS_FOCUSABLE_PIP_ACTIVITY, true); in testHomeVisibleOnActivityTaskPinned()
151 mAmWmState.assertVisibility(TEST_ACTIVITY, false); in testHomeVisibleOnActivityTaskPinned()
174 mAmWmState.assertVisibility(DOCKED_ACTIVITY, true); in testTranslucentActivityOverDockedStack()
175 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testTranslucentActivityOverDockedStack()
176 mAmWmState.assertVisibility(TRANSLUCENT_ACTIVITY, true); in testTranslucentActivityOverDockedStack()
188 mAmWmState.assertVisibility(TURN_SCREEN_ON_ACTIVITY, true); in testTurnScreenOnActivity()
207 mAmWmState.assertVisibility(BROADCAST_RECEIVER_ACTIVITY, true); in testFinishActivityInNonFocusedStack()
[all …]
DKeyguardLockedTests.java114 mAmWmState.assertVisibility(DISMISS_KEYGUARD_ACTIVITY, true); in testDismissKeyguard()
126 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_ACTIVITY, true); in testDismissKeyguard_whileOccluded()
134 mAmWmState.assertVisibility(DISMISS_KEYGUARD_ACTIVITY, true); in testDismissKeyguard_whileOccluded()
135 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_ACTIVITY, isDismissTranslucent); in testDismissKeyguard_whileOccluded()
147 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_ACTIVITY, true); in testDismissKeyguard_fromShowWhenLocked_notAllowed()
153 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_ACTIVITY, true); in testDismissKeyguard_fromShowWhenLocked_notAllowed()
169 mAmWmState.assertVisibility(DISMISS_KEYGUARD_METHOD_ACTIVITY, true); in testDismissKeyguardActivity_method()
187 mAmWmState.assertVisibility(DISMISS_KEYGUARD_METHOD_ACTIVITY, false); in testDismissKeyguardActivity_method_cancelled()
202 mAmWmState.assertVisibility(TURN_SCREEN_ON_ATTR_DISMISS_KEYGUARD_ACTIVITY, false); in testDismissKeyguardAttrActivity_method_turnScreenOn_withSecureKeyguard()
252 mAmWmState.assertVisibility(PIP_ACTIVITY, true); in testShowWhenLockedActivityAndPipActivity()
[all …]
DMultiDisplayLockedKeyguardTests.java68 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testVirtualDisplayHidesContentWhenLocked()
72 mAmWmState.assertVisibility(TEST_ACTIVITY, true /* visible */); in testVirtualDisplayHidesContentWhenLocked()
78 mAmWmState.assertVisibility(TEST_ACTIVITY, false /* visible */); in testVirtualDisplayHidesContentWhenLocked()
88 mAmWmState.assertVisibility(TEST_ACTIVITY, true /* visible */); in testVirtualDisplayHidesContentWhenLocked()
109 mAmWmState.assertVisibility(TEST_ACTIVITY, false /* visible */); in testPrivateDisplayHideContentWhenLocked()
136 mAmWmState.assertVisibility(DISMISS_KEYGUARD_ACTIVITY, true); in testDismissKeyguard_secondaryDisplay()
153 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_ACTIVITY, true); in testDismissKeyguard_whileOccluded_secondaryDisplay()
164 mAmWmState.assertVisibility(DISMISS_KEYGUARD_ACTIVITY, true); in testDismissKeyguard_whileOccluded_secondaryDisplay()
165 mAmWmState.assertVisibility(SHOW_WHEN_LOCKED_ACTIVITY, true); in testDismissKeyguard_whileOccluded_secondaryDisplay()
DMultiDisplayPolicyTests.java91 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testContentDestroyOnDisplayRemoved()
132 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testActivityLaunchOnContentDestroyDisplayRemoved()
155 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testDisplayResize()
183 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true); in testDisplayResize()
184 mAmWmState.assertVisibility(RESIZEABLE_ACTIVITY, true); in testDisplayResize()
213 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testRotationNotAffectingSecondaryScreen()
329 mAmWmState.assertVisibility(TEST_ACTIVITY, false /* visible */); in testExternalDisplayToggleState()
380 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testLaunchActivitiesAffectsVisibility()
384 mAmWmState.assertVisibility(TEST_ACTIVITY, true /* visible */); in testLaunchActivitiesAffectsVisibility()
385 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testLaunchActivitiesAffectsVisibility()
[all …]
DVrDisplayTests.java122 mAmWmState.assertVisibility(VR_TEST_ACTIVITY, true /* visible */); in testVrActivityLaunch()
129 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in testVrActivityLaunch()
172 mAmWmState.assertVisibility(VR_TEST_ACTIVITY, true /* visible */); in testVrActivityReLaunch()
179 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in testVrActivityReLaunch()
222 mAmWmState.assertVisibility(VR_TEST_ACTIVITY, true /* visible */); in testActivityLaunchPostVr()
229 mAmWmState.assertVisibility(ALT_LAUNCHING_ACTIVITY, true /* visible */); in testActivityLaunchPostVr()
268 mAmWmState.assertVisibility(RESIZEABLE_ACTIVITY, true /* visible */); in testActivityLaunchPostVr()
DAppConfigurationTests.java329 mAmWmState.assertVisibility(PORTRAIT_ORIENTATION_ACTIVITY, true /* visible */); in testFullscreenAppOrientationRequests()
336 mAmWmState.assertVisibility(LANDSCAPE_ORIENTATION_ACTIVITY, true /* visible */); in testFullscreenAppOrientationRequests()
343 mAmWmState.assertVisibility(PORTRAIT_ORIENTATION_ACTIVITY, true /* visible */); in testFullscreenAppOrientationRequests()
383 mAmWmState.assertVisibility(PORTRAIT_ORIENTATION_ACTIVITY, true /* visible */); in testAppOrientationRequestConfigChanges()
390 mAmWmState.assertVisibility(LANDSCAPE_ORIENTATION_ACTIVITY, true /* visible */); in testAppOrientationRequestConfigChanges()
400 mAmWmState.assertVisibility(PORTRAIT_ORIENTATION_ACTIVITY, true /* visible */); in testAppOrientationRequestConfigChanges()
423 mAmWmState.assertVisibility(TEST_ACTIVITY, true /* visible */); in testAppOrientationRequestConfigClears()
441 mAmWmState.assertVisibility(differentOrientationActivity, true /* visible */); in testAppOrientationRequestConfigClears()
451 mAmWmState.assertVisibility(RESIZEABLE_ACTIVITY, true /* visible */); in testAppOrientationRequestConfigClears()
498 mAmWmState.assertVisibility(LANDSCAPE_ORIENTATION_ACTIVITY, true /* visible */); in testTaskCloseRestoreFixedOrientation()
[all …]
DAssistantStackTests.java259 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testTranslucentAssistantActivityStackVisibility()
297 mAmWmState.assertVisibility(DOCKED_ACTIVITY, true); in testTranslucentAssistantActivityStackVisibility()
298 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testTranslucentAssistantActivityStackVisibility()
314 mAmWmState.assertVisibility(ASSISTANT_ACTIVITY, true); in testLaunchIntoSameTask()
328 mAmWmState.assertVisibility(ASSISTANT_ACTIVITY, false); in testLaunchIntoSameTask()
335 mAmWmState.assertVisibility(ASSISTANT_ACTIVITY, true); in testLaunchIntoSameTask()
363 mAmWmState.assertVisibility(TRANSLUCENT_ASSISTANT_ACTIVITY, true); in testPinnedStackWithAssistant()
364 mAmWmState.assertVisibility(PIP_ACTIVITY, true); in testPinnedStackWithAssistant()
365 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testPinnedStackWithAssistant()
DPinnedStackTests.java209 mAmWmState.assertVisibility(PIP_ACTIVITY, true); in testNonTappablePipActivity()
614 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testPipUnPipOverApp()
773 mAmWmState.assertVisibility(SDK_27_LAUNCH_ENTER_PIP_ACTIVITY, false); in testLaunchStoppedActivityWithPiPInSameProcessPreQ()
779 mAmWmState.assertVisibility(SDK_27_LAUNCH_ENTER_PIP_ACTIVITY, true); in testLaunchStoppedActivityWithPiPInSameProcessPreQ()
1053 mAmWmState.assertVisibility(PIP_ACTIVITY, true); in testPinnedStackWithDockedStack()
1054 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testPinnedStackWithDockedStack()
1055 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testPinnedStackWithDockedStack()
1064 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testPinnedStackWithDockedStack()
1065 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testPinnedStackWithDockedStack()
1072 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testPinnedStackWithDockedStack()
[all …]
DFreeformWindowingModeTests.java76 mAmWmState.assertVisibility(FREEFORM_ACTIVITY, true); in testFreeformWindowManagementSupport()
77 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testFreeformWindowManagementSupport()
DRobustnessTests.java49 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testLaunchActivityRecursively()
DMultiDisplayActivityLaunchTests.java525 mAmWmState.assertVisibility(SECOND_ACTIVITY, true); in testLaunchPendingActivityOnSecondaryDisplay()
543 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testMoveToDisplayOnLaunch()
547 mAmWmState.assertVisibility(RESIZEABLE_ACTIVITY, true /* visible */); in testMoveToDisplayOnLaunch()
595 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testMoveToEmptyDisplayOnLaunch()
DReplaceWindowTests.java97 mAmWmState.assertVisibility(activityName, true); in getWindowToken()
DMultiDisplayKeyguardTests.java68 mAmWmState.assertVisibility(DISMISS_KEYGUARD_ACTIVITY, true); in testDismissKeyguardActivity_secondaryDisplay()
DMultiDisplaySecurityTests.java517 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testPermissionLaunchFromShell()
624 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testPermissionLaunchFromOwner()
663 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in testPermissionLaunchFromDifferentApp()
DManifestLayoutTests.java171 mAmWmState.assertVisibility(activityName, true); in getDisplayAndWindowState()
DAlertWindowsTests.java131 mAmWmState.assertVisibility(activityName, true); in runAlertWindowTest()
DSplitScreenTests.java568 mAmWmState.assertVisibility(DOCKED_ACTIVITY, true); in testResizeDockedStack()
569 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testResizeDockedStack()
DMultiDisplayTestBase.java416 mAmWmState.assertVisibility(VIRTUAL_DISPLAY_ACTIVITY, true /* visible */); in createVirtualDisplays()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java664 public void assertVisibility(final ComponentName activityName, final boolean visible) { in assertVisibility() method in ActivityAndWindowManagersState
681 assertVisibility(homeActivity, visible); in assertHomeActivityVisible()
DActivityManagerTestBase.java882 mAmWmState.assertVisibility(activityName, true /* visible */); in waitAndAssertTopResumedActivity()
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java339 public void assertVisibility(final ComponentName activityName, final boolean visible) { in assertVisibility() method in ActivityAndWindowManagersState