/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayActivityLaunchTests.java | 28 import static android.server.wm.ComponentNameUtils.getActivityName; 171 mBroadcastActionTrigger.launchActivityNewTask(getActivityName(TEST_ACTIVITY)); in testLaunchActivityFromSecondaryDisplay() 290 mBroadcastActionTrigger.launchActivityNewTask(getActivityName(NON_RESIZEABLE_ACTIVITY)); in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask() 324 getActivityName(NON_RESIZEABLE_ACTIVITY), in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask() 559 final String launchCommand = "am start -n " + getActivityName(LAUNCHING_ACTIVITY) in testMoveToDisplayOnLaunch() 604 final String launchCommand = "am start -n " + getActivityName(RESIZEABLE_ACTIVITY) in testMoveToEmptyDisplayOnLaunch() 637 getActivityName(LAUNCHING_ACTIVITY), firstFrontStack.mResumedActivity); in testTaskMatchAcrossDisplays() 641 executeShellCommand("am start -n " + getActivityName(ALT_LAUNCHING_ACTIVITY)); in testTaskMatchAcrossDisplays() 651 getActivityName(ALT_LAUNCHING_ACTIVITY), in testTaskMatchAcrossDisplays() 656 executeShellCommand("am start -n " + getActivityName(LAUNCHING_ACTIVITY)); in testTaskMatchAcrossDisplays() [all …]
|
D | AmStartOptionsTests.java | 22 import static android.server.wm.ComponentNameUtils.getActivityName; 54 executeShellCommand("am start -n " + getActivityName(TEST_ACTIVITY) + " -D"); in testDashD() 90 executeShellCommand("am start -W -f " + flags + " -n " + getActivityName(LAUNCHING_ACTIVITY) in testDashW_FinishingTop() 117 executeShellCommand("am start -n " + getActivityName(entryActivity) + " -W --display " in startActivityAndVerifyResult()
|
D | VrDisplayTests.java | 19 import static android.server.wm.ComponentNameUtils.getActivityName; 138 getActivityName(LAUNCHING_ACTIVITY), focusedStack.mResumedActivity); in testVrActivityLaunch() 188 getActivityName(LAUNCHING_ACTIVITY), focusedStack.mResumedActivity); in testVrActivityReLaunch() 238 getActivityName(ALT_LAUNCHING_ACTIVITY), in testActivityLaunchPostVr() 276 getActivityName(RESIZEABLE_ACTIVITY), frontStack.mResumedActivity); in testActivityLaunchPostVr()
|
D | AssistantStackTests.java | 27 import static android.server.wm.ComponentNameUtils.getActivityName; 169 EXTRA_ASSISTANT_LAUNCH_NEW_TASK, getActivityName(TEST_ACTIVITY), in assertAssistantStackCanLaunchAndReturnFromNewTask() 203 "Waiting for " + getActivityName(ASSISTANT_ACTIVITY) + " finished"); in testAssistantStackFinishToPreviousApp() 267 EXTRA_ASSISTANT_LAUNCH_NEW_TASK, getActivityName(TEST_ACTIVITY)); in testTranslucentAssistantActivityStackVisibility() 409 super.set(getActivityName(assistantName)); in setVoiceInteractionService()
|
D | AmProfileTests.java | 19 import static android.server.wm.ComponentNameUtils.getActivityName; 132 getActivityName(activityName), OUTPUT_FILE_PATH)); in getStartCmd()
|
D | DisplaySizeTest.java | 20 import static android.server.wm.ComponentNameUtils.getActivityName; 101 EXTRA_LAUNCH_ANOTHER_ACTIVITY, getActivityName(TEST_ACTIVITY)); in testCompatibilityDialogAfterReturn()
|
D | DisplayTests.java | 19 import static android.server.wm.ComponentNameUtils.getActivityName; 120 getActivityName(TEST_ACTIVITY), frontStack.mResumedActivity); in testMultiDisplayDisabled()
|
D | MultiDisplaySecurityTests.java | 19 import static android.server.wm.ComponentNameUtils.getActivityName; 540 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromShell() 564 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromAppOnSecondary() 600 getActivityName(LAUNCHING_ACTIVITY), in testPermissionLaunchMultiUidTask() 634 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromOwner()
|
D | PinnedStackTests.java | 28 import static android.server.wm.ComponentNameUtils.getActivityName; 496 EXTRA_START_ACTIVITY, getActivityName(NON_RESIZEABLE_ACTIVITY)); in testAutoEnterPictureInPictureLaunchActivity() 558 assertEquals(getActivityName(ALWAYS_FOCUSABLE_PIP_ACTIVITY), in testAutoEnterPictureInPictureOverPip() 1106 EXTRA_START_ACTIVITY, getActivityName(TEST_ACTIVITY), in testLaunchTaskByAffinityMatchMultipleTasks() 1135 EXTRA_START_ACTIVITY, getActivityName(PIP_ACTIVITY), in testLaunchTaskByAffinityMatchSingleTask() 1383 assertEquals(getActivityName(activityName) + " onConfigurationChanged()", in assertValidPictureInPictureCallbackOrder() 1385 assertEquals(getActivityName(activityName) + " onPictureInPictureModeChanged()", in assertValidPictureInPictureCallbackOrder() 1387 assertEquals(getActivityName(activityName) + " onMultiWindowModeChanged", in assertValidPictureInPictureCallbackOrder()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityStarterTests.java | 27 import static android.server.wm.ComponentNameUtils.getActivityName; 92 getActivityName(secondLaunchActivity.getComponentName()), in testClearTopNewTaskResetTask() 118 getActivityName(SECOND_STANDARD_ACTIVITY), in testLaunchStandardActivity() 151 getActivityName(SINGLE_TOP_ACTIVITY), in testLaunchSingleTopActivity() 191 getActivityName(SINGLE_INSTANCE_ACTIVITY), in testLaunchSingleInstanceActivity() 224 getActivityName(SINGLE_TASK_ACTIVITY), in testLaunchSingleTaskActivity() 311 getActivityName(STANDARD_ACTIVITY), in testLaunchActivityWithFlagNewTaskAndClearTask() 349 getActivityName(STANDARD_ACTIVITY), in testLaunchActivityWithFlagClearTop() 421 getActivityName(STANDARD_SINGLE_TOP_ACTIVITY), in testLaunchActivityWithFlagSingleTop() 456 getActivityName(STANDARD_ACTIVITY), in testActivityWithFlagMultipleTaskAndNewTask()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerState.java | 25 import static android.server.wm.ComponentNameUtils.getActivityName; 354 final String fullName = getActivityName(activityName); in getStackIndexByActivity() 397 final String fullName = getActivityName(activityName); in containsActivity() 412 String fullName = getActivityName(activityName); in containsNoneOf() 429 final String fullName = getActivityName(activityName); in containsActivityInWindowingMode() 444 final String fullName = getActivityName(activityName); in isActivityVisible() 458 final String fullName = getActivityName(activityName); in isActivityTranslucent() 472 final String fullName = getActivityName(activityName); in isBehindOpaqueActivities() 504 final String fullName = getActivityName(activityName); in hasActivityState() 518 final String fullName = getActivityName(activityName); in getActivityProcId() [all …]
|
D | ActivityAndWindowManagersState.java | 26 import static android.server.wm.ComponentNameUtils.getActivityName; 455 logAlways("Activity not visible: " + getActivityName(activityName)); in shouldWaitForActivities() 521 logAlways("ActivityRecord " + getActivityName(activityName) + " not visible yet"); in shouldWaitForActivityRecords() 611 final String activityComponentName = getActivityName(activityName); in assertFocusedActivity() 618 final String activityComponentName = getActivityName(activityName); in assertFocusedAppOnDisplay() 623 assertNotEquals(msg, mAmState.getFocusedActivity(), getActivityName(activityName)); in assertNotFocusedActivity() 624 assertNotEquals(msg, mWmState.getFocusedApp(), getActivityName(activityName)); in assertNotFocusedActivity() 628 assertEquals(msg, getActivityName(activityName), in assertResumedActivity() 639 activityComponent != null ? getActivityName(activityComponent) : null, in assertResumedActivities() 645 assertNotEquals(msg, mAmState.getFocusedActivity(), getActivityName(activityName)); in assertNotResumedActivity() [all …]
|
D | WaitForValidActivityState.java | 31 import static android.server.wm.ComponentNameUtils.getActivityName; 70 sb.append(" activity=").append(getActivityName(activityName)); in toString()
|
D | ComponentNameUtils.java | 29 public static String getActivityName(ComponentName componentName) { in getActivityName() method in ComponentNameUtils
|
D | ActivityManagerTestBase.java | 62 import static android.server.wm.ComponentNameUtils.getActivityName; 238 return getAmStartCmdInternal(getActivityName(activityName), keyValuePairs); in getAmStartCmd() 266 return getAmStartCmdInternal(getActivityName(activityName), displayId, keyValuePair); in getAmStartCmd() 282 return "am start -n " + getActivityName(activityName) + " -f 0x18000000"; in getAmStartCmdInNewTask() 286 return "am start --activity-task-on-home -n " + getActivityName(activityName); in getAmStartCmdOverHome() 867 final String activityClassName = getActivityName(activityName); in waitAndAssertTopResumedActivity() 1595 getActivityName(activityName), 1669 logE("***Waiting for activity size failed: activityName=" + getActivityName(activityName)); 2000 b.putString(KEY_TARGET_COMPONENT, getActivityName(mTargetActivity)); 2059 .append(getActivityName(mTargetActivity));
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | WaitForValidActivityState.java | 31 import static android.server.am.ComponentNameUtils.getActivityName; 70 sb.append(" activity=").append(getActivityName(activityName)); in toString()
|
D | ComponentNameUtils.java | 29 public static String getActivityName(ComponentName componentName) { in getActivityName() method in ComponentNameUtils
|
D | ActivityAndWindowManagersState.java | 26 import static android.server.am.ComponentNameUtils.getActivityName; 249 logAlways("Activity not visible: " + getActivityName(activityName)); in shouldWaitForActivities() 344 assertEquals("Activity=" + getActivityName(activityName) + " must" + (visible ? "" : " NOT") in assertVisibility()
|
D | ActivityManagerTestBase.java | 23 import static android.server.am.ComponentNameUtils.getActivityName; 91 return getAmStartCmdInternal(getActivityName(activityName), keyValuePairs); in getAmStartCmd()
|
D | ActivityManagerState.java | 20 import static android.server.am.ComponentNameUtils.getActivityName; 206 final String fullName = getActivityName(activityName); in isActivityVisible()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | VirtualDisplayActivity.java | 25 import static android.server.wm.ComponentNameUtils.getActivityName; 222 + getActivityName(targetActivity) + ", displayId=" + displayId); in surfaceCreated() 256 extras.putString(KEY_TARGET_COMPONENT, getActivityName(activityName)); in launchActivity()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | CtsAugmentedAutofillService.java | 20 import static android.autofillservice.cts.augmented.AugmentedHelper.getActivityName; 235 return "AugmentedFillRequest[activity=" + getActivityName(request) + ", request=" in toString() 358 Log.w(TAG, "onFillRequest() for " + getActivityName(request) in handleOnFillRequest()
|
D | AugmentedHelper.java | 53 public static String getActivityName(@Nullable FillRequest request) { in getActivityName() method in AugmentedHelper 153 new StringBuilder("FillRequest[act=").append(getActivityName(request)) in toString()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | InstrumentedAutoFillService.java | 23 import static android.autofillservice.cts.Helper.getActivityName; 378 return "FillRequest[activity=" + getActivityName(contexts) + ", flags=" + flags in toString() 410 return "SaveRequest:" + getActivityName(contexts); in toString() 617 final String activityName = getActivityName(contexts); in onFillRequest()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityLaunchTest.java | 23 import static android.server.wm.ComponentNameUtils.getActivityName; 496 return getActivityName(componentName).equals(mAmWmState.getAmState().getFocusedActivity()); in waitForActivityFocused()
|