/libcore/ojluni/src/main/java/java/lang/ |
TypeNotPresentException.java | 49 private String typeName; 55 * @param typeName the fully qualified name of the unavailable type 59 public TypeNotPresentException(String typeName, Throwable cause) { 60 super("Type " + typeName + " not present", cause); 61 this.typeName = typeName; 69 public String typeName() { return typeName;}
|
/development/tools/apkcheck/src/com/android/apkcheck/ |
TypeUtils.java | 105 static String classNameOnly(String typeName) { 106 int start = typeName.lastIndexOf("."); 108 return typeName; 110 return typeName.substring(start+1); 117 static String packageNameOnly(String typeName) { 118 int end = typeName.lastIndexOf("."); 123 return typeName.substring(0, end); 144 public static String ambiguousToBinaryName(String typeName, ApiList apiList) { 163 typeName = stripAngleBrackets(typeName); [all...] |
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
ErrorMessagesTest.java | 27 String typeName = "com.google.common.collect.ImmutableList<java.lang.Boolean>"; 28 assertThat(ErrorMessages.stripCommonTypePrefixes(typeName)).isEqualTo("ImmutableList<Boolean>");
|
/external/desugar/java/com/google/devtools/common/options/ |
EnumConverter.java | 33 private final String typeName; 42 * @param typeName The intuitive name of your enumeration, for example, the 45 protected EnumConverter(Class<T> enumType, String typeName) { 47 this.typeName = typeName; 60 throw new OptionsParsingException("Not a valid " + typeName + ": '"
|
/cts/tools/dex-tools/src/dex/reader/ |
TypeFormatter.java | 45 public String format(String typeName) { 46 if (typeName.length() == 1) { 47 switch (typeName.charAt(0)) { 68 if (typeName.startsWith("L")) { 69 return typeName.substring(1, typeName.length() - 1).replace( 71 } else if (typeName.startsWith("[")) { 72 return format(typeName.substring(1)) + "[]"; 75 System.err.println("Strange type in formatter: " + typeName); 76 return typeName; [all...] |
DexParameterImpl.java | 28 private final String typeName; 36 public DexParameterImpl(DexBuffer buffer, String typeName, 40 this.typeName = typeName; 61 return typeName;
|
/frameworks/base/tools/preload/ |
Record.java | 167 String vmTypeToLanguage(String typeName) { 168 // if the typename is (null), just return it as-is. This is probably in dexopt and 171 if ("(null)".equals(typeName)) { 172 return typeName; 175 if (!typeName.startsWith("L") || !typeName.endsWith(";") ) { 176 throw new AssertionError("Bad name: " + typeName + " in line " + sourceLineNumber); 179 typeName = typeName.substring(1, typeName.length() - 1) [all...] |
/external/desugar/java/com/google/devtools/build/android/desugar/ |
CoreLibraryRewriter.java | 56 private static boolean shouldPrefix(String typeName) { 57 return (typeName.startsWith("java/") || typeName.startsWith("sun/")) && !except(typeName); 60 private static boolean except(String typeName) { 61 if (typeName.startsWith("java/lang/invoke/")) { 65 switch (typeName) { 91 public String prefix(String typeName) { 92 if (prefix.length() > 0 && shouldPrefix(typeName)) { 93 return prefix + typeName; [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstMethodRef.java | 36 public String typeName() {
|
CstInterfaceMethodRef.java | 43 public String typeName() {
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstMethodRef.java | 36 public String typeName() {
|
CstInterfaceMethodRef.java | 43 public String typeName() {
|
/libcore/ojluni/src/main/java/java/sql/ |
SQLData.java | 106 * @param typeName the SQL type name of the value on the data stream 113 void readSQL (SQLInput stream, String typeName) throws SQLException;
|
/external/r8/src/main/java/com/android/tools/r8/utils/ |
DescriptorUtils.java | 29 private static String internalToDescriptor(String typeName, boolean shorty) { 30 String descriptor = typeNameToLetterMap.get(typeName); 38 if (typeName.endsWith("[]")) { 39 return "[" + internalToDescriptor(typeName.substring(0, typeName.length() - 2), shorty); 42 return "L" + typeName.replace(JAVA_PACKAGE_SEPARATOR, DESCRIPTOR_PACKAGE_SEPARATOR) + ";"; 48 * @param typeName the java type name 51 public static String javaTypeToDescriptor(String typeName) { 52 assert typeName.indexOf(DESCRIPTOR_PACKAGE_SEPARATOR) == -1; 53 return internalToDescriptor(typeName, false) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ItemType.java | 52 private final String typeName; 61 * @param typeName {@code non-null;} name of the type 63 private ItemType(int mapValue, String typeName) { 65 this.typeName = typeName; 68 String human = typeName; 90 return typeName;
|
Item.java | 46 public final String typeName() {
|
/dalvik/dx/src/com/android/dx/dex/file/ |
ItemType.java | 54 private final String typeName; 63 * @param typeName {@code non-null;} name of the type 65 private ItemType(int mapValue, String typeName) { 67 this.typeName = typeName; 70 String human = typeName; 92 return typeName;
|
Item.java | 46 public final String typeName() {
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/vo/ |
Pojo.kt | 19 import android.arch.persistence.room.ext.typeName 20 import com.squareup.javapoet.TypeName 32 val typeName: TypeName by lazy { type.typeName() }
|
CustomTypeConverter.kt | 20 import android.arch.persistence.room.ext.typeName 21 import com.squareup.javapoet.TypeName 32 val typeName: TypeName by lazy { type.typeName() } 33 val fromTypeName: TypeName by lazy { from.typeName() } 34 val toTypeName: TypeName by lazy { to.typeName() }
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/solver/query/result/ |
FlowableQueryResultBinder.kt | 24 import android.arch.persistence.room.ext.typeName 43 val typeName = typeArg.typeName() 44 superclass(ParameterizedTypeName.get(java.util.concurrent.Callable::class.typeName(), 45 typeName)) 47 returns(typeName) 48 addException(Exception::class.typeName())
|
ArrayQueryResultAdapter.kt | 21 import android.arch.persistence.room.ext.typeName 24 import com.squareup.javapoet.TypeName 32 val arrayType = ArrayTypeName.of(type.typeName()) 34 arrayType, outVarName, type.typeName(), cursorVarName) 37 addStatement("$T $L = 0", TypeName.INT, indexVar) 39 addStatement("final $T $L", type.typeName(), tmpVarName)
|
LiveDataQueryResultBinder.kt | 24 import android.arch.persistence.room.ext.typeName 31 import com.squareup.javapoet.TypeName 45 val typeName = typeArg.typeName() 49 typeName)) 55 typeName = typeName, 67 private fun createComputeMethod(roomSQLiteQueryVar: String, typeName: TypeName, 73 returns(typeName) [all...] |
/frameworks/support/room/compiler/src/test/kotlin/android/arch/persistence/room/processor/ |
InsertionMethodProcessorTest.kt | 24 import android.arch.persistence.room.ext.typeName 38 import com.squareup.javapoet.TypeName 58 val USER_TYPE_NAME : TypeName = COMMON.USER_TYPE_NAME 59 val BOOK_TYPE_NAME : TypeName = ClassName.get("foo.bar", "Book") 71 assertThat(insertion.returnType.typeName(), `is`(TypeName.VOID)) 87 assertThat(param.type.typeName(), `is`(USER_TYPE_NAME)) 88 assertThat(param.entityType?.typeName(), `is`(USER_TYPE_NAME)) 89 assertThat(insertion.entities["user"]?.typeName, 90 `is`(ClassName.get("foo.bar", "User") as TypeName)) [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
CurrentApiHelper.java | 154 String typeName = ((Element) nodes.item(i)).getAttribute(ATTRIBUTE_TYPE); 155 paramTypes[i] = getClassByName(typeName); 163 private static Class getClassByName(String typeName) throws ClassNotFoundException { 164 // Check if typeName represents an array 166 while (typeName.endsWith("[]")) { 168 typeName = typeName.substring(0, typeName.length() - 2); 172 typeName = typeName.replaceAll("<.*>$", "") [all...] |