HomeSort by relevance Sort by last modified time
    Searched defs:optionSource (Results 1 - 6 of 6) sorted by null

  /tools/loganalysis/tests/src/com/android/loganalysis/util/config/
OptionSetterTest.java 468 AllTypesOptionSource optionSource = new AllTypesOptionSource();
470 assertSetOptionValue(optionSource, "string", expectedValue);
471 assertEquals(expectedValue, optionSource.mString);
478 AllTypesOptionSource optionSource = new AllTypesOptionSource();
480 assertSetOptionValue(optionSource, "string_collection", expectedValue);
481 assertEquals(1, optionSource.mStringCollection.size());
482 assertTrue(optionSource.mStringCollection.contains(expectedValue));
489 AllTypesOptionSource optionSource = new AllTypesOptionSource();
494 OptionSetter parser = new OptionSetter(optionSource);
497 assertEquals(1, optionSource.mStringMap.size())
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/config/
OptionSetterTest.java 558 AllTypesOptionSource optionSource = new AllTypesOptionSource();
560 assertSetOptionValue(optionSource, "string", expectedValue);
561 assertEquals(expectedValue, optionSource.mString);
568 AllTypesOptionSource optionSource = new AllTypesOptionSource();
570 assertSetOptionValue(optionSource, "string_collection", expectedValue);
571 assertEquals(1, optionSource.mStringCollection.size());
572 assertTrue(optionSource.mStringCollection.contains(expectedValue));
579 AllTypesOptionSource optionSource = new AllTypesOptionSource();
584 OptionSetter parser = new OptionSetter(optionSource);
587 assertEquals(1, optionSource.mStringMap.size())
    [all...]
  /external/vogar/src/vogar/
OptionParser.java 197 private final Object optionSource;
202 * Constructs a new OptionParser for setting the @Option fields of 'optionSource'.
204 public OptionParser(Object optionSource) {
205 this.optionSource = optionSource;
243 * Parses the command-line arguments 'args', setting the @Option fields of the 'optionSource' provided to the constructor.
348 defaultOptionMap.put(field, field.get(optionSource));
351 Collection collection = (Collection) field.get(optionSource);
354 field.set(optionSource, value);
362 * Resets optionSource's fields to their default
    [all...]
  /tools/loganalysis/src/com/android/loganalysis/util/config/
OptionSetter.java 249 Object optionSource = fieldEntry.getKey();
259 setFieldValue(optionName, optionSource, field, value);
267 * @param optionSource the {@link Object} to set
273 static void setFieldValue(String optionName, Object optionSource, Field field, Object value)
278 Collection collection = (Collection)field.get(optionSource);
283 field.getName(), optionName, optionSource.getClass().getName()));
291 Map map = (Map)field.get(optionSource);
296 field.getName(), optionName, optionSource.getClass().getName()));
304 field.getName(), optionName, optionSource.getClass().getName()));
314 field.getName(), optionSource.getClass().getName()))
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/config/
OptionSetter.java 200 private Handler getHandlerOrTimeVal(Field field, Object optionSource)
209 field.getName(), optionSource.getClass().getName()));
376 final Object optionSource = fieldEntry.getKey();
378 final Handler handler = getHandlerOrTimeVal(field, optionSource);
409 if (setFieldValue(optionName, optionSource, field, key, value)) {
410 ret.add(new FieldDef(optionSource, field, key));
422 * @param optionSource the {@link Object} to set
431 static boolean setFieldValue(String optionName, Object optionSource, Field field, Object key,
444 Collection collection = (Collection)field.get(optionSource);
464 Map map = (Map) field.get(optionSource);
    [all...]
  /external/conscrypt/benchmark-android/
vogar.jar 

Completed in 179 milliseconds