Home
last modified time | relevance | path

Searched refs:getActivityName (Results 1 – 23 of 23) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/am/
DAmStartOptionsTests.java22 import static android.server.wm.ComponentNameUtils.getActivityName;
52 executeShellCommand("am start -n " + getActivityName(TEST_ACTIVITY) + " -D"); in testDashD()
83 executeShellCommand("am start -W -f " + flags + " -n " + getActivityName(LAUNCHING_ACTIVITY) in testDashW_FinishingTop()
110 executeShellCommand("am start -n " + getActivityName(entryActivity) + " -W --display " in startActivityAndVerifyResult()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerStateHelper.java23 import static android.server.wm.ComponentNameUtils.getActivityName;
273 }, "orientation of " + getActivityName(activityName) + " to be " + configOrientation); in waitForActivityOrientation()
282 "state of " + getActivityName(activityName) + " to be " + activityState); in waitForActivityState()
292 getActivityName(activityName) + " to be removed"); in waitForActivityRemoved()
311 getActivityName(activity) + " in pending list"); in waitForPendingActivityContain()
394 final String activityComponentName = getActivityName(activityName);
508 logAlways("Activity not visible: " + getActivityName(activityName));
573 logAlways("ActivityRecord " + getActivityName(activityName) + " not visible yet");
652 final String activityComponentName = getActivityName(activityName);
658 final String activityComponentName = getActivityName(activityName);
[all …]
DComponentNameUtils.java29 public static String getActivityName(ComponentName componentName) { in getActivityName() method in ComponentNameUtils
DWaitForValidActivityState.java30 import static android.server.wm.ComponentNameUtils.getActivityName;
70 sb.append(" activity=").append(getActivityName(activityName)); in toString()
DActivityManagerTestBase.java77 import static android.server.wm.ComponentNameUtils.getActivityName;
310 return getAmStartCmdInternal(getActivityName(activityName), extras); in getAmStartCmd()
330 return getAmStartCmdInternal(getActivityName(activityName), displayId, extras); in getAmStartCmd()
346 return "am start -n " + getActivityName(activityName) + " -f 0x18000000"; in getAmStartCmdInNewTask()
350 return "am start -n " + getActivityName(activityName) + " -d " + data; in getAmStartCmdWithData()
357 .append(getActivityName(activityName)) in getAmStartCmdWithNoAnimation()
365 return "am start --dismiss-keyguard-if-insecure -n " + getActivityName(activityName); in getAmStartCmdWithDismissKeyguardIfInsecure()
372 .append(getActivityName(activityName)) in getAmStartCmdWithNoUserAction()
404 return getActivityName(componentName).equals(mWmState.getFocusedActivity()); in waitForActivityFocused()
1287 final String activityClassName = getActivityName(activityName); in waitAndAssertTopResumedActivity()
[all …]
DWindowManagerState.java25 import static android.server.wm.ComponentNameUtils.getActivityName;
791 final String fullName = getActivityName(activityName); in isBehindOpaqueActivities()
944 final String fullName = getActivityName(activityName); in getActivityCountInTask()
979 return mPendingActivities.contains(getActivityName(activityName)); in pendingActivityContain()
1641 final String fullName = getActivityName(activityName); in getActivity()
1646 final String fullName = getActivityName(activityName); in getActivity()
2103 final String fullName = getActivityName(activityName);
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayActivityLaunchTests.java36 import static android.server.wm.ComponentNameUtils.getActivityName;
196 mBroadcastActionTrigger.launchActivityNewTask(getActivityName(TEST_ACTIVITY)); in testLaunchActivityFromSecondaryDisplay()
333 mBroadcastActionTrigger.launchActivityNewTask(getActivityName(NON_RESIZEABLE_ACTIVITY)); in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask()
365 getActivityName(NON_RESIZEABLE_ACTIVITY), in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
629 final String launchCommand = "am start -n " + getActivityName(LAUNCHING_ACTIVITY) in testMoveToDisplayOnLaunch()
673 final String launchCommand = "am start -n " + getActivityName(RESIZEABLE_ACTIVITY) in testMoveToEmptyDisplayOnLaunch()
705 getActivityName(LAUNCHING_ACTIVITY), in testLaunchSameAffinityLaunchesSameDisplay()
710 executeShellCommand("am start -n " + getActivityName(ALT_LAUNCHING_ACTIVITY)); in testLaunchSameAffinityLaunchesSameDisplay()
728 getActivityName(ALT_LAUNCHING_ACTIVITY), in testLaunchSameAffinityLaunchesSameDisplay()
763 mBroadcastActionTrigger.launchActivityNewTask(getActivityName(TEST_ACTIVITY)); in testTaskMatchOrderAcrossDisplays()
[all …]
DMultiDisplaySecurityTests.java19 import static android.server.wm.ComponentNameUtils.getActivityName;
489 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromShell()
508 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromAppOnSecondary()
543 getActivityName(LAUNCHING_ACTIVITY), in testPermissionLaunchMultiUidTask()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DVrDisplayTests.java19 import static android.server.wm.ComponentNameUtils.getActivityName;
143 getActivityName(LAUNCHING_ACTIVITY), focusedTask.getResumedActivity()); in testVrActivityLaunch()
194 getActivityName(LAUNCHING_ACTIVITY), in testVrActivityReLaunch()
243 getActivityName(ALT_LAUNCHING_ACTIVITY), in testActivityLaunchPostVr()
282 getActivityName(RESIZEABLE_ACTIVITY), in testActivityLaunchPostVr()
DDisplayTests.java19 import static android.server.wm.ComponentNameUtils.getActivityName;
135 getActivityName(TEST_ACTIVITY), in testMultiDisplayDisabled()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityStarterTests.java29 import static android.server.wm.ComponentNameUtils.getActivityName;
116 getActivityName(secondLaunchActivity.getComponentName()), in testClearTopNewTaskResetTask()
142 getActivityName(SECOND_STANDARD_ACTIVITY), in testLaunchStandardActivity()
300 getActivityName(SINGLE_TOP_ACTIVITY), in testLaunchSingleTopActivity()
340 getActivityName(SINGLE_INSTANCE_ACTIVITY), in testLaunchSingleInstanceActivity()
373 getActivityName(SINGLE_TASK_ACTIVITY), in testLaunchSingleTaskActivity()
465 getActivityName(STANDARD_ACTIVITY), in testLaunchActivityWithFlagNewTaskAndClearTask()
504 getActivityName(STANDARD_ACTIVITY), in testLaunchActivityWithFlagClearTop()
575 getActivityName(STANDARD_SINGLE_TOP_ACTIVITY), in testLaunchActivityWithFlagSingleTop()
610 getActivityName(STANDARD_ACTIVITY), in testActivityWithFlagMultipleTaskAndNewTask()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DAssistantStackTests.java25 import static android.server.wm.ComponentNameUtils.getActivityName;
163 extraString(EXTRA_ASSISTANT_LAUNCH_NEW_TASK, getActivityName(TEST_ACTIVITY)), in assertAssistantStackCanLaunchAndReturnFromNewTask()
213 getActivityName(ASSISTANT_ACTIVITY) + " finished"); in testAssistantStackFinishToPreviousApp()
276 extraString(EXTRA_ASSISTANT_LAUNCH_NEW_TASK, getActivityName(TEST_ACTIVITY))); in testTranslucentAssistantActivityStackVisibility()
466 super.set(getActivityName(assistantName)); in setVoiceInteractionService()
DAmProfileTests.java19 import static android.server.wm.ComponentNameUtils.getActivityName;
161 getActivityName(activityName), OUTPUT_FILE_PATH)); in startActivityProfiling()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCtsAugmentedAutofillService.java20 import static android.autofillservice.cts.testcore.AugmentedHelper.getActivityName;
231 return "AugmentedFillRequest[activity=" + getActivityName(request) + ", request=" in toString()
354 Log.w(TAG, "onFillRequest() for " + getActivityName(request) in handleOnFillRequest()
DAugmentedHelper.java56 public static String getActivityName(@Nullable FillRequest request) { in getActivityName() method in AugmentedHelper
193 new StringBuilder("FillRequest[act=").append(getActivityName(request)) in toString()
DInstrumentedAutoFillService.java23 import static android.autofillservice.cts.testcore.Helper.getActivityName;
417 return "FillRequest[activity=" + getActivityName(contexts) + ", flags=" + flags in toString()
449 return "SaveRequest:" + getActivityName(contexts); in toString()
712 final String activityName = getActivityName(contexts); in onFillRequest()
DHelper.java1388 public static String getActivityName(List<FillContext> contexts) { in getActivityName() method in Helper
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appstart/
DAppStartStatsTests.java139 assertThat(atom.getActivityName()) in runTestAppStartOccurredCommon()
149 assertThat(fullyDrawnAtom.getActivityName()) in runTestAppStartOccurredCommon()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java26 import static android.server.wm.ComponentNameUtils.getActivityName;
253 extras.putString(KEY_TARGET_COMPONENT, getActivityName(activityName)); in launchActivity()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityTestBase.java22 import static android.server.wm.ComponentNameUtils.getActivityName;
441 getActivityName(componentName)); in assertActivityFocused()
449 .isNotEqualTo(getActivityName(componentName)); in assertActivityNotFocused()
DBackgroundActivityLaunchTest.java182 .isEqualTo(ComponentNameUtils.getActivityName(APP_A.BACKGROUND_ACTIVITY)); in testStartBgActivity_usingStartActivitiesFromBackgroundPermission()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java31 import static android.server.wm.ComponentNameUtils.getActivityName;
790 extraString(EXTRA_START_ACTIVITY, getActivityName(NON_RESIZEABLE_ACTIVITY))); in testAutoEnterPictureInPictureLaunchActivity()
855 assertEquals(getActivityName(ALWAYS_FOCUSABLE_PIP_ACTIVITY), pinnedStack.getRealActivity()); in testAutoEnterPictureInPictureOverPip()
1507 extraString(EXTRA_START_ACTIVITY, getActivityName(TEST_ACTIVITY)), in testLaunchTaskByAffinityMatchMultipleTasks()
1535 extraString(EXTRA_START_ACTIVITY, getActivityName(PIP_ACTIVITY)), in testLaunchTaskByAffinityMatchSingleTask()
1920 assertThat(getActivityName(activityName) + in assertValidPictureInPictureCallbackOrder()
1924 assertEquals(getActivityName(activityName) + " onMultiWindowModeChanged", in assertValidPictureInPictureCallbackOrder()
1927 assertEquals(getActivityName(activityName) + " onPictureInPictureModeChanged()", in assertValidPictureInPictureCallbackOrder()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java957 String activity = ComponentNameUtils.getActivityName(component); in addActivity()
992 String name = ComponentNameUtils.getActivityName(component); in waitForNoActivityOverlays()