Home
last modified time | relevance | path

Searched refs:ON_TOP_POSITION_GAINED (Results 1 – 8 of 8) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleTopResumedStateTests.java38 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_TOP_POSITION_GAINED;
140 waitAndAssertActivityStates(state(firstActivity, ON_TOP_POSITION_GAINED)); in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
149 waitAndAssertActivityStates(state(secondActivityClass, ON_TOP_POSITION_GAINED), in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
153 transition(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()
179 transition(secondActivityClass, ON_TOP_POSITION_GAINED), in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
219 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED); in testTopPositionSwitchOnDoubleLaunch()
232 transition(LaunchForResultActivity.class, ON_TOP_POSITION_GAINED), in testTopPositionSwitchOnDoubleLaunch()
239 transition(ResultActivity.class, ON_TOP_POSITION_GAINED)); in testTopPositionSwitchOnDoubleLaunch()
[all …]
DActivityLifecycleTests.java52 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_TOP_POSITION_GAINED;
346 waitAndAssertActivityStates(state(CallbackTrackingActivity.class, ON_TOP_POSITION_GAINED), in testLaunchForResultAndLaunchAfterResultSequence()
368 transition(CallbackTrackingActivity.class, ON_TOP_POSITION_GAINED)), in testLaunchForResultAndLaunchAfterResultSequence()
410 waitAndAssertActivityStates(state(CallbackTrackingActivity.class, ON_TOP_POSITION_GAINED)); in testTrampolineLifecycle()
418 transition(CallbackTrackingActivity.class, ON_TOP_POSITION_GAINED), in testTrampolineLifecycle()
439 state(SecondProcessCallbackTrackingActivity.class, ON_TOP_POSITION_GAINED)); in testTrampolineAnotherExistingProcessNewTask()
586 ON_TOP_POSITION_GAINED)); in testLaunchActivityWithFlagForwardResult()
591 ON_TOP_POSITION_GAINED, ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, in testLaunchActivityWithFlagForwardResult()
593 ON_TOP_POSITION_GAINED); in testLaunchActivityWithFlagForwardResult()
638 waitAndAssertActivityStates(state(resultActivity, ON_TOP_POSITION_GAINED)); in testOnActivityResultAfterStop()
[all …]
DActivityLifecycleLegacySplitScreenTests.java32 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_TOP_POSITION_GAINED;
293 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED, in testLifecycleOnMoveToFromSplitScreenRelaunch()
310 ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED); in testLifecycleOnMoveToFromSplitScreenRelaunch()
315 Arrays.asList(ON_DESTROY, ON_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED), in testLifecycleOnMoveToFromSplitScreenRelaunch()
356 ON_TOP_POSITION_GAINED); in testLifecycleOnMoveToFromSplitScreenNoRelaunch()
364 transition(LifecycleConfigChangeHandlingActivity.class, ON_TOP_POSITION_GAINED), in testLifecycleOnMoveToFromSplitScreenNoRelaunch()
DActivityTests.java28 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_TOP_POSITION_GAINED;
104 state(topActivity, ON_TOP_POSITION_GAINED)); in testFinishTask_FromRoot()
132 state(topActivity, ON_TOP_POSITION_GAINED)); in testFinishTask_FromRoot_TranslucentOnTop()
161 state(topActivity, ON_TOP_POSITION_GAINED)); in testFinishTask_NotFromRoot()
DActivityLifecycleClientTestBase.java31 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_TOP_POSITION_GAINED;
163 ? ON_RESUME : ON_TOP_POSITION_GAINED; in launch()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/
DCallbackTrackingActivity.java24 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_TOP_POSITION_GAINED;
59 isTopResumedActivity ? ON_TOP_POSITION_GAINED : ON_TOP_POSITION_LOST); in onTopResumedActivityChanged()
DTransitionVerifier.java64 LifecycleConstants.ON_TOP_POSITION_GAINED) in getLaunchSequence()
118 transition(launchingActivity, LifecycleConstants.ON_TOP_POSITION_GAINED)); in assertLaunchSequence()
150 LifecycleConstants.ON_TOP_POSITION_GAINED, in assertLaunchAndStopSequence()
302 expectedTransitions.add(LifecycleConstants.ON_TOP_POSITION_GAINED); in assertStopToResumeSequence()
327 transition(activityClass, LifecycleConstants.ON_TOP_POSITION_GAINED)); in assertStopToResumeSubSequence()
368 } else if (startState.equals(LifecycleConstants.ON_TOP_POSITION_GAINED)) { in getRelaunchSequence()
380 LifecycleConstants.ON_TOP_POSITION_GAINED); in getRelaunchSequence()
404 LifecycleConstants.ON_TOP_POSITION_GAINED, in getSplitScreenTransitionSequence()
DLifecycleConstants.java39 public static final String ON_TOP_POSITION_GAINED = "ON_TOP_POSITION_GAINED"; field in LifecycleConstants