Home
last modified time | relevance | path

Searched refs:configDef (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationXmlParserTest.java60 ConfigurationDef configDef = new ConfigurationDef(configName); in testParse() local
61 xmlParser.parse(configDef, configName, getStringAsStream(normalConfig), null); in testParse()
62 assertEquals(configName, configDef.getName()); in testParse()
63 assertEquals("desc", configDef.getDescription()); in testParse()
66 configDef.getObjectClassMap().get("test").get(0).mClassName); in testParse()
67 assertEquals("junit.framework.TestCase:1:opName", configDef.getOptionList().get(0).name); in testParse()
68 assertEquals("val", configDef.getOptionList().get(0).value); in testParse()
82 ConfigurationDef configDef = new ConfigurationDef(configName); in testParse_interleaved() local
84 xmlParser.parse(configDef, configName, getStringAsStream(normalConfig), null); in testParse_interleaved()
105 ConfigurationDef configDef = new ConfigurationDef(configName); in testParse_globalOption() local
[all …]
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/
DConfigurationYamlParser.java60 ConfigurationDef configDef, in parse() argument
67 configDef.setMultiDeviceMode(false); in parse()
70 configDef.addOptionDef( in parse()
77 translateYamlInTradefed(configDef, yamlObjects); in parse()
85 ConfigurationDef configDef, Map<String, Object> yamlObjects) in translateYamlInTradefed() argument
88 configDef.setDescription((String) yamlObjects.get(DESCRIPTION_KEY)); in translateYamlInTradefed()
96 dependencyFiles = convertDependenciesToObjects(configDef, testDeps); in translateYamlInTradefed()
103 convertTestsToObjects(configDef, runnerInfo); in translateYamlInTradefed()
116 .setConfigurationDef(configDef) in translateYamlInTradefed()
DIDefaultObjectLoader.java39 public LoaderConfiguration setConfigurationDef(ConfigurationDef configDef) { in setConfigurationDef() argument
40 mConfigDef = configDef; in setConfigurationDef()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationFactory.java600 ConfigurationDef configDef = getConfigurationDef(configName, false, uniqueMap); in internalCreateConfigurationFromArgs() local
604 if (mConfigDefMap.get(cid) == configDef) { in internalCreateConfigurationFromArgs()
613 return configDef.createConfiguration(allowedObjects); in internalCreateConfigurationFromArgs()
689 ConfigurationDef configDef = getConfigurationDef(configName, true, null); in internalCreateGlobalConfigurationFromArgs() local
690 IGlobalConfiguration config = configDef.createGlobalConfiguration(); in internalCreateGlobalConfigurationFromArgs()
781 ConfigurationDef configDef = attemptLoad(configId, null); in loadAllConfigs() local
782 mConfigDefMap.put(configId, configDef); in loadAllConfigs()
804 ConfigurationDef configDef = null; in attemptLoad() local
806 configDef = getConfigurationDef(configId.name, false, templateMap); in attemptLoad()
807 return configDef; in attemptLoad()
DConfigurationXmlParser.java375 ConfigurationDef configDef, in parse() argument
380 parse(configDef, name, xmlInput, templateMap, null); in parse()
397 ConfigurationDef configDef, in parse() argument
409 configDef, in parse()
417 checkValidMultiConfiguration(configHandler, configDef); in parse()
444 ConfigHandler configHandler, ConfigurationDef configDef) throws SAXException { in checkValidMultiConfiguration() argument
445 Map<String, Boolean> expected = configDef.getExpectedDevices(); in checkValidMultiConfiguration()
464 if (configDef.isMultiDeviceMode() && !configHandler.mOutsideTag.isEmpty()) { in checkValidMultiConfiguration()
DConfigurationDef.java264 for (ConfigObjectDef configDef : objClassEntry.getValue()) { in createConfiguration()
272 configObject = createObject(objClassEntry.getKey(), configDef.mClassName); in createConfiguration()
303 multiDev.addFrequency(configObject, configDef.mAppearanceNum); in createConfiguration()
324 realDevice.get(0).addFrequency(configObject, configDef.mAppearanceNum); in createConfiguration()
329 configObject, configDef.mAppearanceNum); in createConfiguration()
388 for (ConfigObjectDef configDef : objClassEntry.getValue()) { in createGlobalConfiguration()
389 Object configObject = createObject(objClassEntry.getKey(), configDef.mClassName); in createGlobalConfiguration()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java1116 for (TradefedConfigObject configDef : testEnvironment.getTradefedConfigObjects()) {
1117 if (configDef.getType() != type) {
1124 if (!configObj.getClass().getName().equals(configDef.getClassName())) {