Home
last modified time | relevance | path

Searched refs:ON_STOP (Results 1 – 14 of 14) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleKeyguardTests.java26 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()
152 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testKeyguardShowHideOverPip()
153 waitAndAssertActivityStates(state(pipActivity, ON_STOP)); in testKeyguardShowHideOverPip()
157 Arrays.asList(ON_STOP), "keyguardShown"); in testKeyguardShowHideOverPip()
DLifecycleVerifier.java28 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 …]
DActivityLifecycleSplitScreenTests.java32 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()
232 waitAndAssertActivityStates(state(callbackTrackingActivity, ON_STOP)); in testResultInNonFocusedStack()
278 waitAndAssertActivityStates(state(newTaskActivity, ON_STOP)); in testResumedWhenRestartedFromInNonFocusedStack()
351 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, PRE_ON_CREATE, in testLifecycleOnMoveToFromSplitScreenRelaunch()
356 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, in testLifecycleOnMoveToFromSplitScreenRelaunch()
369 Arrays.asList(ON_STOP, ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, in testLifecycleOnMoveToFromSplitScreenRelaunch()
DActivityLifecyclePipTests.java29 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()
DActivityLifecycleTopResumedStateTests.java33 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 …]
DActivityLifecycleTests.java33 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 …]
DActivityLifecycleClientTestBase.java31 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()
DLifecycleLog.java46 ON_STOP, enumConstant
/cts/tests/app/app/src/android/app/stubs/
DActivityCallbacksTestActivity.java47 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/
DActivityCallbacksTest.java36 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/
DCommandSession.java836 onCallback(ActivityCallback.ON_STOP);
928 ON_STOP,
DActivityManagerTestBase.java1483 countSpec(ActivityCallback.ON_STOP, CountSpec.EQUALS, stopCount),
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DPinnedStackTests.java903 assertEquals("onStop", 1, lifecycles.getCount(ActivityCallback.ON_STOP)); in testStopBeforeMultiWindowCallbacksOnDismiss()
908 final int lastStopIndex = lifecycles.getLastIndex(ActivityCallback.ON_STOP); in testStopBeforeMultiWindowCallbacksOnDismiss()
DMultiDisplayPolicyTests.java289 .getCount(ActivityCallback.ON_STOP); in testExternalDisplayActivityTurnPrimaryOff()