Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/
DWaitForValidActivityState.kt25 val activityName: FlickerComponentName?, constant in com.android.server.wm.traces.parser.windowmanager.WaitForValidActivityState
35 constructor(activityName: FlickerComponentName) : this(
36 activityName,
37 windowName = activityName.toWindowName(),
44 activityName = builder.activityName,
53 if (activityName != null) { in toString()
54 sb.append(" activity=").append(activityName.toActivityName()) in toString()
71 class Builder constructor(internal var activityName: FlickerComponentName? = null) { variable in com.android.server.wm.traces.parser.windowmanager.WaitForValidActivityState.Builder
72 internal var windowName: String? = activityName?.toWindowName()
/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()
276 String activityName, in openLeanbackActivity() argument
281 launchActivity(activityName, extrasBundle, expectedText); in openLeanbackActivity()
DIUiBenchJankHelper.java63 String activityName, in openLeanbackActivity() argument
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/
DDisplayArea.kt37 fun containsActivity(activityName: String): Boolean { in containsActivity()
41 activities.any { it.title == activityName } in containsActivity()
DDisplayContent.kt73 fun containsActivity(activityName: String): Boolean = in <lambda>()
74 rootTasks.any { it.containsActivity(activityName) } in <lambda>()
76 fun getTaskDisplayArea(activityName: String): DisplayArea? { in <lambda>()
78 .filter { it.containsActivity(activityName) } in <lambda>()
DTask.kt98 fun getActivity(activityName: String): Activity? { in <lambda>()
99 return getActivity { activity -> activity.title.contains(activityName) } in <lambda>()
102 fun containsActivity(activityName: String) = getActivity(activityName) != null in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DStandardAppHelper.kt121 val activityName = component.toActivityName() in waitForActivityDestroyed() constant
122 wmHelper.waitFor("state of $activityName to be ${WindowManagerState.STATE_DESTROYED}") { in waitForActivityDestroyed()
123 !it.wmState.containsActivity(activityName) || in waitForActivityDestroyed()
124 it.wmState.hasActivityState(activityName, WindowManagerState.STATE_DESTROYED) in waitForActivityDestroyed()
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
DActivityHelper.java73 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()