Home
last modified time | relevance | path

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

/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java101 Type keyType = parameterizedType.getActualTypeArguments()[0]; in getHandler() local
103 if (!(keyType instanceof Class)) { in getHandler()
105 "cannot handle nested parameterized type " + keyType); in getHandler()
111 return new MapHandler(getHandler(keyType), getHandler(valueType)); in getHandler()
357 Type keyType = pType.getActualTypeArguments()[0]; in setOptionMapValue()
360 String keyTypeName = ((Class<?>)keyType).getSimpleName().toLowerCase(); in setOptionMapValue()
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java150 Type keyType = parameterizedType.getActualTypeArguments()[0]; in getHandler() local
152 if (!(keyType instanceof Class)) { in getHandler()
154 "cannot handle nested parameterized type " + keyType); in getHandler()
160 return new MapHandler(getHandler(keyType), getHandler(valueType)); in getHandler()
404 Type keyType = pType.getActualTypeArguments()[0]; in setOptionValue() local
405 String type = ((Class<?>)keyType).getSimpleName().toLowerCase(); in setOptionValue()