Home
last modified time | relevance | path

Searched refs:pkgName (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/performance/src/android/performance/cts/
DMultiAppStartupTest.java29 private Intent buildIntent(final String pkgName, String className, boolean isMain) { in buildIntent() argument
30 final String fullClassName = pkgName + "." + className; in buildIntent()
32 intent.setClassName(pkgName, fullClassName); in buildIntent()
41 private void launchActivity(final String pkgName, String className, boolean isMain) { in launchActivity() argument
43 ctx.startActivity(buildIntent(pkgName, className, isMain)); in launchActivity()
/cts/tests/tests/performance2/src/android/performance2/cts/
DAppStartup.java29 private Intent buildIntent(final String pkgName, String className) { in buildIntent() argument
30 final String fullClassName = pkgName + "." + className; in buildIntent()
32 intent.setClassName(pkgName, fullClassName); in buildIntent()
/cts/tests/tests/performance4/src/android/performance4/cts/
DAppStartup.java29 private Intent buildIntent(final String pkgName, String className) { in buildIntent() argument
30 final String fullClassName = pkgName + "." + className; in buildIntent()
32 intent.setClassName(pkgName, fullClassName); in buildIntent()
/cts/tests/tests/performance5/src/android/performance5/cts/
DAppStartup.java29 private Intent buildIntent(final String pkgName, String className) { in buildIntent() argument
30 final String fullClassName = pkgName + "." + className; in buildIntent()
32 intent.setClassName(pkgName, fullClassName); in buildIntent()
/cts/tests/tests/performance3/src/android/performance3/cts/
DAppStartup.java30 private Intent buildIntent(final String pkgName, String className) { in buildIntent() argument
31 final String fullClassName = pkgName + "." + className; in buildIntent()
33 intent.setClassName(pkgName, fullClassName); in buildIntent()
/cts/tools/host/src/com/android/cts/
DTestPlan.java94 public static boolean isValidPackageName(String pkgName) { in isValidPackageName() argument
95 String xmlPath = HostConfig.getInstance().getCaseRepository().getXmlPath(pkgName); in isValidPackageName()
96 String apkPath = HostConfig.getInstance().getCaseRepository().getApkPath(pkgName); in isValidPackageName()
DTestHost.java161 String pkgName = pathName.substring(pathName in startZippedPackage() local
163 packages.add(pkgName); in startZippedPackage()
166 selectedResult.put(pkgName, null); in startZippedPackage()
184 removePackages(pkgName); in startZippedPackage()
DConsoleUi.java955 for (String pkgName : removedPkgList) { in listSinglePlan()
956 CUIOutputStream.println(" " + pkgName); in listSinglePlan()
964 for (String pkgName : pkgNames) { in listSinglePlan()
965 CUIOutputStream.println(pkgName); in listSinglePlan()
986 String pkgName = pkg.getAppPackageName(); in createPlanFromSession() local
989 packageNames.add(pkgName); in createPlanFromSession()
990 selectedResult.put(pkgName, excludedList); in createPlanFromSession()
DTestPackage.java864 for (String pkgName : getPackageNames()) { in runInBatchMode()
865 runInBatchModeImpl(pkgName); in runInBatchMode()
DTestSessionBuilder.java181 for (String pkgName : removedPkgList) { in loadPackages()
182 CUIOutputStream.println(" " + pkgName); in loadPackages()
DHostConfig.java885 for (String pkgName : packageNames) { in removePackages()
886 removePackage(pkgName); in removePackages()
/cts/tests/appsecurity-tests/src/com/android/cts/appsecurity/
DAppSecurityTests.java281 private boolean runDeviceTests(String pkgName) throws AdbCommandRejectedException, in runDeviceTests() argument
283 return runDeviceTests(pkgName, null, null); in runDeviceTests()
292 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName) in runDeviceTests() argument
295 CollectingTestRunListener listener = doRunTests(pkgName, testClassName, testMethodName); in runDeviceTests()
309 private CollectingTestRunListener doRunTests(String pkgName, String testClassName, in doRunTests() argument
312 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(pkgName, getDevice()); in doRunTests()