Searched refs:typeName (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CurrentApiHelper.java | 154 String typeName = ((Element) nodes.item(i)).getAttribute(ATTRIBUTE_TYPE); in getParamTypes() local 155 paramTypes[i] = getClassByName(typeName); in getParamTypes() 163 private static Class getClassByName(String typeName) throws ClassNotFoundException { in getClassByName() argument 166 while (typeName.endsWith("[]")) { in getClassByName() 168 typeName = typeName.substring(0, typeName.length() - 2); in getClassByName() 172 typeName = typeName.replaceAll("([A-Z].*)\\.", "$1\\$"); in getClassByName() 175 typeName = typeName.replaceAll("<.*>$", ""); in getClassByName() 178 if (isPrimitiveTypeName(typeName)) { in getClassByName() 179 return PRIMITIVE_TYPES.get(typeName); in getClassByName() 181 return Class.forName(typeName); in getClassByName() [all …]
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/ |
D | MethodSignature.java | 130 private static TypeMirror typeForString(String typeName, Types types, Elements elements) { in typeForString() argument 131 if (typeName.equals("void")) { in typeForString() 135 if (typeName.contains("<")) { in typeForString() 137 return typeForString(typeName.split("<", 2)[0], types, elements); in typeForString() 140 if (typeName.endsWith("[]")) { in typeForString() 142 typeForString(typeName.substring(0, typeName.length() - 2), types, elements)); in typeForString() 146 return types.getPrimitiveType(TypeKind.valueOf(typeName.toUpperCase())); in typeForString() 151 TypeElement element = elements.getTypeElement(typeName); in typeForString() 154 element = elements.getTypeElement("java.lang." + typeName); in typeForString() 158 throw new IllegalStateException("Unknown type: " + typeName); in typeForString()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ResourceNameTest.java | 37 final String typeName = res.getResourceTypeName(R.configVarying.simple); in testGetResourceName() local 38 assertEquals("configVarying", typeName); in testGetResourceName()
|
D | ResourcesTest.java | 711 final String typeName = mResources.getResourceTypeName(R.configVarying.simple); in testGetResourceName() local 712 assertEquals(CONFIG_VARYING, typeName); in testGetResourceName()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | KeyframeTest.java | 90 String typeName = typeClass.getName(); in testGetType() local 91 assertEquals(typeName, "float"); in testGetType()
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | XmlApiParser.java | 378 private static String stripGenericsArgs(String typeName) { in stripGenericsArgs() argument 379 return typeName == null ? null : typeName.replaceFirst("<.*", ""); in stripGenericsArgs()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | DataFormatter.java | 373 private static void logMarshalling(String operation, int index, String typeName, in logMarshalling() argument 376 Log.v(TAG, operation + " on " + index + ": typeName=" + typeName + ", type=" + type in logMarshalling()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | Users.java | 172 public UserType supportedType(String typeName) { in supportedType() argument 174 return mCachedUserTypes.get(typeName); in supportedType()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | ReflectionHelper.java | 422 String typeName = typeToString(((GenericArrayType) type).getGenericComponentType()); in typeToString() local 423 return typeName + "[]"; in typeToString()
|