Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTopResumedStateTests.java34 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_TOP_POSITION_GAINED;
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()
134 transition(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()
[all …]
DActivityLifecycleTests.java34 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_TOP_POSITION_GAINED;
403 ON_TOP_POSITION_GAINED, ON_TOP_POSITION_LOST, in testOnActivityResult()
404 ON_PAUSE, ON_ACTIVITY_RESULT, ON_RESUME, ON_TOP_POSITION_GAINED); in testOnActivityResult()
410 ON_TOP_POSITION_GAINED, ON_TOP_POSITION_LOST, in testOnActivityResult()
412 ON_TOP_POSITION_GAINED); in testOnActivityResult()
415 ON_TOP_POSITION_GAINED, ON_TOP_POSITION_LOST, in testOnActivityResult()
417 ON_TOP_POSITION_GAINED); in testOnActivityResult()
420 ON_TOP_POSITION_GAINED, ON_TOP_POSITION_LOST, in testOnActivityResult()
422 ON_TOP_POSITION_GAINED); in testOnActivityResult()
440 ON_TOP_POSITION_GAINED, ON_TOP_POSITION_LOST, ON_PAUSE, in testOnActivityResultAfterStop()
[all …]
DActivityLifecycleSplitScreenTests.java33 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_TOP_POSITION_GAINED;
205 waitAndAssertActivityStates(state(callbackTrackingActivity, ON_TOP_POSITION_GAINED)); in testResultInNonFocusedStack()
341 waitAndAssertActivityStates(state(testActivity, ON_TOP_POSITION_GAINED)); in testLifecycleOnMoveToFromSplitScreenRelaunch()
352 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED, in testLifecycleOnMoveToFromSplitScreenRelaunch()
357 ON_RESUME, ON_TOP_POSITION_GAINED, ON_TOP_POSITION_LOST), in testLifecycleOnMoveToFromSplitScreenRelaunch()
371 ON_RESUME, ON_TOP_POSITION_GAINED); in testLifecycleOnMoveToFromSplitScreenRelaunch()
377 Arrays.asList(ON_RESUME, ON_TOP_POSITION_GAINED), in testLifecycleOnMoveToFromSplitScreenRelaunch()
388 waitAndAssertActivityStates(state(testActivity, ON_TOP_POSITION_GAINED)); in testLifecycleOnMoveToFromSplitScreenNoRelaunch()
410 Arrays.asList(ON_TOP_POSITION_GAINED, ON_MULTI_WINDOW_MODE_CHANGED); in testLifecycleOnMoveToFromSplitScreenNoRelaunch()
416 transition(ConfigChangeHandlingActivity.class, ON_TOP_POSITION_GAINED), in testLifecycleOnMoveToFromSplitScreenNoRelaunch()
DLifecycleVerifier.java29 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_TOP_POSITION_GAINED;
71 ON_TOP_POSITION_GAINED) in getLaunchSequence()
111 expectedTransitions.add(transition(launchingActivity, ON_TOP_POSITION_GAINED)); in assertLaunchSequence()
142 expectedTransitions.addAll(Arrays.asList(ON_TOP_POSITION_GAINED, ON_TOP_POSITION_LOST)); in assertLaunchAndStopSequence()
256 expectedTransitions.add(ON_TOP_POSITION_GAINED); in assertStopToResumeSequence()
280 } else if (startState == ON_TOP_POSITION_GAINED) { in getRelaunchSequence()
284 ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED); in getRelaunchSequence()
296 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED, in getSplitScreenTransitionSequence()
DActivityLifecycleClientTestBase.java32 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_TOP_POSITION_GAINED;
316 isTopResumedActivity ? ON_TOP_POSITION_GAINED : ON_TOP_POSITION_LOST); in onTopResumedActivityChanged()
DLifecycleLog.java53 ON_TOP_POSITION_GAINED, enumConstant