Home
last modified time | relevance | path

Searched refs:waitAndAssertActivityStates (Results 1 – 8 of 8) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTests.java74 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testSingleLaunch()
82 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testLaunchOnTop()
86 waitAndAssertActivityStates(occludedActivityState(firstActivity, secondActivity), in testLaunchOnTop()
97 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testLaunchTranslucentOnTop()
103 waitAndAssertActivityStates(state(firstActivity, ON_PAUSE), in testLaunchTranslucentOnTop()
113 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testLaunchDoubleTranslucentOnTop()
119 waitAndAssertActivityStates(state(firstActivity, ON_PAUSE), in testLaunchDoubleTranslucentOnTop()
129 waitAndAssertActivityStates(state(translucentActivity, ON_PAUSE), in testLaunchDoubleTranslucentOnTop()
139 waitAndAssertActivityStates(state(translucentActivity, ON_RESUME)); in testLaunchDoubleTranslucentOnTop()
140 waitAndAssertActivityStates(state(secondTranslucentActivity, ON_DESTROY)); in testLaunchDoubleTranslucentOnTop()
[all …]
DActivityLifecycleSplitScreenTests.java86 waitAndAssertActivityStates(state(secondActivity, ON_RESUME), in testResumedWhenRecreatedFromInNonFocusedStack()
101 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testResumedWhenRecreatedFromInNonFocusedStack()
102 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testResumedWhenRecreatedFromInNonFocusedStack()
114 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testOccludingMovedBetweenStacks()
129 waitAndAssertActivityStates(state(secondActivity, ON_RESUME), in testOccludingMovedBetweenStacks()
138 waitAndAssertActivityStates(state(thirdActivity, ON_RESUME), in testOccludingMovedBetweenStacks()
145 waitAndAssertActivityStates(state(secondActivity, ON_RESUME), in testOccludingMovedBetweenStacks()
158 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testTranslucentMovedBetweenStacks()
173 waitAndAssertActivityStates(state(secondActivity, ON_RESUME), in testTranslucentMovedBetweenStacks()
183 waitAndAssertActivityStates(state(translucentActivity, ON_RESUME), in testTranslucentMovedBetweenStacks()
[all …]
DActivityLifecycleTopResumedStateTests.java79 waitAndAssertActivityStates(state(activity, ON_TOP_POSITION_GAINED)); in testTopPositionAfterLaunch()
87 waitAndAssertActivityStates(state(activity, ON_TOP_POSITION_GAINED)); in testTopPositionLostOnFinish()
100 waitAndAssertActivityStates(state(activity, ON_TOP_POSITION_GAINED)); in testTopPositionSwitchToActivityOnTop()
104 waitAndAssertActivityStates(state(topActivity, ON_TOP_POSITION_GAINED), in testTopPositionSwitchToActivityOnTop()
121 waitAndAssertActivityStates(state(firstActivity, ON_TOP_POSITION_GAINED)); in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
130 waitAndAssertActivityStates(state(secondActivityClass, ON_TOP_POSITION_GAINED), in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
147 waitAndAssertActivityStates(state(firstActivity, ON_TOP_POSITION_GAINED)); in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
157 waitAndAssertActivityStates(state(secondActivityClass, ON_TOP_POSITION_GAINED), in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
177 waitAndAssertActivityStates(state(activity, ON_TOP_POSITION_GAINED)); in testTopPositionSwitchToTranslucentActivityOnTop()
182 waitAndAssertActivityStates(state(topActivity, ON_TOP_POSITION_GAINED), in testTopPositionSwitchToTranslucentActivityOnTop()
[all …]
DActivityLifecycleKeyguardTests.java57 waitAndAssertActivityStates(state(activity, ON_STOP)); in testSingleLaunch()
70 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testKeyguardShowHide()
75 waitAndAssertActivityStates(state(activity, ON_STOP)); in testKeyguardShowHide()
82 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testKeyguardShowHide()
93 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testKeyguardShowHideOverSplitScreen()
103 waitAndAssertActivityStates(state(secondActivity, ON_RESUME)); in testKeyguardShowHideOverSplitScreen()
106 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testKeyguardShowHideOverSplitScreen()
112 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testKeyguardShowHideOverSplitScreen()
113 waitAndAssertActivityStates(state(secondActivity, ON_STOP)); in testKeyguardShowHideOverSplitScreen()
120 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), in testKeyguardShowHideOverSplitScreen()
[all …]
DActivityLifecyclePipTests.java72 waitAndAssertActivityStates(state(firstActivity, ON_STOP), state(pipActivity, ON_RESUME)); in testGoToPip()
83 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testGoToPip()
95 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testPipOnLaunch()
103 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testPipOnLaunch()
123 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testDestroyPip()
131 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testDestroyPip()
137 waitAndAssertActivityStates(state(pipActivity, ON_DESTROY)); in testDestroyPip()
149 waitAndAssertActivityStates(state(pipActivity, ON_PAUSE)); in testLaunchBelowPip()
157 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testLaunchBelowPip()
169 waitAndAssertActivityStates(state(pipActivity, ON_PAUSE)); in testIntoPipSameTask()
[all …]
DLifecycleTracker.java42 void waitAndAssertActivityStates( in waitAndAssertActivityStates() method in LifecycleTracker
DActivityLifecycleClientTestBase.java147 final void waitAndAssertActivityStates( in waitAndAssertActivityStates() method in ActivityLifecycleClientTestBase
150 mLifecycleTracker.waitAndAssertActivityStates(activityCallbacks); in waitAndAssertActivityStates()
DActivityStarterTests.java80 waitAndAssertActivityStates(state(initialActivity, ON_RESUME)); in testClearTopNewTaskResetTask()