Home
last modified time | relevance | path

Searched refs:valueText (Results 1 – 4 of 4) 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.java369 public List<FieldDef> setOptionValue(String optionName, String valueText) in setOptionValue() argument
371 return setOptionValue(optionName, null, valueText); in setOptionValue()
383 public List<FieldDef> setOptionValue(String optionName, String keyText, String valueText) in setOptionValue() argument
398 Object value = handler.translate(valueText); in setOptionValue()
409 valueText, type, optionName), in setOptionValue()
1026 abstract T translate(String valueText); in translate() argument
1035 Boolean translate(String valueText) { in translate() argument
1036 if (valueText.equalsIgnoreCase("true") || valueText.equalsIgnoreCase("yes")) { in translate()
1038 } else if (valueText.equalsIgnoreCase("false") || valueText.equalsIgnoreCase("no")) { in translate()
1047 Byte translate(String valueText) { in translate() argument
[all …]
DArgsOptionParser.java603 private String getKeyStoreValueIfNeeded(String valueText, String optionType) in getKeyStoreValueIfNeeded() argument
605 Matcher m = USE_KEYSTORE_REGEX.matcher(valueText); in getKeyStoreValueIfNeeded()
636 return valueText; in getKeyStoreValueIfNeeded()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java3363 public MicrodroidBuilder addTestDeviceOption(String optionName, String valueText) { in addTestDeviceOption() argument
3364 mTestDeviceOptions.put(optionName, valueText); in addTestDeviceOption()