Home
last modified time | relevance | path

Searched refs:SINGLE_TOP_ACTIVITY (Results 1 – 3 of 3) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityStarterTests.java71 private static final ComponentName SINGLE_TOP_ACTIVITY field in ActivityStarterTests
290 launchActivity(SINGLE_TOP_ACTIVITY); in testLaunchSingleTopActivity()
295 mWmState.assertFocusedActivity(SINGLE_TOP_ACTIVITY + "must be focused Activity", in testLaunchSingleTopActivity()
296 SINGLE_TOP_ACTIVITY); in testLaunchSingleTopActivity()
300 getActivityName(SINGLE_TOP_ACTIVITY), in testLaunchSingleTopActivity()
305 mWmState.getTaskByActivity(SINGLE_TOP_ACTIVITY).getTaskId()); in testLaunchSingleTopActivity()
308 launchActivity(SINGLE_TOP_ACTIVITY); in testLaunchSingleTopActivity()
521 .setTargetActivity(SINGLE_TOP_ACTIVITY) in testLaunchActivityWithFlagPreviousIsTop()
525 SINGLE_TOP_ACTIVITY).getTaskId(); in testLaunchActivityWithFlagPreviousIsTop()
529 .setTargetActivity(SINGLE_TOP_ACTIVITY) in testLaunchActivityWithFlagPreviousIsTop()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayActivityLaunchTests.java50 import static android.server.wm.app.Components.SINGLE_TOP_ACTIVITY;
1005 launchActivity(SINGLE_TOP_ACTIVITY); in testLaunchActivitySingleTopOnNewDisplay()
1006 waitAndAssertTopResumedActivity(SINGLE_TOP_ACTIVITY, DEFAULT_DISPLAY, in testLaunchActivitySingleTopOnNewDisplay()
1008 final int taskId = mWmState.getTaskByActivity(SINGLE_TOP_ACTIVITY).getTaskId(); in testLaunchActivitySingleTopOnNewDisplay()
1019 .setTargetActivity(SINGLE_TOP_ACTIVITY) in testLaunchActivitySingleTopOnNewDisplay()
1023 waitAndAssertTopResumedActivity(SINGLE_TOP_ACTIVITY, newDisplay.mId, in testLaunchActivitySingleTopOnNewDisplay()
1026 final int taskId2 = mWmState.getTaskByActivity(SINGLE_TOP_ACTIVITY).getTaskId(); in testLaunchActivitySingleTopOnNewDisplay()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java139 public static final ComponentName SINGLE_TOP_ACTIVITY = component("SingleTopActivity"); field in Components