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/lifecycle/
DActivityLifecycleKeyguardTests.java55 new Launcher(FirstActivity.class) in testSingleLaunch()
59 LifecycleVerifier.assertLaunchAndStopSequence(FirstActivity.class, getLifecycleLog()); in testSingleLaunch()
68 final Activity activity = launchActivityAndWait(FirstActivity.class); in testKeyguardShowHide()
75 LifecycleVerifier.assertLaunchAndStopSequence(FirstActivity.class, getLifecycleLog()); in testKeyguardShowHide()
81 LifecycleVerifier.assertRestartAndResumeSubSequence(FirstActivity.class, in testKeyguardShowHide()
86 LifecycleVerifier.assertRestartAndResumeSequence(FirstActivity.class, in testKeyguardShowHide()
97 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testKeyguardShowHideOverSplitScreen()
109 LifecycleVerifier.assertResumeToStopSequence(FirstActivity.class, getLifecycleLog()); in testKeyguardShowHideOverSplitScreen()
116 LifecycleVerifier.assertRestartAndResumeSequence(FirstActivity.class, getLifecycleLog()); in testKeyguardShowHideOverSplitScreen()
129 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testKeyguardShowHideOverPip()
[all …]
DActivityLifecyclePipTests.java61 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testGoToPip()
74 LifecycleVerifier.assertRestartAndResumeSequence(FirstActivity.class, getLifecycleLog()); in testGoToPip()
82 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testPipOnLaunch()
100 LifecycleVerifier.assertSequenceMatchesOneOf(FirstActivity.class, in testPipOnLaunch()
110 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testDestroyPip()
129 LifecycleVerifier.assertEmptySequence(FirstActivity.class, getLifecycleLog(), "finishPip"); in testDestroyPip()
144 new Launcher(FirstActivity.class) in testLaunchBelowPip()
149 LifecycleVerifier.assertLaunchSequence(FirstActivity.class, getLifecycleLog()); in testLaunchBelowPip()
164 new Launcher(FirstActivity.class) in testIntoPipSameTask()
191 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testDestroyBelowPip()
[all …]
DActivityLifecycleFreeformTests.java71 new Launcher(FirstActivity.class) in testLaunchInFreeform()
77 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_RESUMED, in testLaunchInFreeform()
79 LifecycleVerifier.assertLaunchSequence(FirstActivity.class, getLifecycleLog()); in testLaunchInFreeform()
93 new Launcher(FirstActivity.class) in testMultiLaunchInFreeform()
110 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_RESUMED, message); in testMultiLaunchInFreeform()
115 LifecycleVerifier.assertLaunchSequence(FirstActivity.class, getLifecycleLog()); in testMultiLaunchInFreeform()
131 new Launcher(FirstActivity.class) in testLaunchOccludingInFreeform()
145 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_STOPPED, in testLaunchOccludingInFreeform()
152 LifecycleVerifier.assertLaunchAndStopSequence(FirstActivity.class, getLifecycleLog()); in testLaunchOccludingInFreeform()
164 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_RESUMED, in testLaunchOccludingInFreeform()
[all …]
DActivityLifecycleTests.java82 launchActivityAndWait(FirstActivity.class); in testSingleLaunch()
84 LifecycleVerifier.assertLaunchSequence(FirstActivity.class, getLifecycleLog()); in testSingleLaunch()
89 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testLaunchOnTop()
95 LifecycleVerifier.assertLaunchSequence(SecondActivity.class, FirstActivity.class, in testLaunchOnTop()
102 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testLaunchTranslucentOnTop()
109 LifecycleVerifier.assertLaunchSequence(TranslucentActivity.class, FirstActivity.class, in testLaunchTranslucentOnTop()
115 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testLaunchDoubleTranslucentOnTop()
122 LifecycleVerifier.assertLaunchSequence(TranslucentActivity.class, FirstActivity.class, in testLaunchDoubleTranslucentOnTop()
133 LifecycleVerifier.assertEmptySequence(FirstActivity.class, getLifecycleLog(), "launch"); in testLaunchDoubleTranslucentOnTop()
145 LifecycleVerifier.assertEmptySequence(FirstActivity.class, getLifecycleLog(), "launch"); in testLaunchDoubleTranslucentOnTop()
[all …]
DActivityTests.java56 final Activity activity = launchActivityAndWait(FirstActivity.class); in testReleaseActivityInstance_visible()
61 LifecycleVerifier.assertEmptySequence(FirstActivity.class, getLifecycleLog(), in testReleaseActivityInstance_visible()
68 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testReleaseActivityInstance_invisible()
85 LifecycleVerifier.assertLaunchSequence(FirstActivity.class, getLifecycleLog()); in testReleaseActivityInstance_invisible()
192 final Activity activity = launchActivityAndWait(FirstActivity.class); in testFinishAfterTransition_noTransition_rootOfTask()
197 waitAndAssertActivityStates(state(FirstActivity.class, ON_DESTROY)); in testFinishAfterTransition_noTransition_rootOfTask()
198 LifecycleVerifier.assertSequence(FirstActivity.class, getLifecycleLog(), in testFinishAfterTransition_noTransition_rootOfTask()
208 final Activity rootActivity = launchActivityAndWait(FirstActivity.class); in testFinishAfterTransition_noTransition()
225 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testFinishAffinity()
233 waitAndAssertActivityStates(state(FirstActivity.class, ON_DESTROY), in testFinishAffinity()
[all …]
DActivityLifecycleLegacySplitScreenTests.java76 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testResumedWhenRecreatedFromInNonFocusedTask()
104 LifecycleVerifier.assertRecreateAndResumeSequence(FirstActivity.class, getLifecycleLog()); in testResumedWhenRecreatedFromInNonFocusedTask()
116 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testOccludingOnSplitSecondaryTask()
136 final Activity firstActivity = new Launcher(FirstActivity.class) in testTranslucentOnSplitSecondaryTask()
203 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testResumedWhenRestartedFromInNonFocusedTask()
240 final Activity firstActivity = launchActivityAndWait(FirstActivity.class); in testResumedTranslucentWhenRestartedFromInNonFocusedTask()
261 LifecycleVerifier.assertSequence(FirstActivity.class, getLifecycleLog(), in testResumedTranslucentWhenRestartedFromInNonFocusedTask()
365 .setTargetActivity(getComponentName(FirstActivity.class))); in testOnUserLeaveHint()
372 LifecycleVerifier.assertOrder(getLifecycleLog(), FirstActivity.class, in testOnUserLeaveHint()
DActivityStarterTests.java103 launchActivityAndWait(FirstActivity.class); in testClearTopNewTaskResetTask()
107 waitAndAssertActivityStates(state(FirstActivity.class, ON_STOP)); in testClearTopNewTaskResetTask()
112 final Activity secondLaunchActivity = new Launcher(FirstActivity.class) in testClearTopNewTaskResetTask()
DActivityLifecycleClientTestBase.java466 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.java70 launchActivity(FirstActivity.class, cb); // start activity with callback as intent extra in testPocCVE_2021_0339()
90 public static class FirstActivity extends Activity { class in CVE_2021_0339