Home
last modified time | relevance | path

Searched refs:cType (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java168 Class<?> cType = (Class<?>) type; in getHandler() local
170 if (cType.isEnum()) { in getHandler()
171 return new EnumHandler(cType); in getHandler()
172 } else if (Collection.class.isAssignableFrom(cType)) { in getHandler()
179 } else if (Map.class.isAssignableFrom(cType)) { in getHandler()
186 } else if (MultiMap.class.isAssignableFrom(cType)) { in getHandler()
194 return handlers.get(cType); in getHandler()
221 final Class<?> cType = (Class<?>) type; in getHandlerOrTimeVal() local
222 if (long.class.equals(cType) || Long.class.equals(cType)) { in getHandlerOrTimeVal()
226 } else if (TimeVal.class.equals(cType)) { in getHandlerOrTimeVal()
[all …]
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java119 Class<?> cType = (Class<?>) type; in getHandler() local
121 if (cType.isEnum()) { in getHandler()
122 return new EnumHandler(cType); in getHandler()
123 } else if (Collection.class.isAssignableFrom(cType)) { in getHandler()
130 } else if (Map.class.isAssignableFrom(cType)) { in getHandler()
138 return handlers.get(cType); in getHandler()
456 Class cType = (Class) type; in addOptionsForObject() local
457 if (!(Comparable.class.isAssignableFrom(cType))) { in addOptionsForObject()