Home
last modified time | relevance | path

Searched refs:valueText (Results 1 – 3 of 3) sorted by relevance

/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java245 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 …]
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java356 public List<FieldDef> setOptionValue(String optionName, String valueText) in setOptionValue() argument
358 return setOptionValue(optionName, null, valueText); in setOptionValue()
370 public List<FieldDef> setOptionValue(String optionName, String keyText, String valueText) in setOptionValue() argument
385 Object value = handler.translate(valueText); in setOptionValue()
394 "Couldn't convert value '%s' to a %s for option '%s'", valueText, type, in setOptionValue()
1004 abstract Object translate(String valueText); in translate() argument
1013 Object translate(String valueText) { in translate() argument
1014 if (valueText.equalsIgnoreCase("true") || valueText.equalsIgnoreCase("yes")) { in translate()
1016 } else if (valueText.equalsIgnoreCase("false") || valueText.equalsIgnoreCase("no")) { in translate()
1025 Object translate(String valueText) { in translate() argument
[all …]
DArgsOptionParser.java555 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()