Home
last modified time | relevance | path

Searched refs:ModuleDefinition (Results 1 – 25 of 25) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleSplitter.java67 public static List<ModuleDefinition> splitConfiguration( in splitConfiguration()
77 List<ModuleDefinition> runModules = new ArrayList<>(); in splitConfiguration()
94 List<ModuleDefinition> currentList, in createAndAddModule()
108 ModuleDefinition module = in createAndAddModule()
109 new ModuleDefinition( in createAndAddModule()
133 ModuleDefinition module = in createAndAddModule()
134 new ModuleDefinition( in createAndAddModule()
162 List<ModuleDefinition> currentList, in addModuleToListFromSingleTest()
168 ModuleDefinition module = in addModuleToListFromSingleTest()
169 new ModuleDefinition( in addModuleToListFromSingleTest()
DITestSuite.java337 private ModuleDefinition mDirectModule = null;
344 private List<ModuleDefinition> mRunModules = null;
421 private List<ModuleDefinition> createExecutionList() { in createExecutionList()
422 List<ModuleDefinition> runModules = new ArrayList<>(); in createExecutionList()
443 ModuleDefinition module = in createExecutionList()
444 new ModuleDefinition( in createExecutionList()
475 void randomizeTestModules(List<ModuleDefinition> runModules, long randomSeed) { in randomizeTestModules()
573 ModuleDefinition module = mRunModules.remove(0); in run()
659 ModuleDefinition module, in runSingleModule()
834 List<ModuleDefinition> splitModules = in split()
[all …]
DModuleMerger.java24 private static void mergeModules(ModuleDefinition module1, ModuleDefinition module2) { in mergeModules()
DValidateSuiteConfigHelper.java126 Object controller = config.getConfigurationObject(ModuleDefinition.MODULE_CONTROLLER); in validateConfig()
133 ModuleDefinition.MODULE_CONTROLLER, BaseModuleController.class)); in validateConfig()
DModuleDefinition.java85 public class ModuleDefinition implements Comparable<ModuleDefinition>, ITestCollector { class
159 public ModuleDefinition( in ModuleDefinition() method in ModuleDefinition
246 public int compareTo(ModuleDefinition moduleDef) { in compareTo()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleSplitterTest.java65 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true, true); in testSplitModule_configNotShardable()
96 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true, true); in testSplitModule_configNotStrictShardable_dynamic()
127 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, false, true); in testSplitModule_configNotStrictShardable_notDynamic()
152 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true, false); in testSplitModule_noIntraModuleSharding()
184 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true, true); in testSplitModule_testNotShardable()
212 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true, true); in testSplitModule_testShardable_didNotShard()
242 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, true, true); in testSplitModule_testShardable_shard()
246 for (ModuleDefinition m : res) { in testSplitModule_testShardable_shard()
268 List<ModuleDefinition> res = ModuleSplitter.splitConfiguration(runConfig, 5, false, true); in testSplitModule_testShardable_shard_noDynamic()
272 for (ModuleDefinition m : res) { in testSplitModule_testShardable_shard_noDynamic()
DModuleDefinitionTest.java88 private ModuleDefinition mModule;
286 new ModuleDefinition( in setUp()
395 new ModuleDefinition( in testRun_aggregateRunFailures()
464 new ModuleDefinition( in testParseTokens()
549 new ModuleDefinition( in testRun_failPreparation()
586 new ModuleDefinition( in testRun_failPreparation_runtime()
620 new ModuleDefinition( in testRun_failPreparation_error()
660 new ModuleDefinition( in testRun_failPreparation_moduleListener()
702 new ModuleDefinition( in testRun_failPreparation_unresponsive()
738 new ModuleDefinition( in testRun_fullPass()
[all …]
DModuleDefinitionMultiTest.java50 private ModuleDefinition mModule;
114 new ModuleDefinition( in testCreateAndRun()
149 new ModuleDefinition( in testPreparer_mismatch()
DValidateSuiteConfigHelperTest.java247 ModuleDefinition.MODULE_CONTROLLER, new TestFailureModuleController()); in testModuleController()
257 config.setConfigurationObject(ModuleDefinition.MODULE_CONTROLLER, new CommandOptions()); in testModuleController_fail()
262 assertTrue(expected.getMessage().contains(ModuleDefinition.MODULE_CONTROLLER)); in testModuleController_fail()
DITestSuiteTest.java320 private List<ModuleDefinition> getRunModules( in getRunModules()
322 List<ModuleDefinition> runModules = new ArrayList<>(); in getRunModules()
325 ModuleDefinition module = in getRunModules()
326 new ModuleDefinition( in getRunModules()
1616 List<ModuleDefinition> runModules = getRunModules(testConfigs); in testRandomizeTestModulesWithSameSeed()
1617 List<ModuleDefinition> runModules2 = getRunModules(testConfigs); in testRandomizeTestModulesWithSameSeed()
1636 List<ModuleDefinition> runModules = getRunModules(testConfigs); in testRandomizeTestModulesWithDifferentSeed()
1637 List<ModuleDefinition> runModules2 = getRunModules(testConfigs); in testRandomizeTestModulesWithDifferentSeed()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java31 import com.android.tradefed.testtype.suite.ModuleDefinition;
95 List<String> abiName = moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI); in testModuleStarted()
99 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0), abi); in testModuleStarted()
140 String prepTime = moduleResult.getRunMetrics().get(ModuleDefinition.PREPARATION_TIME); in invocationEnded()
141 String tearTime = moduleResult.getRunMetrics().get(ModuleDefinition.TEAR_DOWN_TIME); in invocationEnded()
150 moduleResult.getRunMetrics().get(ModuleDefinition.RETRY_SUCCESS_COUNT); in invocationEnded()
156 moduleResult.getRunMetrics().get(ModuleDefinition.RETRY_FAIL_COUNT); in invocationEnded()
161 String retryTime = moduleResult.getRunMetrics().get(ModuleDefinition.RETRY_TIME); in invocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DBaseModuleController.java22 import com.android.tradefed.testtype.suite.ModuleDefinition;
67 String abi = mContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0); in getModuleAbi()
73 return mContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0); in getModuleName()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DCarModuleControllerTest.java26 import com.android.tradefed.testtype.suite.ModuleDefinition;
52 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp()
53 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp()
DNativeBridgeModuleControllerTest.java26 import com.android.tradefed.testtype.suite.ModuleDefinition;
49 mContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "arm64-v8a"); in setUp()
50 mContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, "module1"); in setUp()
/tools/tradefederation/contrib/src/com/android/regression/tests/
DDetectRegression.java26 import com.android.tradefed.testtype.suite.ModuleDefinition;
89 ModuleDefinition.PREPARATION_TIME,
90 ModuleDefinition.TEST_TIME,
91 ModuleDefinition.TEAR_DOWN_TIME);
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationContextTest.java29 import com.android.tradefed.testtype.suite.ModuleDefinition;
181 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ID, "module-id"); in testProtoSerialize_moduleContext()
196 .get(ModuleDefinition.MODULE_ID) in testProtoSerialize_moduleContext()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DFormattedGeneratorReporterTest.java28 import com.android.tradefed.testtype.suite.ModuleDefinition;
148 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ID, "module1"); in testFinalizeResults()
149 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "abi1"); in testFinalizeResults()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DPushFilePreparer.java33 import com.android.tradefed.testtype.suite.ModuleDefinition;
139 if (invocationContext.getAttributes().get(ModuleDefinition.MODULE_NAME) != null) { in setInvocationContext()
142 invocationContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0); in setInvocationContext()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java34 import com.android.tradefed.testtype.suite.ModuleDefinition;
258 if (moduleContext.getAttributes().containsKey(ModuleDefinition.MODULE_ID)) { in handleModuleStart()
264 .get(ModuleDefinition.MODULE_ID)); in handleModuleStart()
DProtoResultReporter.java31 import com.android.tradefed.testtype.suite.ModuleDefinition;
198 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0)); in testModuleStarted()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultReporterTest.java31 import com.android.tradefed.testtype.suite.ModuleDefinition;
149 context.addInvocationAttribute(ModuleDefinition.MODULE_ID, moduleId); in createModuleContext()
DStreamProtoResultReporterTest.java29 import com.android.tradefed.testtype.suite.ModuleDefinition;
193 context.addInvocationAttribute(ModuleDefinition.MODULE_ID, moduleId); in createModuleContext()
DProtoResultParserTest.java32 import com.android.tradefed.testtype.suite.ModuleDefinition;
563 context.addInvocationAttribute(ModuleDefinition.MODULE_ID, moduleId); in createModuleContext()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java22 import com.android.tradefed.testtype.suite.ModuleDefinition;
542 .get(ModuleDefinition.MODULE_NAME); in toString()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DPushFilePreparerTest.java35 import com.android.tradefed.testtype.suite.ModuleDefinition;
753 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, name); in createModuleWithName()