Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java456 JSONObject optionClass = usage.getJSONObject(i); in testGetJsonCommandUsage() local
459 assertTrue("Usage element does not contain a 'name' value", optionClass.has("name")); in testGetJsonCommandUsage()
460 assertTrue("Usage element does not contain a 'class' value", optionClass.has("class")); in testGetJsonCommandUsage()
462 optionClass.has("options")); in testGetJsonCommandUsage()
465 JSONArray options = optionClass.getJSONArray("options"); in testGetJsonCommandUsage()
484 String name = optionClass.getString("name"); in testGetJsonCommandUsage()
488 jsonConfigObject = optionClass; in testGetJsonCommandUsage()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java568 static Collection<Field> getOptionFieldsForClass(final Class<?> optionClass) { in getOptionFieldsForClass() argument
570 buildOptionFieldsForClass(optionClass, fieldList); in getOptionFieldsForClass()
581 private static void buildOptionFieldsForClass(final Class<?> optionClass, in buildOptionFieldsForClass() argument
583 for (Field field : optionClass.getDeclaredFields()) { in buildOptionFieldsForClass()
588 Class<?> superClass = optionClass.getSuperclass(); in buildOptionFieldsForClass()
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java782 static Collection<Field> getOptionFieldsForClass(final Class<?> optionClass) { in getOptionFieldsForClass() argument
784 buildOptionFieldsForClass(optionClass, fieldList); in getOptionFieldsForClass()
795 private static void buildOptionFieldsForClass(final Class<?> optionClass, in buildOptionFieldsForClass() argument
797 for (Field field : optionClass.getDeclaredFields()) { in buildOptionFieldsForClass()
802 Class<?> superClass = optionClass.getSuperclass(); in buildOptionFieldsForClass()
DConfiguration.java1229 OptionClass optionClass = optionObject.getClass() in getJsonCommandUsage() local
1231 alias = optionClass.alias(); in getJsonCommandUsage()