/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityTests.java | 63 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testReleaseActivityInstance_visible() 82 waitAndAssertActivityStates(state(firstActivity, ON_DESTROY)); in testReleaseActivityInstance_invisible() 89 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testReleaseActivityInstance_invisible() 103 waitAndAssertActivityStates(state(rootActivity, ON_STOP), in testFinishTask_FromRoot() 109 waitAndAssertActivityStates(state(rootActivity, ON_DESTROY), in testFinishTask_FromRoot() 131 waitAndAssertActivityStates(state(rootActivity, ON_PAUSE), in testFinishTask_FromRoot_TranslucentOnTop() 137 waitAndAssertActivityStates(state(rootActivity, ON_DESTROY), in testFinishTask_FromRoot_TranslucentOnTop() 160 waitAndAssertActivityStates(state(rootActivity, ON_STOP), state(midActivity, ON_STOP), in testFinishTask_NotFromRoot() 166 waitAndAssertActivityStates(state(midActivity, ON_DESTROY)); in testFinishTask_NotFromRoot() 179 waitAndAssertActivityStates(state(rootActivity, ON_RESUME)); in testFinishAfterTransition() [all …]
|
D | ActivityLifecycleTests.java | 120 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testLaunchOnTop() 134 waitAndAssertActivityStates(occludedActivityState(firstActivity, translucentActivity)); in testLaunchTranslucentOnTop() 147 waitAndAssertActivityStates(occludedActivityState(firstActivity, translucentActivity)); in testLaunchDoubleTranslucentOnTop() 156 waitAndAssertActivityStates( in testLaunchDoubleTranslucentOnTop() 166 waitAndAssertActivityStates(state(translucentActivity, ON_RESUME)); in testLaunchDoubleTranslucentOnTop() 167 waitAndAssertActivityStates(state(secondTranslucentActivity, ON_DESTROY)); in testLaunchDoubleTranslucentOnTop() 191 waitAndAssertActivityStates(state(translucentActivity, ON_STOP)); in testTranslucentMovedIntoStack() 206 waitAndAssertActivityStates(state(translucentActivity, ON_RESUME), in testTranslucentMovedIntoStack() 218 waitAndAssertActivityStates(occludedActivityState(firstActivity, translucentActivity)); in testDestroyTopTranslucent() 224 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), in testDestroyTopTranslucent() [all …]
|
D | ActivityLifecycleKeyguardTests.java | 87 waitAndAssertActivityStates(state(activity, ON_STOP)); in testKeyguardShowHide() 98 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testKeyguardShowHide() 119 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testKeyguardShowHideOverSplitScreen() 120 waitAndAssertActivityStates(state(secondaryActivity, ON_STOP)); in testKeyguardShowHideOverSplitScreen() 127 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), in testKeyguardShowHideOverSplitScreen() 154 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testKeyguardShowHideOverPip() 161 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testKeyguardShowHideOverPip() 162 waitAndAssertActivityStates(state(PipActivity.class, ON_STOP)); in testKeyguardShowHideOverPip() 171 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), in testKeyguardShowHideOverPip()
|
D | ActivityLifecycleTopResumedStateTests.java | 124 waitAndAssertActivityStates(state(activity, ON_STOP)); in testTopPositionSwitchToActivityOnTop() 140 waitAndAssertActivityStates(state(firstActivity, ON_TOP_POSITION_GAINED)); in testTopPositionSwitchToActivityOnTopSlowDifferentProcess() 149 waitAndAssertActivityStates(state(secondActivityClass, ON_TOP_POSITION_GAINED), in testTopPositionSwitchToActivityOnTopSlowDifferentProcess() 166 waitAndAssertActivityStates(state(firstActivity, ON_TOP_POSITION_GAINED)); in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess() 176 waitAndAssertActivityStates(state(secondActivityClass, ON_TOP_POSITION_GAINED), in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess() 199 waitAndAssertActivityStates(state(activity, ON_PAUSE)); in testTopPositionSwitchToTranslucentActivityOnTop() 216 waitAndAssertActivityStates(state(baseActivity, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 267 waitAndAssertActivityStates(state(baseActivity, ON_STOP)); in testTopPositionSwitchOnDoubleLaunchAndTopFinish() 379 waitAndAssertActivityStates(state(firstActivity, ON_TOP_POSITION_GAINED), in testTopPositionSwitchBetweenVisibleActivities() 394 waitAndAssertActivityStates(state(firstActivity, ON_TOP_POSITION_LOST), in testTopPositionSwitchBetweenVisibleActivities() [all …]
|
D | ActivityLifecycleLegacySplitScreenTests.java | 88 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testResumedWhenRecreatedFromInNonFocusedTask() 105 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY), in testResumedWhenRecreatedFromInNonFocusedTask() 133 waitAndAssertActivityStates(state(sideActivity, ON_STOP)); in testOccludingOnSplitSecondaryTask() 156 waitAndAssertActivityStates(state(sideActivity, ON_PAUSE)); in testTranslucentOnSplitSecondaryTask() 183 waitAndAssertActivityStates(state(secondActivity, ON_RESUME)); in testResultInNonFocusedTask() 186 waitAndAssertActivityStates(state(callbackTrackingActivity, ON_STOP)); in testResultInNonFocusedTask() 197 waitAndAssertActivityStates(state(callbackTrackingActivity, ON_RESUME)); in testResultInNonFocusedTask() 225 waitAndAssertActivityStates(state(newTaskActivity, ON_STOP)); in testResumedWhenRestartedFromInNonFocusedTask() 231 waitAndAssertActivityStates(state(newTaskActivity, ON_RESUME)); in testResumedWhenRestartedFromInNonFocusedTask() 232 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testResumedWhenRestartedFromInNonFocusedTask() [all …]
|
D | ActivityLifecyclePipTests.java | 72 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testGoToPip() 79 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testGoToPip() 100 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testPipOnLaunch() 127 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testDestroyPip() 133 waitAndAssertActivityStates(state(pipActivity, ON_DESTROY)); in testDestroyPip() 176 waitAndAssertActivityStates(state(PipActivity.class, ON_STOP)); in testIntoPipSameTask() 204 waitAndAssertActivityStates(state(regularActivity, ON_RESUME)); in testDestroyBelowPip() 209 waitAndAssertActivityStates(state(regularActivity, ON_DESTROY)); in testDestroyBelowPip() 285 waitAndAssertActivityStates(state(secondActivity, ON_RESUME)); in testPipAboveSplitScreen()
|
D | ActivityLifecycleClientTestBase.java | 165 waitAndAssertActivityStates(state(mActivityClass, mExpectedState)); in launch() 253 final void waitAndAssertActivityStates( in waitAndAssertActivityStates() method in ActivityLifecycleClientTestBase 256 mTransitionTracker.waitAndAssertActivityStates(activityCallbacks); in waitAndAssertActivityStates()
|
D | ActivityStarterTests.java | 105 waitAndAssertActivityStates(state(FirstActivity.class, ON_STOP)); in testClearTopNewTaskResetTask()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/ |
D | EventTracker.java | 44 void waitAndAssertActivityStates( in waitAndAssertActivityStates() method in EventTracker
|