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.java170 Class<?> cType = (Class<?>) type; in getHandler() local
172 if (cType.isEnum()) { in getHandler()
173 return new EnumHandler(cType); in getHandler()
174 } else if (Collection.class.isAssignableFrom(cType)) { in getHandler()
181 } else if (Map.class.isAssignableFrom(cType)) { in getHandler()
188 } else if (MultiMap.class.isAssignableFrom(cType)) { in getHandler()
196 return handlers.get(cType); in getHandler()
223 final Class<?> cType = (Class<?>) type; in getHandlerOrTimeVal() local
224 if (long.class.equals(cType) || Long.class.equals(cType)) { in getHandlerOrTimeVal()
228 } 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()