Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DLocalRunInstructionBuilder.java95 for (OptionDef optionDef : configDescriptor.getRerunOptions()) { in getAtestInstruction()
100 configDescriptor.getModuleName(), optionDef.name)); in getAtestInstruction()
101 if (optionDef.key == null) { in getAtestInstruction()
102 option.append(String.format("%s", optionDef.value)); in getAtestInstruction()
104 option.append(String.format("%s:=%s", optionDef.key, optionDef.value)); in getAtestInstruction()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java593 OptionDef optionDef = new OptionDef(optionName, optionKey, optionValue, source, null); in internalInjectOptionValue() local
594 getConfigurationDescription().addRerunOption(optionDef); in internalInjectOptionValue()
669 for (OptionDef optionDef : optionDefs) { in injectOptionValues()
670 internalInjectOptionValue(optionSetter, optionDef.name, optionDef.key, optionDef.value, in injectOptionValues()
671 optionDef.source); in injectOptionValues()
DConfigurationDescriptor.java189 public void addRerunOption(OptionDef optionDef) { in addRerunOption() argument
190 mRerunOptions.add(optionDef); in addRerunOption()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java320 OptionDef optionDef = mConfig.getConfigurationDescription().getRerunOptions().get(0); in testInjectOptionValue() local
321 assertEquals(OPTION_NAME, optionDef.name); in testInjectOptionValue()
411 OptionDef optionDef = mConfig.getConfigurationDescription().getRerunOptions().get(0); in testInjectOptionValues() local
412 assertEquals(OPTION_NAME, optionDef.name); in testInjectOptionValues()