Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecyclePipTests.java75 getTransitionLog().clear(); in testGoToPip()
80 assertRestartAndResumeSequence(FirstActivity.class, getTransitionLog()); in testGoToPip()
81 assertSequence(PipActivity.class, getTransitionLog(), Collections.singletonList(ON_PAUSE), in testGoToPip()
91 getTransitionLog().clear(); in testPipOnLaunch()
106 assertSequenceMatchesOneOf(FirstActivity.class, getTransitionLog(), in testPipOnLaunch()
108 assertSequence(PipActivity.class, getTransitionLog(), in testPipOnLaunch()
118 getTransitionLog().clear(); in testDestroyPip()
130 getTransitionLog().clear(); in testDestroyPip()
134 assertEmptySequence(FirstActivity.class, getTransitionLog(), "finishPip"); in testDestroyPip()
135 assertSequence(PipActivity.class, getTransitionLog(), in testDestroyPip()
[all …]
DActivityLifecycleTopResumedStateTests.java104 TransitionVerifier.assertLaunchSequence(CallbackTrackingActivity.class, getTransitionLog()); in testTopPositionAfterLaunch()
111 getTransitionLog().clear(); in testTopPositionLostOnFinish()
115 assertResumeToDestroySequence(CallbackTrackingActivity.class, getTransitionLog()); in testTopPositionLostOnFinish()
122 getTransitionLog().clear(); in testTopPositionSwitchToActivityOnTop()
127 CallbackTrackingActivity.class, getTransitionLog(), in testTopPositionSwitchToActivityOnTop()
143 getTransitionLog().clear(); in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
151 assertOrder(getTransitionLog(), Arrays.asList( in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
170 getTransitionLog().clear(); in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
178 assertOrder(getTransitionLog(), Arrays.asList( in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
185 getTransitionLog().clear(); in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
[all …]
DActivityLifecycleKeyguardTests.java72 TransitionVerifier.assertLaunchAndStopSequence(FirstActivity.class, getTransitionLog()); in testSingleLaunch()
89 TransitionVerifier.assertLaunchAndStopSequence(FirstActivity.class, getTransitionLog()); in testKeyguardShowHide()
90 getTransitionLog().clear(); in testKeyguardShowHide()
95 assertRestartAndResumeSubSequence(FirstActivity.class, getTransitionLog()); in testKeyguardShowHide()
99 assertRestartAndResumeSequence(FirstActivity.class, getTransitionLog()); in testKeyguardShowHide()
115 getTransitionLog().clear(); in testKeyguardShowHideOverSplitScreen()
122 assertResumeToStopSequence(FirstActivity.class, getTransitionLog()); in testKeyguardShowHideOverSplitScreen()
123 assertResumeToStopSequence(SideActivity.class, getTransitionLog()); in testKeyguardShowHideOverSplitScreen()
124 getTransitionLog().clear(); in testKeyguardShowHideOverSplitScreen()
129 assertRestartAndResumeSequence(FirstActivity.class, getTransitionLog()); in testKeyguardShowHideOverSplitScreen()
[all …]
DActivityTests.java65 getTransitionLog().clear(); in testReleaseActivityInstance_visible()
67 assertEmptySequence(FirstActivity.class, getTransitionLog(), "tryReleaseInstance"); in testReleaseActivityInstance_visible()
79 getTransitionLog().clear(); in testReleaseActivityInstance_invisible()
83 assertEmptySequence(SecondActivity.class, getTransitionLog(), in testReleaseActivityInstance_invisible()
87 getTransitionLog().clear(); in testReleaseActivityInstance_invisible()
90 TransitionVerifier.assertLaunchSequence(FirstActivity.class, getTransitionLog()); in testReleaseActivityInstance_invisible()
106 getTransitionLog().clear(); in testFinishTask_FromRoot()
113 assertSequence(rootActivityClass, getTransitionLog(), in testFinishTask_FromRoot()
115 assertSequence(topActivityClass, getTransitionLog(), in testFinishTask_FromRoot()
134 getTransitionLog().clear(); in testFinishTask_FromRoot_TranslucentOnTop()
[all …]
DActivityLifecycleTests.java111 TransitionVerifier.assertLaunchSequence(FirstActivity.class, getTransitionLog()); in testSingleLaunch()
118 getTransitionLog().clear(); in testLaunchOnTop()
123 getTransitionLog(), false /* launchIsTranslucent */); in testLaunchOnTop()
132 getTransitionLog().clear(); in testLaunchTranslucentOnTop()
137 getTransitionLog(), true /* launchIsTranslucent */); in testLaunchTranslucentOnTop()
145 getTransitionLog().clear(); in testLaunchDoubleTranslucentOnTop()
150 getTransitionLog(), true /* launchIsTranslucent */); in testLaunchDoubleTranslucentOnTop()
153 getTransitionLog().clear(); in testLaunchDoubleTranslucentOnTop()
158 assertSequence(TranslucentActivity.class, getTransitionLog(), in testLaunchDoubleTranslucentOnTop()
160 assertEmptySequence(FirstActivity.class, getTransitionLog(), "launch"); in testLaunchDoubleTranslucentOnTop()
[all …]
DActivityLifecycleLegacySplitScreenTests.java94 getTransitionLog().clear(); in testResumedWhenRecreatedFromInNonFocusedTask()
110 assertRecreateAndResumeSequence(FirstActivity.class, getTransitionLog()); in testResumedWhenRecreatedFromInNonFocusedTask()
113 TransitionVerifier.assertLaunchSequence(ThirdActivity.class, getTransitionLog()); in testResumedWhenRecreatedFromInNonFocusedTask()
128 getTransitionLog().clear(); in testOccludingOnSplitSecondaryTask()
150 getTransitionLog().clear(); in testTranslucentOnSplitSecondaryTask()
192 getTransitionLog().clear(); in testResultInNonFocusedTask()
198 assertSequence(CallbackTrackingActivity.class, getTransitionLog(), in testResultInNonFocusedTask()
221 getTransitionLog().clear(); in testResumedWhenRestartedFromInNonFocusedTask()
228 getTransitionLog().clear(); in testResumedWhenRestartedFromInNonFocusedTask()
236 assertRestartAndResumeSequence(ThirdActivity.class, getTransitionLog()); in testResumedWhenRestartedFromInNonFocusedTask()
[all …]
DActivityLifecycleFreeformTests.java88 TransitionVerifier.assertLaunchSequence(FirstActivity.class, getTransitionLog()); in testLaunchInFreeform()
123 TransitionVerifier.assertLaunchSequence(FirstActivity.class, getTransitionLog()); in testMultiLaunchInFreeform()
124 TransitionVerifier.assertLaunchSequence(SecondActivity.class, getTransitionLog()); in testMultiLaunchInFreeform()
125 TransitionVerifier.assertLaunchSequence(ThirdActivity.class, getTransitionLog()); in testMultiLaunchInFreeform()
159 TransitionVerifier.assertLaunchAndStopSequence(FirstActivity.class, getTransitionLog()); in testLaunchOccludingInFreeform()
160 TransitionVerifier.assertLaunchSequence(SecondActivity.class, getTransitionLog()); in testLaunchOccludingInFreeform()
161 TransitionVerifier.assertLaunchSequence(ThirdActivity.class, getTransitionLog()); in testLaunchOccludingInFreeform()
165 getTransitionLog().clear(); in testLaunchOccludingInFreeform()
178 assertRestartAndResumeSequence(FirstActivity.class, getTransitionLog()); in testLaunchOccludingInFreeform()
179 assertResumeToDestroySequence(SecondActivity.class, getTransitionLog()); in testLaunchOccludingInFreeform()
[all …]
DActivityLifecycleClientTestBase.java299 TransitionVerifier.assertSequence(activityClass, getTransitionLog(), expectedTransitions, in waitAndAssertActivityTransitions()
303 EventLog getTransitionLog() { in getTransitionLog() method in ActivityLifecycleClientTestBase
634 getTransitionLog().clear(); in moveTaskToPrimarySplitScreenAndVerify()
671 getTransitionLog(), in moveTaskToPrimarySplitScreenAndVerify()
DActivityStarterTests.java106 getTransitionLog().clear(); in testClearTopNewTaskResetTask()