Home
last modified time | relevance | path

Searched refs:LifecycleVerifier (Results 1 – 9 of 9) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleFreeformTests.java79 LifecycleVerifier.assertLaunchSequence(FirstActivity.class, getLifecycleLog()); in testLaunchInFreeform()
80 LifecycleVerifier.assertLaunchSequence(CallbackTrackingActivity.class, getLifecycleLog(), in testLaunchInFreeform()
115 LifecycleVerifier.assertLaunchSequence(FirstActivity.class, getLifecycleLog()); in testMultiLaunchInFreeform()
116 LifecycleVerifier.assertLaunchSequence(SecondActivity.class, getLifecycleLog()); in testMultiLaunchInFreeform()
117 LifecycleVerifier.assertLaunchSequence(ThirdActivity.class, getLifecycleLog()); in testMultiLaunchInFreeform()
118 LifecycleVerifier.assertLaunchSequence(CallbackTrackingActivity.class, getLifecycleLog(), in testMultiLaunchInFreeform()
152 LifecycleVerifier.assertLaunchAndStopSequence(FirstActivity.class, getLifecycleLog()); in testLaunchOccludingInFreeform()
153 LifecycleVerifier.assertLaunchSequence(SecondActivity.class, getLifecycleLog()); in testLaunchOccludingInFreeform()
154 LifecycleVerifier.assertLaunchSequence(ThirdActivity.class, getLifecycleLog()); in testLaunchOccludingInFreeform()
155 LifecycleVerifier.assertLaunchSequence(CallbackTrackingActivity.class, getLifecycleLog(), in testLaunchOccludingInFreeform()
[all …]
DActivityLifecyclePipTests.java74 LifecycleVerifier.assertRestartAndResumeSequence(FirstActivity.class, getLifecycleLog()); in testGoToPip()
75 LifecycleVerifier.assertSequence(PipActivity.class, getLifecycleLog(), in testGoToPip()
100 LifecycleVerifier.assertSequenceMatchesOneOf(FirstActivity.class, in testPipOnLaunch()
103 LifecycleVerifier.assertSequence(PipActivity.class, getLifecycleLog(), in testPipOnLaunch()
129 LifecycleVerifier.assertEmptySequence(FirstActivity.class, getLifecycleLog(), "finishPip"); in testDestroyPip()
130 LifecycleVerifier.assertSequence(PipActivity.class, getLifecycleLog(), in testDestroyPip()
149 LifecycleVerifier.assertLaunchSequence(FirstActivity.class, getLifecycleLog()); in testLaunchBelowPip()
150 LifecycleVerifier.assertEmptySequence(PipActivity.class, getLifecycleLog(), in testLaunchBelowPip()
184 LifecycleVerifier.assertSequence(PipActivity.class, getLifecycleLog(), in testIntoPipSameTask()
205 LifecycleVerifier.assertResumeToDestroySequence(FirstActivity.class, getLifecycleLog()); in testDestroyBelowPip()
[all …]
DActivityLifecycleKeyguardTests.java59 LifecycleVerifier.assertLaunchAndStopSequence(FirstActivity.class, getLifecycleLog()); in testSingleLaunch()
75 LifecycleVerifier.assertLaunchAndStopSequence(FirstActivity.class, getLifecycleLog()); in testKeyguardShowHide()
81 LifecycleVerifier.assertRestartAndResumeSubSequence(FirstActivity.class, in testKeyguardShowHide()
86 LifecycleVerifier.assertRestartAndResumeSequence(FirstActivity.class, in testKeyguardShowHide()
109 LifecycleVerifier.assertResumeToStopSequence(FirstActivity.class, getLifecycleLog()); in testKeyguardShowHideOverSplitScreen()
110 LifecycleVerifier.assertResumeToStopSequence(SideActivity.class, getLifecycleLog()); in testKeyguardShowHideOverSplitScreen()
116 LifecycleVerifier.assertRestartAndResumeSequence(FirstActivity.class, getLifecycleLog()); in testKeyguardShowHideOverSplitScreen()
117 LifecycleVerifier.assertRestartAndResumeSequence(SideActivity.class, getLifecycleLog()); in testKeyguardShowHideOverSplitScreen()
150 LifecycleVerifier.assertResumeToStopSequence(FirstActivity.class, getLifecycleLog()); in testKeyguardShowHideOverPip()
151 LifecycleVerifier.assertSequence(PipActivity.class, getLifecycleLog(), in testKeyguardShowHideOverPip()
[all …]
DActivityLifecycleTopResumedStateTests.java38 import static android.server.wm.lifecycle.LifecycleVerifier.transition;
87 LifecycleVerifier.assertLaunchSequence(CallbackTrackingActivity.class, getLifecycleLog()); in testTopPositionAfterLaunch()
98 LifecycleVerifier.assertResumeToDestroySequence(CallbackTrackingActivity.class, in testTopPositionLostOnFinish()
110 LifecycleVerifier.assertLaunchSequence(SingleTopActivity.class, in testTopPositionSwitchToActivityOnTop()
135 LifecycleVerifier.assertOrder(getLifecycleLog(), Arrays.asList( in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
162 LifecycleVerifier.assertOrder(getLifecycleLog(), Arrays.asList( in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
171 LifecycleVerifier.assertEmptySequence(firstActivityClass, getLifecycleLog(), in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
173 LifecycleVerifier.assertEmptySequence(secondActivityClass, getLifecycleLog(), in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
186 LifecycleVerifier.assertLaunchSequence(TranslucentCallbackTrackingActivity.class, in testTopPositionSwitchToTranslucentActivityOnTop()
252 LifecycleVerifier.assertEntireSequence(Arrays.asList( in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
[all …]
DActivityLifecycleTests.java45 import static android.server.wm.lifecycle.LifecycleVerifier.transition;
85 LifecycleVerifier.assertLaunchSequence(FirstActivity.class, getLifecycleLog()); in testSingleLaunch()
96 LifecycleVerifier.assertLaunchSequence(SecondActivity.class, FirstActivity.class, in testLaunchOnTop()
110 LifecycleVerifier.assertLaunchSequence(TranslucentActivity.class, FirstActivity.class, in testLaunchTranslucentOnTop()
123 LifecycleVerifier.assertLaunchSequence(TranslucentActivity.class, FirstActivity.class, in testLaunchDoubleTranslucentOnTop()
132 LifecycleVerifier.assertSequence(TranslucentActivity.class, getLifecycleLog(), in testLaunchDoubleTranslucentOnTop()
134 LifecycleVerifier.assertEmptySequence(FirstActivity.class, getLifecycleLog(), "launch"); in testLaunchDoubleTranslucentOnTop()
142 LifecycleVerifier.assertResumeToDestroySequence(SecondTranslucentActivity.class, in testLaunchDoubleTranslucentOnTop()
144 LifecycleVerifier.assertSequence(TranslucentActivity.class, getLifecycleLog(), in testLaunchDoubleTranslucentOnTop()
146 LifecycleVerifier.assertEmptySequence(FirstActivity.class, getLifecycleLog(), "launch"); in testLaunchDoubleTranslucentOnTop()
[all …]
DActivityLifecycleLegacySplitScreenTests.java34 import static android.server.wm.lifecycle.LifecycleVerifier.transition;
105 LifecycleVerifier.assertRecreateAndResumeSequence(FirstActivity.class, getLifecycleLog()); in testResumedWhenRecreatedFromInNonFocusedTask()
108 LifecycleVerifier.assertLaunchSequence(ThirdActivity.class, getLifecycleLog()); in testResumedWhenRecreatedFromInNonFocusedTask()
197 LifecycleVerifier.assertSequence(CallbackTrackingActivity.class, getLifecycleLog(), in testResultInNonFocusedTask()
235 LifecycleVerifier.assertRestartAndResumeSequence(ThirdActivity.class, getLifecycleLog()); in testResumedWhenRestartedFromInNonFocusedTask()
236 LifecycleVerifier.assertResumeToDestroySequence(SecondActivity.class, getLifecycleLog()); in testResumedWhenRestartedFromInNonFocusedTask()
266 LifecycleVerifier.assertSequence(FirstActivity.class, getLifecycleLog(), in testResumedTranslucentWhenRestartedFromInNonFocusedTask()
268 LifecycleVerifier.assertResumeToDestroySequence(TranslucentActivity.class, in testResumedTranslucentWhenRestartedFromInNonFocusedTask()
283 LifecycleVerifier.assertLaunchSequence(CallbackTrackingActivity.class, getLifecycleLog()); in testLifecycleOnMoveToFromSplitScreenRelaunch()
295 LifecycleVerifier.assertOrder(getLifecycleLog(), CallbackTrackingActivity.class, in testLifecycleOnMoveToFromSplitScreenRelaunch()
[all …]
DActivityTests.java30 import static android.server.wm.lifecycle.LifecycleVerifier.transition;
61 LifecycleVerifier.assertEmptySequence(FirstActivity.class, getLifecycleLog(), in testReleaseActivityInstance_visible()
78 LifecycleVerifier.assertEmptySequence(SecondActivity.class, getLifecycleLog(), in testReleaseActivityInstance_invisible()
85 LifecycleVerifier.assertLaunchSequence(FirstActivity.class, getLifecycleLog()); in testReleaseActivityInstance_invisible()
108 LifecycleVerifier.assertSequence(rootActivityClass, getLifecycleLog(), in testFinishTask_FromRoot()
110 LifecycleVerifier.assertSequence(topActivityClass, getLifecycleLog(), in testFinishTask_FromRoot()
136 LifecycleVerifier.assertSequence(rootActivityClass, getLifecycleLog(), in testFinishTask_FromRoot_TranslucentOnTop()
138 LifecycleVerifier.assertSequence(topActivityClass, getLifecycleLog(), in testFinishTask_FromRoot_TranslucentOnTop()
162 LifecycleVerifier.assertEntireSequence(Arrays.asList( in testFinishTask_NotFromRoot()
182 LifecycleVerifier.assertLaunchAndDestroySequence(TransitionDestinationActivity.class, in testFinishAfterTransition()
[all …]
DActivityLifecycleClientTestBase.java300 LifecycleVerifier.assertSequence(activityClass, getLifecycleLog(), expectedTransitions, in waitAndAssertActivityTransitions()
780 LifecycleVerifier.getSplitScreenTransitionSequence(activityClass)); in moveTaskToPrimarySplitScreenAndVerify()
782 LifecycleVerifier.appendMinimizedDockTransitionTrail(expectedTransitions); in moveTaskToPrimarySplitScreenAndVerify()
794 LifecycleVerifier.assertSequenceMatchesOneOf( in moveTaskToPrimarySplitScreenAndVerify()
DLifecycleVerifier.java50 class LifecycleVerifier { class