/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitter.java | 67 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()
|
D | ITestSuite.java | 337 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 …]
|
D | ModuleMerger.java | 24 private static void mergeModules(ModuleDefinition module1, ModuleDefinition module2) { in mergeModules()
|
D | ValidateSuiteConfigHelper.java | 126 Object controller = config.getConfigurationObject(ModuleDefinition.MODULE_CONTROLLER); in validateConfig() 133 ModuleDefinition.MODULE_CONTROLLER, BaseModuleController.class)); in validateConfig()
|
D | ModuleDefinition.java | 85 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/ |
D | ModuleSplitterTest.java | 65 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()
|
D | ModuleDefinitionTest.java | 88 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 …]
|
D | ModuleDefinitionMultiTest.java | 50 private ModuleDefinition mModule; 114 new ModuleDefinition( in testCreateAndRun() 149 new ModuleDefinition( in testPreparer_mismatch()
|
D | ValidateSuiteConfigHelperTest.java | 247 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()
|
D | ITestSuiteTest.java | 320 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/ |
D | SuiteResultReporter.java | 31 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/ |
D | BaseModuleController.java | 22 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/ |
D | CarModuleControllerTest.java | 26 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()
|
D | NativeBridgeModuleControllerTest.java | 26 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/ |
D | DetectRegression.java | 26 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/ |
D | InvocationContextTest.java | 29 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/ |
D | FormattedGeneratorReporterTest.java | 28 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/ |
D | PushFilePreparer.java | 33 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/ |
D | ProtoResultParser.java | 34 import com.android.tradefed.testtype.suite.ModuleDefinition; 258 if (moduleContext.getAttributes().containsKey(ModuleDefinition.MODULE_ID)) { in handleModuleStart() 264 .get(ModuleDefinition.MODULE_ID)); in handleModuleStart()
|
D | ProtoResultReporter.java | 31 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/ |
D | ProtoResultReporterTest.java | 31 import com.android.tradefed.testtype.suite.ModuleDefinition; 149 context.addInvocationAttribute(ModuleDefinition.MODULE_ID, moduleId); in createModuleContext()
|
D | StreamProtoResultReporterTest.java | 29 import com.android.tradefed.testtype.suite.ModuleDefinition; 193 context.addInvocationAttribute(ModuleDefinition.MODULE_ID, moduleId); in createModuleContext()
|
D | ProtoResultParserTest.java | 32 import com.android.tradefed.testtype.suite.ModuleDefinition; 563 context.addInvocationAttribute(ModuleDefinition.MODULE_ID, moduleId); in createModuleContext()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SubprocessEventHelper.java | 22 import com.android.tradefed.testtype.suite.ModuleDefinition; 542 .get(ModuleDefinition.MODULE_NAME); in toString()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | PushFilePreparerTest.java | 35 import com.android.tradefed.testtype.suite.ModuleDefinition; 753 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, name); in createModuleWithName()
|