/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerStateHelper.java | 22 import static android.server.wm.ComponentNameUtils.getActivityName; 224 }, "orientation of " + getActivityName(activityName) + " to be " + orientation); in waitForActivityOrientation() 233 "state of " + getActivityName(activityName) + " to be " + activityState); in waitForActivityState() 239 getActivityName(activityName) + " to be removed"); in waitForActivityRemoved() 258 getActivityName(activity) + " in pending list"); in waitForPendingActivityContain() 326 final String activityComponentName = getActivityName(activityName); in waitForFocusedActivity() 421 logAlways("Activity not visible: " + getActivityName(activityName)); 486 logAlways("ActivityRecord " + getActivityName(activityName) + " not visible yet"); 565 final String activityComponentName = getActivityName(activityName); 572 final String activityComponentName = getActivityName(activityName); [all …]
|
D | WaitForValidActivityState.java | 30 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 | 66 import static android.server.wm.ComponentNameUtils.getActivityName; 265 return getAmStartCmdInternal(getActivityName(activityName), extras); in getAmStartCmd() 285 return getAmStartCmdInternal(getActivityName(activityName), displayId, extras); in getAmStartCmd() 301 return "am start -n " + getActivityName(activityName) + " -f 0x18000000"; in getAmStartCmdInNewTask() 305 return "am start -n " + getActivityName(activityName) + " -d " + data; in getAmStartCmdWithData() 309 return "am start --activity-task-on-home -n " + getActivityName(activityName); in getAmStartCmdOverHome() 342 return getActivityName(componentName).equals(mWmState.getFocusedActivity()); in waitForActivityFocused() 1043 final String activityClassName = getActivityName(activityName); in waitAndAssertTopResumedActivity() 1994 getActivityName(activityName), 2448 b.putString(KEY_TARGET_COMPONENT, getActivityName(mTargetActivity)); [all …]
|
D | WindowManagerState.java | 26 import static android.server.wm.ComponentNameUtils.getActivityName; 732 final String fullName = getActivityName(activityName); in isBehindOpaqueActivities() 876 final String fullName = getActivityName(activityName); in getActivityCountInTask() 904 return mPendingActivities.contains(getActivityName(activityName)); in pendingActivityContain() 1419 final String fullName = getActivityName(activityName); in getActivity() 1424 final String fullName = getActivityName(activityName); in getActivity() 1645 final String fullName = getActivityName(activityName);
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AmStartOptionsTests.java | 22 import static android.server.wm.ComponentNameUtils.getActivityName; 51 executeShellCommand("am start -n " + getActivityName(TEST_ACTIVITY) + " -D"); in testDashD() 86 executeShellCommand("am start -W -f " + flags + " -n " + getActivityName(LAUNCHING_ACTIVITY) in testDashW_FinishingTop() 113 executeShellCommand("am start -n " + getActivityName(entryActivity) + " -W --display " in startActivityAndVerifyResult()
|
D | MultiDisplayActivityLaunchTests.java | 35 import static android.server.wm.ComponentNameUtils.getActivityName; 192 mBroadcastActionTrigger.launchActivityNewTask(getActivityName(TEST_ACTIVITY)); in testLaunchActivityFromSecondaryDisplay() 326 mBroadcastActionTrigger.launchActivityNewTask(getActivityName(NON_RESIZEABLE_ACTIVITY)); in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask() 358 getActivityName(NON_RESIZEABLE_ACTIVITY), in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask() 622 final String launchCommand = "am start -n " + getActivityName(LAUNCHING_ACTIVITY) in testMoveToDisplayOnLaunch() 665 final String launchCommand = "am start -n " + getActivityName(RESIZEABLE_ACTIVITY) in testMoveToEmptyDisplayOnLaunch() 696 getActivityName(LAUNCHING_ACTIVITY), in testLaunchSameAffinityLaunchesSameDisplay() 700 executeShellCommand("am start -n " + getActivityName(ALT_LAUNCHING_ACTIVITY)); in testLaunchSameAffinityLaunchesSameDisplay() 719 getActivityName(ALT_LAUNCHING_ACTIVITY), in testLaunchSameAffinityLaunchesSameDisplay() 750 mBroadcastActionTrigger.launchActivityNewTask(getActivityName(TEST_ACTIVITY)); in testTaskMatchOrderAcrossDisplays() [all …]
|
D | VrDisplayTests.java | 19 import static android.server.wm.ComponentNameUtils.getActivityName; 142 getActivityName(LAUNCHING_ACTIVITY), focusedStack.mResumedActivity); in testVrActivityLaunch() 192 getActivityName(LAUNCHING_ACTIVITY), focusedStack.mResumedActivity); in testVrActivityReLaunch() 241 getActivityName(ALT_LAUNCHING_ACTIVITY), in testActivityLaunchPostVr() 279 getActivityName(RESIZEABLE_ACTIVITY), frontStack.mResumedActivity); in testActivityLaunchPostVr()
|
D | AssistantStackTests.java | 25 import static android.server.wm.ComponentNameUtils.getActivityName; 161 extraString(EXTRA_ASSISTANT_LAUNCH_NEW_TASK, getActivityName(TEST_ACTIVITY)), in assertAssistantStackCanLaunchAndReturnFromNewTask() 212 getActivityName(ASSISTANT_ACTIVITY) + " finished"); in testAssistantStackFinishToPreviousApp() 275 extraString(EXTRA_ASSISTANT_LAUNCH_NEW_TASK, getActivityName(TEST_ACTIVITY))); in testTranslucentAssistantActivityStackVisibility() 429 super.set(getActivityName(assistantName)); in setVoiceInteractionService()
|
D | AmProfileTests.java | 19 import static android.server.wm.ComponentNameUtils.getActivityName; 158 getActivityName(activityName), OUTPUT_FILE_PATH)); in startActivityProfiling()
|
D | DisplayTests.java | 19 import static android.server.wm.ComponentNameUtils.getActivityName; 130 getActivityName(TEST_ACTIVITY), frontStack.mResumedActivity); in testMultiDisplayDisabled()
|
D | MultiDisplaySecurityTests.java | 20 import static android.server.wm.ComponentNameUtils.getActivityName; 490 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromShell() 509 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromAppOnSecondary() 543 getActivityName(LAUNCHING_ACTIVITY), frontStack.mResumedActivity); in testPermissionLaunchMultiUidTask()
|
D | PinnedStackTests.java | 28 import static android.server.wm.ComponentNameUtils.getActivityName; 528 extraString(EXTRA_START_ACTIVITY, getActivityName(NON_RESIZEABLE_ACTIVITY))); in testAutoEnterPictureInPictureLaunchActivity() 591 assertEquals(getActivityName(ALWAYS_FOCUSABLE_PIP_ACTIVITY), pinnedStack.mRealActivity); in testAutoEnterPictureInPictureOverPip() 1211 extraString(EXTRA_START_ACTIVITY, getActivityName(TEST_ACTIVITY)), in testLaunchTaskByAffinityMatchMultipleTasks() 1241 extraString(EXTRA_START_ACTIVITY, getActivityName(PIP_ACTIVITY)), in testLaunchTaskByAffinityMatchSingleTask() 1483 assertThat(getActivityName(activityName) + in assertValidPictureInPictureCallbackOrder() 1487 assertEquals(getActivityName(activityName) + " onMultiWindowModeChanged", in assertValidPictureInPictureCallbackOrder() 1490 assertEquals(getActivityName(activityName) + " onPictureInPictureModeChanged()", in assertValidPictureInPictureCallbackOrder()
|
D | WindowUntrustedTouchTest.java | 988 String activity = ComponentNameUtils.getActivityName(component); in addActivity() 1007 String name = ComponentNameUtils.getActivityName(component); in waitForNoActivityOverlays()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityStarterTests.java | 26 import static android.server.wm.ComponentNameUtils.getActivityName; 115 getActivityName(secondLaunchActivity.getComponentName()), in testClearTopNewTaskResetTask() 141 getActivityName(SECOND_STANDARD_ACTIVITY), in testLaunchStandardActivity() 297 getActivityName(SINGLE_TOP_ACTIVITY), in testLaunchSingleTopActivity() 337 getActivityName(SINGLE_INSTANCE_ACTIVITY), in testLaunchSingleInstanceActivity() 370 getActivityName(SINGLE_TASK_ACTIVITY), in testLaunchSingleTaskActivity() 462 getActivityName(STANDARD_ACTIVITY), in testLaunchActivityWithFlagNewTaskAndClearTask() 501 getActivityName(STANDARD_ACTIVITY), in testLaunchActivityWithFlagClearTop() 572 getActivityName(STANDARD_SINGLE_TOP_ACTIVITY), in testLaunchActivityWithFlagSingleTop() 607 getActivityName(STANDARD_ACTIVITY), in testActivityWithFlagMultipleTaskAndNewTask() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | CtsAugmentedAutofillService.java | 20 import static android.autofillservice.cts.testcore.AugmentedHelper.getActivityName; 258 return "AugmentedFillRequest[activity=" + getActivityName(request) + ", request=" in toString() 381 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 178 new StringBuilder("FillRequest[act=").append(getActivityName(request)) in toString()
|
D | InstrumentedAutoFillService.java | 23 import static android.autofillservice.cts.testcore.Helper.getActivityName; 405 return "FillRequest[activity=" + getActivityName(contexts) + ", flags=" + flags in toString() 437 return "SaveRequest:" + getActivityName(contexts); in toString() 651 final String activityName = getActivityName(contexts); in onFillRequest()
|
D | Helper.java | 1282 public static String getActivityName(List<FillContext> contexts) { in getActivityName() method in Helper
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | VirtualDisplayActivity.java | 26 import static android.server.wm.ComponentNameUtils.getActivityName; 247 extras.putString(KEY_TARGET_COMPONENT, getActivityName(activityName)); in launchActivity()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appstart/ |
D | AppStartStatsTests.java | 94 assertThat(atom.getActivityName()) in testAppStartOccurred()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityLaunchTest.java | 170 ComponentNameUtils.getActivityName(APP_A_BACKGROUND_ACTIVITY), in testStartBgActivity_usingStartActivitiesFromBackgroundPermission()
|