Home
last modified time | relevance | path

Searched refs:SecondActivity (Results 1 – 22 of 22) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityTests.java74 final Activity secondActivity = launchActivityAndWait(SecondActivity.class); in testReleaseActivityInstance_invisible()
83 assertEmptySequence(SecondActivity.class, getTransitionLog(), in testReleaseActivityInstance_invisible()
156 final Class<? extends Activity> midActivityClass = SecondActivity.class; in testFinishTask_NotFromRoot()
212 final Activity topActivity = launchActivityAndWait(SecondActivity.class); in testFinishAfterTransition_noTransition()
217 waitAndAssertActivityStates(state(SecondActivity.class, ON_DESTROY)); in testFinishAfterTransition_noTransition()
218 assertSequence(SecondActivity.class, getTransitionLog(), in testFinishAfterTransition_noTransition()
229 final Activity secondActivity = launchActivityAndWait(SecondActivity.class); in testFinishAffinity()
237 state(SecondActivity.class, ON_DESTROY)); in testFinishAffinity()
277 final Activity secondActivity = new Launcher(SecondActivity.class) in testFinishAffinity_multiTask()
286 waitAndAssertActivityStates(state(SecondActivity.class, ON_DESTROY), in testFinishAffinity_multiTask()
DActivityLifecycleFreeformTests.java106 new Launcher(SecondActivity.class) in testMultiLaunchInFreeform()
119 waitAndAssertActivityState(getComponentName(SecondActivity.class), STATE_RESUMED, message); in testMultiLaunchInFreeform()
124 TransitionVerifier.assertLaunchSequence(SecondActivity.class, getTransitionLog()); in testMultiLaunchInFreeform()
143 final Activity secondActivity = launchActivityAndWait(SecondActivity.class); in testLaunchOccludingInFreeform()
155 waitAndAssertActivityState(getComponentName(SecondActivity.class), STATE_RESUMED, message); in testLaunchOccludingInFreeform()
160 TransitionVerifier.assertLaunchSequence(SecondActivity.class, getTransitionLog()); in testLaunchOccludingInFreeform()
169 mWmState.waitForActivityRemoved(getComponentName(SecondActivity.class)); in testLaunchOccludingInFreeform()
174 mWmState.containsActivity(getComponentName(SecondActivity.class))); in testLaunchOccludingInFreeform()
177 getWindowName(getComponentName(SecondActivity.class)))); in testLaunchOccludingInFreeform()
179 assertResumeToDestroySequence(SecondActivity.class, getTransitionLog()); in testLaunchOccludingInFreeform()
DActivityLifecycleLegacySplitScreenTests.java85 final Activity secondActivity = launchActivityAndWait(SecondActivity.class); in testResumedWhenRecreatedFromInNonFocusedTask()
171 .addMonitor(SecondActivity.class.getName(), null /* activityResult */, in testResultInNonFocusedTask()
175 new Intent(callbackTrackingActivity, SecondActivity.class), 1 /* requestCode */); in testResultInNonFocusedTask()
222 final Activity secondActivity = launchActivityAndWait(SecondActivity.class); in testResumedWhenRestartedFromInNonFocusedTask()
237 assertResumeToDestroySequence(SecondActivity.class, getTransitionLog()); in testResumedWhenRestartedFromInNonFocusedTask()
276 final Activity sideActivity = launchActivityAndWait(SecondActivity.class); in testLifecycleOnMoveToFromSplitScreenRelaunch()
329 setTargetActivity(getComponentName(SecondActivity.class))); in testLifecycleOnMoveToFromSplitScreenNoRelaunch()
380 launchActivityAndWait(SecondActivity.class); in testOnUserLeaveHint()
DActivityLifecyclePipTests.java247 new Launcher(SecondActivity.class) in testSplitScreenBelowPip()
251 TransitionVerifier.assertLaunchSequence(SecondActivity.class, getTransitionLog()); in testSplitScreenBelowPip()
273 final Activity secondActivity = new Launcher(SecondActivity.class) in testPipAboveSplitScreen()
296 assertSequenceMatchesOneOf(SecondActivity.class, in testPipAboveSplitScreen()
DActivityLifecycleTests.java119 launchActivityAndWait(SecondActivity.class); in testLaunchOnTop()
122 assertLaunchSequence(SecondActivity.class, FirstActivity.class, in testLaunchOnTop()
241 final Activity secondActivity = launchActivityAndWait(SecondActivity.class); in testDestroyOnTopOfTranslucent()
256 assertResumeToDestroySequence(SecondActivity.class, getTransitionLog()); in testDestroyOnTopOfTranslucent()
307 final Activity topActivity = launchActivityAndWait(SecondActivity.class); in testFinishBottom()
319 assertEmptySequence(SecondActivity.class, getTransitionLog(), in testFinishBottom()
495 launchActivityAndWait(SecondActivity.class); in testRelaunchStopped()
521 new Launcher(SecondActivity.class).setOptions(options).launch(); in testRelaunchConfigurationChangedWhileBecomingVisible()
552 assertRelaunchSequence(SecondActivity.class, getTransitionLog(), ON_RESUME); in testRelaunchConfigurationChangedWhileBecomingVisible()
698 final Activity secondActivity = launchActivityAndWait(SecondActivity.class); in testOnPostCreateAfterRecreateInOnStop()
[all …]
DActivityLifecycleTopResumedStateTests.java1049 final Activity bottomActivity = launchActivityAndWait(SecondActivity.class); in testFinishOnDifferentDisplay_nonFocused()
1095 final Activity bottomActivity = launchActivityAndWait(SecondActivity.class); in testFinishOnDifferentDisplay_focused()
1131 state(SecondActivity.class, ON_RESUME)); in testFinishOnDifferentDisplay_focused()
DActivityLifecycleClientTestBase.java351 public static class SecondActivity extends LifecycleTrackingActivity { class in ActivityLifecycleClientTestBase
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DSecondActivity.java35 public class SecondActivity extends AbstractAutoFillActivity { class
37 private static SecondActivity sInstance;
43 public SecondActivity() { in SecondActivity() method in SecondActivity
DViewActionActivity.java107 final Intent intent = new Intent(this, SecondActivity.class) in startSecondActivity()
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DDeviceAssociationTest.java45 import android.virtualdevice.cts.applaunch.AppComponents.SecondActivity;
246 mRule.startActivityOnDisplaySync(mVirtualDisplay, SecondActivity.class); in applicationContext_lastActivityOnVirtualDevice_returnsVirtualDeviceId()
268 mRule.startActivityOnDisplaySync(mVirtualDisplay, SecondActivity.class); in applicationContext_recreateFirstActivity_returnsDeviceOfLastCreatedActivity()
292 Activity activity = mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, SecondActivity.class); in applicationContext_activityOnDefaultDeviceDestroyed_returnsVirtual()
303 mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, SecondActivity.class); in applicationContext_lastActivityOnDefaultDevice_returnsDefault()
325 mRule.startActivityOnDisplaySync(virtualDisplay2, SecondActivity.class); in applicationContext_twoVirtualDevices_returnsIdOfLatest()
328 mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, SecondActivity.class); in applicationContext_twoVirtualDevices_returnsIdOfLatest()
337 mRule.startActivityOnDisplaySync(mVirtualDisplay, SecondActivity.class); in serviceContext_lastActivityOnVirtualDevice_returnsVirtualDeviceId()
347 mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, SecondActivity.class); in serviceContext_lastActivityOnDefaultDevice_returnsDefault()
356 mRule.startActivityOnDisplaySync(mVirtualDisplay, SecondActivity.class); in serviceContext_startServiceAfterActivity_hasDeviceIdOfTopActivity()
[all …]
DAppComponents.java38 public static class SecondActivity extends Activity {} class in AppComponents
DActivityManagementTest.java41 import android.virtualdevice.cts.applaunch.AppComponents.SecondActivity;
79 new ComponentName(mContext, SecondActivity.class);
/cts/tests/framework/base/windowmanager/appSecondUid/src/android/server/wm/second/
DSecondActivity.java19 import static android.server.wm.second.Components.SecondActivity.EXTRA_DISPLAY_ACCESS_CHECK;
26 public class SecondActivity extends CommandSession.BasicTestActivity { class
DComponents.java35 public static class SecondActivity { class in Components
/cts/hostsidetests/packagemanager/dynamicmime/common/src/android/dynamicmime/common/activity/
DSecondActivity.java20 public class SecondActivity extends Activity { class
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0642/
DSecondActivity.java21 public class SecondActivity extends Activity { class
/cts/tests/framework/base/windowmanager/jetpack/SecondApp/src/android/server/wm/jetpack/second/
DSecondActivity.java24 public class SecondActivity extends Activity { class
DSecondActivityAllowsUntrustedEmbedding.java93 startActivity(new Intent(this, SecondActivity.class)); in handleNewIntent()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_0339.java106 Intent intent = new Intent(this, SecondActivity.class); in onEnterAnimationComplete()
135 public static class SecondActivity extends Activity{ class in CVE_2021_0339
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackGestureInvokedTest.java129 final ComponentName componentName = new ComponentName(mContext, SecondActivity.class); in testBackToActivity()
218 public static class SecondActivity extends Activity { class in BackGestureInvokedTest
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DSimpleSaveActivityTest.java45 import android.autofillservice.cts.activities.SecondActivity;
1881 SecondActivity.assertShowingDefaultMessage(mUiBot); in saveUiRestoredAfterTappingSpanTest()
1907 SecondActivity.finishIt(); in saveUiRestoredAfterTappingSpanTest()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplaySecurityTests.java39 import static android.server.wm.second.Components.SecondActivity.EXTRA_DISPLAY_ACCESS_CHECK;