/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityTests.java | 27 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP; 103 waitAndAssertActivityStates(state(rootActivity, ON_STOP), in testFinishTask_FromRoot() 116 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY), in testFinishTask_FromRoot() 142 Arrays.asList(ON_STOP, ON_DESTROY), "finishAndRemoveTask"); in testFinishTask_FromRoot_TranslucentOnTop() 144 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY), in testFinishTask_FromRoot_TranslucentOnTop() 160 waitAndAssertActivityStates(state(rootActivity, ON_STOP), state(midActivity, ON_STOP), in testFinishTask_NotFromRoot() 202 Arrays.asList(ON_PAUSE, ON_STOP, ON_DESTROY), "finishAfterTransition"); in testFinishAfterTransition_noTransition_rootOfTask() 213 waitAndAssertActivityStates(state(topActivity, ON_RESUME), state(rootActivity, ON_STOP)); in testFinishAfterTransition_noTransition() 219 Arrays.asList(ON_PAUSE, ON_STOP, ON_DESTROY), "finishAfterTransition"); in testFinishAfterTransition_noTransition() 231 waitAndAssertActivityStates(state(thirdActivity, ON_RESUME), state(secondActivity, ON_STOP), in testFinishAffinity() [all …]
|
D | ActivityLifecycleKeyguardTests.java | 23 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP; 69 .setExpectedState(ON_STOP) in testSingleLaunch() 87 waitAndAssertActivityStates(state(activity, ON_STOP)); in testKeyguardShowHide() 119 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testKeyguardShowHideOverSplitScreen() 120 waitAndAssertActivityStates(state(secondaryActivity, ON_STOP)); in testKeyguardShowHideOverSplitScreen() 161 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testKeyguardShowHideOverPip() 162 waitAndAssertActivityStates(state(PipActivity.class, ON_STOP)); in testKeyguardShowHideOverPip() 166 Collections.singletonList(ON_STOP), "keyguardShown"); in testKeyguardShowHideOverPip()
|
D | ActivityLifecycleTests.java | 51 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP; 120 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testLaunchOnTop() 191 waitAndAssertActivityStates(state(translucentActivity, ON_STOP)); in testTranslucentMovedIntoStack() 244 waitAndAssertActivityStates(state(translucentActivity, ON_STOP), in testDestroyOnTopOfTranslucent() 245 state(firstActivity, ON_STOP)); in testDestroyOnTopOfTranslucent() 308 waitAndAssertActivityStates(state(bottomActivity, ON_STOP)); in testFinishBottom() 342 .setExpectedState(ON_STOP) in testLaunchForResultAndLaunchAfterResultSequence() 497 waitAndAssertActivityStates(state(stoppedActivity, ON_STOP)); in testRelaunchStopped() 501 waitAndAssertActivityStates(state(stoppedActivity, ON_STOP)); in testRelaunchStopped() 503 assertRelaunchSequence(FirstActivity.class, getTransitionLog(), ON_STOP); in testRelaunchStopped() [all …]
|
D | ActivityLifecyclePipTests.java | 27 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP; 72 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testGoToPip() 105 Arrays.asList(ON_PAUSE, ON_STOP, ON_RESTART, ON_START, ON_RESUME); in testPipOnLaunch() 136 Arrays.asList(ON_STOP, ON_DESTROY), "finishPip"); in testDestroyPip() 176 waitAndAssertActivityStates(state(PipActivity.class, ON_STOP)); in testIntoPipSameTask() 190 Arrays.asList(ON_STOP), "launchIntoPip"); in testIntoPipSameTask() 294 Arrays.asList(ON_PAUSE, ON_STOP, ON_RESTART, ON_START, ON_RESUME); in testPipAboveSplitScreen()
|
D | ActivityLifecycleLegacySplitScreenTests.java | 31 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP; 88 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testResumedWhenRecreatedFromInNonFocusedTask() 133 waitAndAssertActivityStates(state(sideActivity, ON_STOP)); in testOccludingOnSplitSecondaryTask() 186 waitAndAssertActivityStates(state(callbackTrackingActivity, ON_STOP)); in testResultInNonFocusedTask() 225 waitAndAssertActivityStates(state(newTaskActivity, ON_STOP)); in testResumedWhenRestartedFromInNonFocusedTask() 292 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, in testLifecycleOnMoveToFromSplitScreenRelaunch() 300 ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, ON_RESUME), in testLifecycleOnMoveToFromSplitScreenRelaunch() 309 Arrays.asList(ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, ON_START, in testLifecycleOnMoveToFromSplitScreenRelaunch() 387 Arrays.asList(ON_USER_LEAVE_HINT, ON_PAUSE, ON_STOP), in testOnUserLeaveHint()
|
D | ActivityLifecycleTopResumedStateTests.java | 37 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP; 124 waitAndAssertActivityStates(state(activity, ON_STOP)); in testTopPositionSwitchToActivityOnTop() 150 state(firstActivity, ON_STOP)); in testTopPositionSwitchToActivityOnTopSlowDifferentProcess() 177 state(firstActivity, ON_STOP)); in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess() 212 .setExpectedState(ON_STOP) in testTopPositionSwitchOnDoubleLaunch() 216 waitAndAssertActivityStates(state(baseActivity, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 245 expectedTransitions.add(transition(CallbackTrackingActivity.class, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 246 expectedTransitions.add(transition(LaunchForResultActivity.class, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 248 expectedTransitions.add(transition(LaunchForResultActivity.class, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 249 expectedTransitions.add(transition(CallbackTrackingActivity.class, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() [all …]
|
D | ActivityLifecycleClientTestBase.java | 30 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP; 338 return occludingActivityIsTranslucent ? ON_PAUSE : ON_STOP; in occludedActivityState()
|
D | ActivityStarterTests.java | 33 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP; 105 waitAndAssertActivityStates(state(FirstActivity.class, ON_STOP)); in testClearTopNewTaskResetTask()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/ |
D | TransitionVerifier.java | 121 expectedTransitions.add(transition(existingActivity, LifecycleConstants.ON_STOP)); in assertLaunchSequence() 154 Arrays.asList(LifecycleConstants.ON_PAUSE, LifecycleConstants.ON_STOP)); in assertLaunchAndStopSequence() 243 LifecycleConstants.ON_STOP, in assertLaunchAndDestroySequence() 263 LifecycleConstants.ON_STOP, in getResumeToDestroySequence() 267 LifecycleConstants.ON_STOP, in getResumeToDestroySequence() 283 expectedTransitions.add(LifecycleConstants.ON_STOP); in assertResumeToStopSequence() 344 LifecycleConstants.ON_STOP, in getRelaunchSequence() 350 } else if (startState.equals(LifecycleConstants.ON_STOP)) { in getRelaunchSequence() 358 LifecycleConstants.ON_STOP); in getRelaunchSequence() 363 LifecycleConstants.ON_STOP, in getRelaunchSequence() [all …]
|
D | LifecycleTrackingActivity.java | 33 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP; 107 mEventLogClient.onCallback(ON_STOP); in onStop()
|
D | LifecycleConstants.java | 32 public static final String ON_STOP = "ON_STOP"; field in LifecycleConstants
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingLifecycleTestBase.java | 24 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_STOP; 87 mLifecycleTracker.waitAndAssertActivityCurrentState(activityClass, ON_STOP); in waitAndAssertActivityOnStop() 124 mEventLogClient.onCallback(ON_STOP, activity); in onActivityStopped()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ActivityCallbacksTestActivity.java | 47 ON_STOP, enumConstant 137 collectEvent(Source.ACTIVITY_CALLBACK, Event.ON_STOP); in ActivityCallbacksTestActivity() 232 collectEvent(Source.ACTIVITY_CALLBACK_CREATE_ONLY, Event.ON_STOP); in ActivityCallbacksTestActivity()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityCallbacksTest.java | 36 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_STOP; 189 a.collectEvent(Source.APPLICATION_ACTIVITY_CALLBACK, ON_STOP); in testActivityCallbackOrder() 241 addNestedEvents(expectedEvents, ON_PRE_STOP, ON_STOP, ON_POST_STOP); in testActivityCallbackOrder()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplayPolicyTests.java | 276 countSpec(ActivityCallback.ON_STOP, CountSpec.EQUALS, 1)))) { in testExternalDisplayActivityTurnPrimaryOff() 278 + counts.getCount(ActivityCallback.ON_STOP) in testExternalDisplayActivityTurnPrimaryOff()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CommandSession.java | 988 onCallback(ActivityCallback.ON_STOP); 1086 ON_STOP,
|
D | ActivityManagerTestBase.java | 2072 countSpec(ActivityCallback.ON_STOP, CountSpec.EQUALS, stopCount),
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | PinnedStackTests.java | 1352 assertEquals("onStop", 1, lifecycles.getCount(ActivityCallback.ON_STOP)); in testStopBeforeMultiWindowCallbacksOnDismiss() 1357 final int lastStopIndex = lifecycles.getLastIndex(ActivityCallback.ON_STOP); in testStopBeforeMultiWindowCallbacksOnDismiss()
|