Searched refs:SINGLE_TOP_ACTIVITY (Results 1 – 3 of 3) sorted by relevance
71 private static final ComponentName SINGLE_TOP_ACTIVITY field in ActivityStarterTests287 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 …]
48 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()
133 public static final ComponentName SINGLE_TOP_ACTIVITY = component("SingleTopActivity"); field in Components