Home
last modified time | relevance | path

Searched refs:activityName (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoSUWHelper.java40 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/
DAppLaunchTests.java152 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/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java76 public void launchActivity(String activityName, Bundle extras, String verifyText) { in launchActivity() argument
78 String.format("%s.%s", PACKAGE_NAME, activityName)); in launchActivity()
90 Assert.assertNotNull(String.format("Issue in opening %s", activityName), in launchActivity()
94 public void launchActivity(String activityName, String verifyText) { in launchActivity() argument
95 launchActivity(activityName, null, verifyText); in launchActivity()
98 public void launchActivityAndAssert(String activityName, String verifyText) { in launchActivityAndAssert() argument
99 launchActivity(activityName, verifyText); in launchActivityAndAssert()
101 Assert.assertNotNull(activityName + " isn't found", mContents); in launchActivityAndAssert()
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchJankHelper.java82 void launchActivity(String activityName, Bundle extras, String verifyText) { in launchActivity() argument
84 new ComponentName(PACKAGE_NAME, String.format("%s.%s", PACKAGE_NAME, activityName)); in launchActivity()
96 Assert.assertNotNull(String.format("Issue in opening %s", activityName), expectedTextCmp); in launchActivity()
99 void launchActivity(String activityName, String verifyText) { in launchActivity() argument
100 launchActivity(activityName, null, verifyText); in launchActivity()
103 void launchActivityAndAssert(String activityName, String verifyText) { in launchActivityAndAssert() argument
104 launchActivity(activityName, verifyText); in launchActivityAndAssert()
107 Assert.assertNotNull(activityName + " isn't found", mContents); in launchActivityAndAssert()
261 String activityName, in openLeanbackActivity() argument
266 launchActivity(activityName, extrasBundle, expectedText); in openLeanbackActivity()
DIUiBenchJankHelper.java63 String activityName, in openLeanbackActivity() argument
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
DActivityHelper.java72 public int getTaskIdForActivity(String pkgName, String activityName) { in getTaskIdForActivity() argument
76 String.format("taskId=(\\d+): %s/%s", pkgName, activityName)); in getTaskIdForActivity()
81 taskId, pkgName, activityName)); in getTaskIdForActivity()