Home
last modified time | relevance | path

Searched refs:mConfigDef (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationDefTest.java63 private ConfigurationDef mConfigDef; field in ConfigurationDefTest
67 mConfigDef = new ConfigurationDef(CONFIG_NAME); in setUp()
68 mConfigDef.setDescription(CONFIG_DESCRIPTION); in setUp()
69 mConfigDef.addConfigObjectDef(Configuration.BUILD_PROVIDER_TYPE_NAME, in setUp()
76 mConfigDef.addOptionDef(MAP_OPTION_NAME, OPTION_KEY, OPTION_VALUE, CONFIG_NAME); in testCreateConfiguration_optionMap()
77 mConfigDef.addOptionDef(MAP_OPTION_NAME, OPTION_KEY2, OPTION_VALUE2, CONFIG_NAME); in testCreateConfiguration_optionMap()
78 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_optionMap()
89 mConfigDef.addOptionDef(COLLECTION_OPTION_NAME, null, OPTION_VALUE, CONFIG_NAME); in testCreateConfiguration_optionCollection()
90 mConfigDef.addOptionDef(COLLECTION_OPTION_NAME, null, OPTION_VALUE2, CONFIG_NAME); in testCreateConfiguration_optionCollection()
91 IConfiguration config = mConfigDef.createConfiguration(); in testCreateConfiguration_optionCollection()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationXmlParser.java66 private final ConfigurationDef mConfigDef; field in ConfigurationXmlParser.ConfigHandler
86 mConfigDef = def; in ConfigHandler()
134 mConfigDef.setMultiDeviceMode(true); in startElement()
198 mConfigDef.addOptionDef(optionName, optionKey, optionValue, mName); in startElement()
204 if (mConfigDef.getDescription() == null || in startElement()
205 mConfigDef.getDescription().isEmpty()) { in startElement()
206 mConfigDef.setDescription(description); in startElement()
219 mConfigDef, mName, includeName, mCurrentDeviceObject, mTemplateMap); in startElement()
223 mConfigDef.getName(), includeName)); in startElement()
242 throwTemplateException(mConfigDef.getName(), templateName); in startElement()
[all …]