/platform_testing/libraries/sts-common-util/device-side/src/com/android/sts/common/ |
D | DumpsysUtils.java | 101 public static boolean isActivityResumed(String activityName) { in isActivityResumed() argument 106 Map.of("-a", activityName) /* args */, in isActivityResumed() 117 public static boolean isActivityVisible(String activityName) { in isActivityVisible() argument 122 Map.of("-a", activityName) /* args */, in isActivityVisible() 134 public static boolean isActivityLaunched(String activityName) { in isActivityLaunched() argument 138 return isActivityResumed(activityName) && isActivityVisible(activityName); in isActivityLaunched()
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/ |
D | IAutoSUWHelper.java | 40 private final String activityName; field in IAutoSUWHelper.ActivityType 42 ActivityType(String activityName) { in ActivityType() argument 43 this.activityName = activityName; in ActivityType() 47 return activityName; in getActivityName()
|
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/ |
D | AppLaunchTests.java | 152 for (String activityName : mActivityList) { in testAppLaunchPerformance() 154 if (activityName.startsWith(URL_PREFIX)) { in testAppLaunchPerformance() 155 intent = new Intent(Intent.ACTION_VIEW, Uri.parse(activityName)); in testAppLaunchPerformance() 159 mDispatcher != null ? mDispatcher : activityName); in testAppLaunchPerformance() 166 intent.putExtra("ACTIVITY_NAME", activityName); in testAppLaunchPerformance() 208 if (!activityName.startsWith(URL_PREFIX)) { in testAppLaunchPerformance() 209 fileName = String.format("%s-%d-%d", activityName, count, processId); in testAppLaunchPerformance() 211 fileName = String.format("%s-%d-%d", Uri.parse(activityName).getHost(), in testAppLaunchPerformance() 230 if (!activityName.startsWith(URL_PREFIX)) { in testAppLaunchPerformance() 231 registerTraceFileNames(activityName, fileName); in testAppLaunchPerformance() [all …]
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/ |
D | WaitForValidActivityState.kt | 31 activityName: IComponentMatcher 33 activityName, 34 windowIdentifier = activityName.toWindowIdentifier(), 43 activityMatcher = builder.activityName, 70 class Builder constructor(internal var activityName: IComponentMatcher? = null) { variable in android.tools.traces.parsers.WaitForValidActivityState.Builder 71 internal var windowIdentifier: String? = activityName?.toWindowIdentifier()
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchJankTestsHelper.java | 77 public void launchActivity(String activityName, Bundle extras, String verifyText) { in launchActivity() argument 79 String.format("%s.%s", PACKAGE_NAME, activityName)); in launchActivity() 91 Assert.assertNotNull(String.format("Issue in opening %s", activityName), in launchActivity() 95 public void launchActivity(String activityName, String verifyText) { in launchActivity() argument 96 launchActivity(activityName, null, verifyText); in launchActivity() 99 public void launchActivityAndAssert(String activityName, String verifyText) { in launchActivityAndAssert() argument 100 launchActivity(activityName, verifyText); in launchActivityAndAssert() 102 Assert.assertNotNull(activityName + " isn't found", mContents); in launchActivityAndAssert()
|
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/ |
D | UiBenchJankHelper.java | 92 void launchActivity(String activityName, Bundle extras, String verifyText) { in launchActivity() argument 94 new ComponentName(PACKAGE_NAME, String.format("%s.%s", PACKAGE_NAME, activityName)); in launchActivity() 106 Assert.assertNotNull(String.format("Issue in opening %s", activityName), expectedTextCmp); in launchActivity() 109 void launchActivity(String activityName, String verifyText) { in launchActivity() argument 113 launchActivity(activityName, null, verifyText); in launchActivity() 119 void launchActivityAndAssert(String activityName, String verifyText) { in launchActivityAndAssert() argument 120 launchActivity(activityName, verifyText); in launchActivityAndAssert() 123 Assert.assertNotNull(activityName + " isn't found", mContents); in launchActivityAndAssert() 292 String activityName, in openLeanbackActivity() argument 297 launchActivity(activityName, extrasBundle, expectedText); in openLeanbackActivity()
|
D | IUiBenchJankHelper.java | 63 String activityName, in openLeanbackActivity() argument
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ |
D | DumpsysUtils.java | 108 public static boolean hasActivityResumed(ITestDevice device, String activityName) in hasActivityResumed() argument 113 Map.of("-a", activityName) /* args */, in hasActivityResumed() 127 public static boolean isActivityVisible(ITestDevice device, String activityName) in isActivityVisible() argument 132 Map.of("-a", activityName) /* args */, in isActivityVisible()
|
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/ |
D | ActivityHelper.java | 73 public int getTaskIdForActivity(String pkgName, String activityName) { in getTaskIdForActivity() argument 77 String.format("taskId=(\\d+): %s/%s", pkgName, activityName)); in getTaskIdForActivity() 82 taskId, pkgName, activityName)); in getTaskIdForActivity()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/ |
D | WindowManagerState.kt | 270 private fun getActivityByName(activityName: String): Activity? = in <lambda>() 272 task.getActivity { activity -> activity.title.contains(activityName) } in <lambda>()
|