Home
last modified time | relevance | path

Searched refs:FirstActivity (Results 1 – 10 of 10) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleKeyguardTests.java68 new Launcher(FirstActivity.class) in testSingleLaunch()
72 TransitionVerifier.assertLaunchAndStopSequence(FirstActivity.class, getTransitionLog()); in testSingleLaunch()
81 final Activity activity = launchActivityAndWait(FirstActivity.class); in testKeyguardShowHide()
89 TransitionVerifier.assertLaunchAndStopSequence(FirstActivity.class, getTransitionLog()); in testKeyguardShowHide()
95 assertRestartAndResumeSubSequence(FirstActivity.class, getTransitionLog()); in testKeyguardShowHide()
99 assertRestartAndResumeSequence(FirstActivity.class, getTransitionLog()); in testKeyguardShowHide()
109 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testKeyguardShowHideOverSplitScreen()
122 assertResumeToStopSequence(FirstActivity.class, getTransitionLog()); in testKeyguardShowHideOverSplitScreen()
129 assertRestartAndResumeSequence(FirstActivity.class, getTransitionLog()); in testKeyguardShowHideOverSplitScreen()
142 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testKeyguardShowHideOverPip()
[all …]
DActivityLifecycleFreeformTests.java80 new Launcher(FirstActivity.class) in testLaunchInFreeform()
86 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_RESUMED, in testLaunchInFreeform()
88 TransitionVerifier.assertLaunchSequence(FirstActivity.class, getTransitionLog()); in testLaunchInFreeform()
101 new Launcher(FirstActivity.class) in testMultiLaunchInFreeform()
118 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_RESUMED, message); in testMultiLaunchInFreeform()
123 TransitionVerifier.assertLaunchSequence(FirstActivity.class, getTransitionLog()); in testMultiLaunchInFreeform()
138 new Launcher(FirstActivity.class) in testLaunchOccludingInFreeform()
152 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_STOPPED, in testLaunchOccludingInFreeform()
159 TransitionVerifier.assertLaunchAndStopSequence(FirstActivity.class, getTransitionLog()); in testLaunchOccludingInFreeform()
170 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_RESUMED, in testLaunchOccludingInFreeform()
[all …]
DActivityLifecyclePipTests.java67 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testGoToPip()
80 assertRestartAndResumeSequence(FirstActivity.class, getTransitionLog()); in testGoToPip()
88 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testPipOnLaunch()
106 assertSequenceMatchesOneOf(FirstActivity.class, getTransitionLog(), in testPipOnLaunch()
115 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testDestroyPip()
134 assertEmptySequence(FirstActivity.class, getTransitionLog(), "finishPip"); in testDestroyPip()
149 new Launcher(FirstActivity.class) in testLaunchBelowPip()
154 TransitionVerifier.assertLaunchSequence(FirstActivity.class, getTransitionLog()); in testLaunchBelowPip()
169 new Launcher(FirstActivity.class) in testIntoPipSameTask()
232 final Activity firstActivity = new Launcher(FirstActivity.class) in testSplitScreenBelowPip()
[all …]
DActivityTests.java62 final Activity activity = launchActivityAndWait(FirstActivity.class); in testReleaseActivityInstance_visible()
67 assertEmptySequence(FirstActivity.class, getTransitionLog(), "tryReleaseInstance"); in testReleaseActivityInstance_visible()
73 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testReleaseActivityInstance_invisible()
90 TransitionVerifier.assertLaunchSequence(FirstActivity.class, getTransitionLog()); in testReleaseActivityInstance_invisible()
195 final Activity activity = launchActivityAndWait(FirstActivity.class); in testFinishAfterTransition_noTransition_rootOfTask()
200 waitAndAssertActivityStates(state(FirstActivity.class, ON_DESTROY)); in testFinishAfterTransition_noTransition_rootOfTask()
201 assertSequence(FirstActivity.class, getTransitionLog(), in testFinishAfterTransition_noTransition_rootOfTask()
211 final Activity rootActivity = launchActivityAndWait(FirstActivity.class); in testFinishAfterTransition_noTransition()
228 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testFinishAffinity()
236 waitAndAssertActivityStates(state(FirstActivity.class, ON_DESTROY), in testFinishAffinity()
[all …]
DActivityLifecycleTests.java109 launchActivityAndWait(FirstActivity.class); in testSingleLaunch()
111 TransitionVerifier.assertLaunchSequence(FirstActivity.class, getTransitionLog()); in testSingleLaunch()
116 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testLaunchOnTop()
122 assertLaunchSequence(SecondActivity.class, FirstActivity.class, in testLaunchOnTop()
129 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testLaunchTranslucentOnTop()
136 assertLaunchSequence(TranslucentActivity.class, FirstActivity.class, in testLaunchTranslucentOnTop()
142 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testLaunchDoubleTranslucentOnTop()
149 assertLaunchSequence(TranslucentActivity.class, FirstActivity.class, in testLaunchDoubleTranslucentOnTop()
160 assertEmptySequence(FirstActivity.class, getTransitionLog(), "launch"); in testLaunchDoubleTranslucentOnTop()
171 assertEmptySequence(FirstActivity.class, getTransitionLog(), "launch"); in testLaunchDoubleTranslucentOnTop()
[all …]
DActivityLifecycleLegacySplitScreenTests.java82 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testResumedWhenRecreatedFromInNonFocusedTask()
110 assertRecreateAndResumeSequence(FirstActivity.class, getTransitionLog()); in testResumedWhenRecreatedFromInNonFocusedTask()
122 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testOccludingOnSplitSecondaryTask()
142 final Activity firstActivity = new Launcher(FirstActivity.class) in testTranslucentOnSplitSecondaryTask()
209 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testResumedWhenRestartedFromInNonFocusedTask()
246 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testResumedTranslucentWhenRestartedFromInNonFocusedTask()
267 assertSequence(FirstActivity.class, getTransitionLog(), in testResumedTranslucentWhenRestartedFromInNonFocusedTask()
377 .setTargetActivity(getComponentName(FirstActivity.class))); in testOnUserLeaveHint()
386 FirstActivity.class, in testOnUserLeaveHint()
DActivityStarterTests.java101 launchActivityAndWait(FirstActivity.class); in testClearTopNewTaskResetTask()
105 waitAndAssertActivityStates(state(FirstActivity.class, ON_STOP)); in testClearTopNewTaskResetTask()
110 final Activity secondLaunchActivity = new Launcher(FirstActivity.class) in testClearTopNewTaskResetTask()
DActivityLifecycleClientTestBase.java347 public static class FirstActivity extends LifecycleTrackingActivity { class in ActivityLifecycleClientTestBase
/cts/hostsidetests/packagemanager/dynamicmime/common/src/android/dynamicmime/common/activity/
DFirstActivity.java20 public class FirstActivity extends Activity { class
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_0339.java73 launchActivity(FirstActivity.class, cb); // start activity with callback as intent extra in testPocCVE_2021_0339()
93 public static class FirstActivity extends Activity { class in CVE_2021_0339