Searched refs:valueText (Results 1 – 3 of 3) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 366 public List<FieldDef> setOptionValue(String optionName, String valueText) in setOptionValue() argument 368 return setOptionValue(optionName, null, valueText); in setOptionValue() 380 public List<FieldDef> setOptionValue(String optionName, String keyText, String valueText) in setOptionValue() argument 395 Object value = handler.translate(valueText); in setOptionValue() 404 "Couldn't convert value '%s' to a %s for option '%s'", valueText, type, in setOptionValue() 1005 abstract T translate(String valueText); in translate() argument 1014 Boolean translate(String valueText) { in translate() argument 1015 if (valueText.equalsIgnoreCase("true") || valueText.equalsIgnoreCase("yes")) { in translate() 1017 } else if (valueText.equalsIgnoreCase("false") || valueText.equalsIgnoreCase("no")) { in translate() 1026 Byte translate(String valueText) { in translate() argument [all …]
|
D | ArgsOptionParser.java | 555 private String getKeyStoreValueIfNeeded(String valueText, String optionType) in getKeyStoreValueIfNeeded() argument 557 Matcher m = USE_KEYSTORE_REGEX.matcher(valueText); in getKeyStoreValueIfNeeded() 582 return valueText; in getKeyStoreValueIfNeeded()
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | OptionSetter.java | 245 public void setOptionValue(String optionName, String valueText) throws ConfigurationException { in setOptionValue() argument 252 Object value = handler.translate(valueText); in setOptionValue() 256 String.format("Couldn't convert '%s' to a %s for option '%s'", valueText, in setOptionValue() 336 public void setOptionMapValue(String optionName, String keyText, String valueText) in setOptionMapValue() argument 351 pair = ((MapHandler) handler).translate(keyText, valueText); in setOptionMapValue() 371 valueText, valueTypeName, optionName); in setOptionMapValue() 375 keyText, keyTypeName, valueText, valueTypeName, optionName); in setOptionMapValue() 743 abstract Object translate(String valueText); in translate() argument 752 Object translate(String valueText) { in translate() argument 753 if (valueText.equalsIgnoreCase("true") || valueText.equalsIgnoreCase("yes")) { in translate() [all …]
|