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/lifecycle/
DActivityStarterTests.java71 private static final ComponentName SINGLE_TOP_ACTIVITY field in ActivityStarterTests
287 launchActivity(SINGLE_TOP_ACTIVITY); in testLaunchSingleTopActivity()
292 mWmState.assertFocusedActivity(SINGLE_TOP_ACTIVITY + "must be focused Activity", in testLaunchSingleTopActivity()
293 SINGLE_TOP_ACTIVITY); in testLaunchSingleTopActivity()
297 getActivityName(SINGLE_TOP_ACTIVITY), in testLaunchSingleTopActivity()
302 mWmState.getTaskByActivity(SINGLE_TOP_ACTIVITY).getTaskId()); in testLaunchSingleTopActivity()
305 launchActivity(SINGLE_TOP_ACTIVITY); in testLaunchSingleTopActivity()
518 .setTargetActivity(SINGLE_TOP_ACTIVITY) in testLaunchActivityWithFlagPreviousIsTop()
522 SINGLE_TOP_ACTIVITY).getTaskId(); in testLaunchActivityWithFlagPreviousIsTop()
526 .setTargetActivity(SINGLE_TOP_ACTIVITY) in testLaunchActivityWithFlagPreviousIsTop()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayActivityLaunchTests.java48 import static android.server.wm.app.Components.SINGLE_TOP_ACTIVITY;
983 launchActivity(SINGLE_TOP_ACTIVITY); in testLaunchActivitySingleTopOnNewDisplay()
984 waitAndAssertTopResumedActivity(SINGLE_TOP_ACTIVITY, DEFAULT_DISPLAY, in testLaunchActivitySingleTopOnNewDisplay()
986 final int taskId = mWmState.getTaskByActivity(SINGLE_TOP_ACTIVITY).getTaskId(); in testLaunchActivitySingleTopOnNewDisplay()
996 .setTargetActivity(SINGLE_TOP_ACTIVITY) in testLaunchActivitySingleTopOnNewDisplay()
1000 waitAndAssertTopResumedActivity(SINGLE_TOP_ACTIVITY, newDisplay.mId, in testLaunchActivitySingleTopOnNewDisplay()
1003 final int taskId2 = mWmState.getTaskByActivity(SINGLE_TOP_ACTIVITY).getTaskId(); in testLaunchActivitySingleTopOnNewDisplay()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java133 public static final ComponentName SINGLE_TOP_ACTIVITY = component("SingleTopActivity"); field in Components