Home
last modified time | relevance | path

Searched refs:optionObject (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java1118 private JSONObject getOptionJson(Object optionObject, Field field) throws JSONException { in getOptionJson() argument
1154 value = field.get(optionObject); in getOptionJson()
1187 List<String> source = mFieldSources.get(new FieldDef(optionObject, field, key)); in getOptionJson()
1198 List<String> source = mFieldSources.get(new FieldDef(optionObject, field, key)); in getOptionJson()
1208 List<String> source = mFieldSources.get(new FieldDef(optionObject, field, null)); in getOptionJson()
1222 for (Object optionObject : configObjectsEntry.getValue()) { in getJsonCommandUsage()
1228 if (optionObject.getClass().isAnnotationPresent(OptionClass.class)) { in getJsonCommandUsage()
1229 OptionClass optionClass = optionObject.getClass() in getJsonCommandUsage()
1234 jsonClass.put("class", optionObject.getClass().getName()); in getJsonCommandUsage()
1238 .getOptionFieldsForClass(optionObject.getClass()); in getJsonCommandUsage()
[all …]
DArgsOptionParser.java445 public static String getOptionHelp(boolean importantOnly, Object optionObject) { in getOptionHelp() argument
448 optionObject.getClass()); in getOptionHelp()
452 String defaultValue = OptionSetter.getFieldValueAsString(field, optionObject); in getOptionHelp()
DOptionSetter.java816 static String getFieldValueAsString(Field field, Object optionObject) { in getFieldValueAsString() argument
817 Object fieldValue = getFieldValue(field, optionObject); in getFieldValueAsString()
847 static Object getFieldValue(Field field, Object optionObject) { in getFieldValue() argument
850 return field.get(optionObject); in getFieldValue()
853 optionObject.getClass().getName(), e); in getFieldValue()
857 optionObject.getClass().getName(), e); in getFieldValue()
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestMapping.java113 JSONObject optionObject = optionObjects.getJSONObject(j); in TestMapping() local
114 for (int k = 0; k < optionObject.names().length(); k++) { in TestMapping()
115 String name = optionObject.names().getString(k); in TestMapping()
116 String value = optionObject.getString(name); in TestMapping()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DArgsOptionParser.java331 public static String getOptionHelp(boolean importantOnly, Object optionObject) { in getOptionHelp() argument
334 optionObject.getClass()); in getOptionHelp()
338 String defaultValue = OptionSetter.getFieldValueAsString(field, optionObject); in getOptionHelp()
DOptionSetter.java602 static String getFieldValueAsString(Field field, Object optionObject) { in getFieldValueAsString() argument
603 Object fieldValue = getFieldValue(field, optionObject); in getFieldValueAsString()
628 static Object getFieldValue(Field field, Object optionObject) { in getFieldValue() argument
631 return field.get(optionObject); in getFieldValue()