/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleKeyguardTests.java | 26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_STOP; 57 waitAndAssertActivityStates(state(activity, ON_STOP)); in testSingleLaunch() 75 waitAndAssertActivityStates(state(activity, ON_STOP)); in testKeyguardShowHide() 112 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testKeyguardShowHideOverSplitScreen() 113 waitAndAssertActivityStates(state(secondActivity, ON_STOP)); in testKeyguardShowHideOverSplitScreen() 153 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testKeyguardShowHideOverPip() 154 waitAndAssertActivityStates(state(pipActivity, ON_STOP)); in testKeyguardShowHideOverPip() 158 Arrays.asList(ON_STOP), "keyguardShown"); in testKeyguardShowHideOverPip()
|
D | LifecycleVerifier.java | 28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_STOP; 114 expectedTransitions.add(transition(existingActivity, ON_STOP)); in assertLaunchSequence() 144 expectedTransitions.addAll(Arrays.asList(ON_PAUSE, ON_STOP)); in assertLaunchAndStopSequence() 204 PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY); in assertLaunchAndDestroySequence() 223 ? Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY) in getResumeToDestroySequence() 224 : Arrays.asList(ON_PAUSE, ON_STOP, ON_DESTROY); in getResumeToDestroySequence() 240 expectedTransitions.add(ON_STOP); in assertResumeToStopSequence() 273 ON_STOP, ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE); in getRelaunchSequence() 274 } else if (startState == ON_STOP) { in getRelaunchSequence() 276 ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP); in getRelaunchSequence() [all …]
|
D | ActivityLifecycleSplitScreenTests.java | 32 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_STOP; 87 state(firstActivity, ON_STOP)); in testResumedWhenRecreatedFromInNonFocusedStack() 139 state(secondActivity, ON_STOP)); in testOccludingMovedBetweenStacks() 146 state(firstActivity, ON_STOP)); in testOccludingMovedBetweenStacks() 150 Arrays.asList(ON_PAUSE, ON_STOP), "moveToSide"); in testOccludingMovedBetweenStacks() 231 waitAndAssertActivityStates(state(callbackTrackingActivity, ON_STOP)); in testResultInNonFocusedStack() 277 waitAndAssertActivityStates(state(newTaskActivity, ON_STOP)); in testResumedWhenRestartedFromInNonFocusedStack() 350 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, PRE_ON_CREATE, in testLifecycleOnMoveToFromSplitScreenRelaunch() 355 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, in testLifecycleOnMoveToFromSplitScreenRelaunch() 368 Arrays.asList(ON_STOP, ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, in testLifecycleOnMoveToFromSplitScreenRelaunch()
|
D | ActivityLifecyclePipTests.java | 29 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_STOP; 72 waitAndAssertActivityStates(state(firstActivity, ON_STOP), state(pipActivity, ON_RESUME)); in testGoToPip() 108 Arrays.asList(ON_PAUSE, ON_STOP, ON_RESTART, ON_START, ON_RESUME); in testPipOnLaunch() 140 Arrays.asList(ON_STOP, ON_DESTROY), "finishPip"); in testDestroyPip() 176 waitAndAssertActivityStates(state(pipActivity, ON_STOP), state(firstActivity, ON_PAUSE)); in testIntoPipSameTask() 190 Arrays.asList(ON_STOP), "launchIntoPip"); in testIntoPipSameTask() 283 Arrays.asList(ON_PAUSE, ON_STOP, ON_RESTART, ON_START, ON_RESUME); in testPipAboveSplitScreen()
|
D | ActivityLifecycleTopResumedStateTests.java | 33 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_STOP; 105 state(activity, ON_STOP)); in testTopPositionSwitchToActivityOnTop() 131 state(firstActivity, ON_STOP)); in testTopPositionSwitchToActivityOnTopSlowDifferentProcess() 158 state(firstActivity, ON_STOP)); in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess() 200 waitAndAssertActivityStates(state(launchForResultActivity, ON_STOP), in testTopPositionSwitchOnDoubleLaunch() 201 state(baseActivity, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 228 transition(LaunchForResultActivity.class, ON_STOP), in testTopPositionSwitchOnDoubleLaunch() 229 transition(CallbackTrackingActivity.class, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 244 waitAndAssertActivityStates(state(baseActivity, ON_STOP)); in testTopPositionSwitchOnDoubleLaunchAndTopFinish() 280 transition(ResultActivity.class, ON_STOP), in testTopPositionSwitchOnDoubleLaunchAndTopFinish() [all …]
|
D | ActivityLifecycleTests.java | 33 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_STOP; 156 state(translucentActivity, ON_STOP)); in testTranslucentMovedIntoStack() 411 ON_PAUSE, ON_STOP, ON_ACTIVITY_RESULT, ON_RESTART, ON_START, ON_RESUME, in testOnActivityResult() 416 ON_PAUSE, ON_STOP, ON_ACTIVITY_RESULT, ON_RESTART, ON_START, ON_RESUME, in testOnActivityResult() 421 ON_PAUSE, ON_STOP, ON_RESTART, ON_START, ON_ACTIVITY_RESULT, ON_RESUME, in testOnActivityResult() 447 ON_PAUSE, ON_STOP, ON_RESTART, ON_START, ON_ACTIVITY_RESULT, ON_RESUME, in testOnActivityResultAfterStop() 451 ON_PAUSE, ON_STOP, ON_ACTIVITY_RESULT, ON_RESTART, ON_START, ON_RESUME, in testOnActivityResultAfterStop() 489 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, PRE_ON_CREATE, in testOnPostCreateAfterRecreateInOnResume() 516 Arrays.asList(ON_STOP, ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, in testOnPostCreateAfterRecreateInOnPause() 547 callbacks = Arrays.asList(ON_STOP, ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, in testOnPostCreateAfterRecreateInOnStop() [all …]
|
D | ActivityLifecycleClientTestBase.java | 31 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_STOP; 212 return occludingActivityIsTranslucent ? ON_PAUSE : ON_STOP; in occludedActivityState() 253 mLifecycleLogClient.onActivityCallback(ON_STOP); in onStop()
|
D | LifecycleLog.java | 46 ON_STOP, enumConstant
|
/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; 175 a.collectEvent(Source.APPLICATION_ACTIVITY_CALLBACK, ON_STOP); in testActivityCallbackOrder() 223 addNestedEvents(expectedEvents, ON_PRE_STOP, ON_STOP, ON_POST_STOP); in testActivityCallbackOrder()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CommandSession.java | 836 onCallback(ActivityCallback.ON_STOP); 928 ON_STOP,
|
D | ActivityManagerTestBase.java | 1541 countSpec(ActivityCallback.ON_STOP, CountSpec.EQUALS, stopCount),
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | PinnedStackTests.java | 932 assertEquals("onStop", 1, lifecycles.getCount(ActivityCallback.ON_STOP)); in testStopBeforeMultiWindowCallbacksOnDismiss() 937 final int lastStopIndex = lifecycles.getLastIndex(ActivityCallback.ON_STOP); in testStopBeforeMultiWindowCallbacksOnDismiss()
|
D | MultiDisplayPolicyTests.java | 289 .getCount(ActivityCallback.ON_STOP); in testExternalDisplayActivityTurnPrimaryOff()
|