Home
last modified time | relevance | path

Searched refs:preparer (Results 1 – 4 of 4) sorted by relevance

/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DModuleDef.java75 for (ITargetPreparer preparer : preparers) { in ModuleDef()
76 if (preparer instanceof IAbiReceiver) { in ModuleDef()
80 if (preparer instanceof PreconditionPreparer) { in ModuleDef()
81 mPreconditions.add(preparer); in ModuleDef()
82 } else if (preparer instanceof TokenRequirement) { in ModuleDef()
83 mTokens.addAll(((TokenRequirement) preparer).getTokens()); in ModuleDef()
85 mPreparers.add(preparer); in ModuleDef()
87 if (preparer instanceof ITargetCleaner) { in ModuleDef()
88 mCleaners.add((ITargetCleaner) preparer); in ModuleDef()
221 for (ITargetPreparer preparer : mPreparers) { in run()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPackageRepo.java85 File preparer = new File(fullPath.substring(0, lastDot) + ".config"); in getPreparerDefForPackage() local
86 if (preparer.exists()) { in getPreparerDefForPackage()
87 return preparer; in getPreparerDefForPackage()
107 File preparer = getPreparerDefForPackage(xmlFile); in parseModuleTestConfigs() local
109 if (preparer != null) { in parseModuleTestConfigs()
113 new String[]{preparer.getAbsolutePath()}); in parseModuleTestConfigs()
DCtsTest.java653 for (ITargetPreparer preparer : preparers) { in performPackagePrepareSetup()
654 if (preparer instanceof IAbiReceiver) { in performPackagePrepareSetup()
655 ((IAbiReceiver) preparer).setAbi(packageDef.getAbi()); in performPackagePrepareSetup()
658 preparer.setUp(getDevice(), mBuildInfo); in performPackagePrepareSetup()
662 preparer.getClass().getCanonicalName()); in performPackagePrepareSetup()
666 preparer.getClass().getCanonicalName()); in performPackagePrepareSetup()
686 ITargetPreparer preparer = itr.previous(); in performPackagePreparerTearDown() local
687 if (preparer instanceof ITargetCleaner) { in performPackagePreparerTearDown()
688 ((ITargetCleaner) preparer).tearDown(getDevice(), mBuildInfo, null); in performPackagePreparerTearDown()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DModuleRepoTest.java130 String preparer = ""; in createConfig() local
132 preparer = String.format(TOKEN, token); in createConfig()
134 FileUtil.writeToFile(String.format(CONFIG, preparer, moduleClass, name), config); in createConfig()