Searched refs:ON_TOP_POSITION_GAINED (Results 1 – 6 of 6) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleTopResumedStateTests.java | 34 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 …]
|
D | ActivityLifecycleTests.java | 34 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 …]
|
D | ActivityLifecycleSplitScreenTests.java | 33 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_TOP_POSITION_GAINED; 205 waitAndAssertActivityStates(state(callbackTrackingActivity, ON_TOP_POSITION_GAINED)); in testResultInNonFocusedStack() 340 waitAndAssertActivityStates(state(testActivity, ON_TOP_POSITION_GAINED)); in testLifecycleOnMoveToFromSplitScreenRelaunch() 351 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED, in testLifecycleOnMoveToFromSplitScreenRelaunch() 356 ON_RESUME, ON_TOP_POSITION_GAINED, ON_TOP_POSITION_LOST), in testLifecycleOnMoveToFromSplitScreenRelaunch() 370 ON_RESUME, ON_TOP_POSITION_GAINED); in testLifecycleOnMoveToFromSplitScreenRelaunch() 376 Arrays.asList(ON_RESUME, ON_TOP_POSITION_GAINED), in testLifecycleOnMoveToFromSplitScreenRelaunch() 387 waitAndAssertActivityStates(state(testActivity, ON_TOP_POSITION_GAINED)); in testLifecycleOnMoveToFromSplitScreenNoRelaunch() 409 Arrays.asList(ON_TOP_POSITION_GAINED, ON_MULTI_WINDOW_MODE_CHANGED); in testLifecycleOnMoveToFromSplitScreenNoRelaunch() 415 transition(ConfigChangeHandlingActivity.class, ON_TOP_POSITION_GAINED), in testLifecycleOnMoveToFromSplitScreenNoRelaunch()
|
D | LifecycleVerifier.java | 29 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()
|
D | ActivityLifecycleClientTestBase.java | 32 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_TOP_POSITION_GAINED; 316 isTopResumedActivity ? ON_TOP_POSITION_GAINED : ON_TOP_POSITION_LOST); in onTopResumedActivityChanged()
|
D | LifecycleLog.java | 53 ON_TOP_POSITION_GAINED, enumConstant
|