Searched refs:pkgName (Results 1 – 6 of 6) sorted by relevance
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | AppStartupHelper.java | 90 String pkgName = appStartAtom.getPkgName(); in getMetrics() local 96 pkgName, transitionType, windowsDrawnMillis, transitionDelayMillis)); in getMetrics() 119 metricTypeKey = MetricUtility.constructKey(typeKey, pkgName); in getMetrics() 120 metricCountKey = MetricUtility.constructKey(typeKey, COUNT, pkgName); in getMetrics() 130 TRANSITION_DELAY_MILLIS, pkgName); in getMetrics() 137 String pkgName = appFullyDrawnAtom.getPkgName(); in getMetrics() local 141 + "AppStartupTimeMillis: %d", pkgName, transitionType, startupTimeMillis)); in getMetrics() 147 STARTUP_FULLY_DRAWN_UNKNOWN, pkgName); in getMetrics() 151 STARTUP_FULLY_DRAWN_WITH_BUNDLE, pkgName); in getMetrics() 155 STARTUP_FULLY_DRAWN_WITHOUT_BUNDLE, pkgName); in getMetrics()
|
D | CrashHelper.java | 74 String pkgName = appCrashAtom.getPackageName(); in getMetrics() local 78 + " ForegroundState: %s", eventType, pkgName, foregroundState.toString())); in getMetrics() 83 String detailKey = MetricUtility.constructKey(eventType, pkgName, in getMetrics()
|
D | StatsdHelper.java | 274 String pkgName = InstrumentationRegistry.getTargetContext().getPackageManager() in getPackageName() local 277 if (pkgName != null) { in getPackageName() 278 String pkgNameSplit[] = pkgName.split(String.format("\\:%d", uid)); in getPackageName() 281 return pkgName; in getPackageName()
|
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/ |
D | ActivityHelper.java | 72 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() 211 public void launchPackage(String pkgName) throws InterruptedException { in launchPackage() argument 213 .getLaunchIntentForPackage(pkgName); in launchPackage()
|
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/ |
D | HelperTestUtility.java | 97 public static void launchPackageViaAdb(String pkgName) { in launchPackageViaAdb() argument 98 executeShellCommand(String.format(LAUNCH_APP_CMD_TEMPLATE, pkgName)); in launchPackageViaAdb()
|
/platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/ |
D | AppLinkTests.java | 237 private void verifyForegroundAppPackage(String pkgName) throws InterruptedException { in verifyForegroundAppPackage() argument 245 windows.get(windows.size() - 1).getRoot().getPackageName().equals(pkgName)); in verifyForegroundAppPackage() 249 private String getAppLink(String pkgName) { in getAppLink() argument 250 return executeShellCommand(String.format("pm get-app-link %s", pkgName)); in getAppLink() 254 private void setAppLink(String pkgName, String valueToBeSet) { in setAppLink() argument 255 executeShellCommand(String.format("pm set-app-link %s %s", pkgName, valueToBeSet)); in setAppLink()
|