Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerStateHelper.java22 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 …]
DWaitForValidActivityState.java30 import static android.server.wm.ComponentNameUtils.getActivityName;
70 sb.append(" activity=").append(getActivityName(activityName)); in toString()
DComponentNameUtils.java29 public static String getActivityName(ComponentName componentName) { in getActivityName() method in ComponentNameUtils
DActivityManagerTestBase.java66 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 …]
DWindowManagerState.java26 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/
DAmStartOptionsTests.java22 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()
DMultiDisplayActivityLaunchTests.java35 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 …]
DVrDisplayTests.java19 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()
DAssistantStackTests.java25 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()
DAmProfileTests.java19 import static android.server.wm.ComponentNameUtils.getActivityName;
158 getActivityName(activityName), OUTPUT_FILE_PATH)); in startActivityProfiling()
DDisplayTests.java19 import static android.server.wm.ComponentNameUtils.getActivityName;
130 getActivityName(TEST_ACTIVITY), frontStack.mResumedActivity); in testMultiDisplayDisabled()
DMultiDisplaySecurityTests.java20 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()
DPinnedStackTests.java28 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()
DWindowUntrustedTouchTest.java988 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/
DActivityStarterTests.java26 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/
DCtsAugmentedAutofillService.java20 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()
DAugmentedHelper.java53 public static String getActivityName(@Nullable FillRequest request) { in getActivityName() method in AugmentedHelper
178 new StringBuilder("FillRequest[act=").append(getActivityName(request)) in toString()
DInstrumentedAutoFillService.java23 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()
DHelper.java1282 public static String getActivityName(List<FillContext> contexts) { in getActivityName() method in Helper
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java26 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/
DAppStartStatsTests.java94 assertThat(atom.getActivityName()) in testAppStartOccurred()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java170 ComponentNameUtils.getActivityName(APP_A_BACKGROUND_ACTIVITY), in testStartBgActivity_usingStartActivitiesFromBackgroundPermission()