/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleTests.java | 74 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 …]
|
D | ActivityLifecycleSplitScreenTests.java | 86 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 …]
|
D | ActivityLifecycleTopResumedStateTests.java | 79 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 …]
|
D | ActivityLifecycleKeyguardTests.java | 57 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 …]
|
D | ActivityLifecyclePipTests.java | 72 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 …]
|
D | LifecycleTracker.java | 42 void waitAndAssertActivityStates( in waitAndAssertActivityStates() method in LifecycleTracker
|
D | ActivityLifecycleClientTestBase.java | 147 final void waitAndAssertActivityStates( in waitAndAssertActivityStates() method in ActivityLifecycleClientTestBase 150 mLifecycleTracker.waitAndAssertActivityStates(activityCallbacks); in waitAndAssertActivityStates()
|
D | ActivityStarterTests.java | 80 waitAndAssertActivityStates(state(initialActivity, ON_RESUME)); in testClearTopNewTaskResetTask()
|