Home
last modified time | relevance | path

Searched refs:dexType (Results 1 – 4 of 4) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/shaking/
DMainDexListBuilder.java82 DexType dexType = clazz.type; in traceRuntimeAnnotationsWithEnumForMainDex() local
83 if (mainDexTypes.contains(dexType)) { in traceRuntimeAnnotationsWithEnumForMainDex()
86 if (isAnnotation(dexType) && isAnnotationWithEnum(dexType)) { in traceRuntimeAnnotationsWithEnumForMainDex()
87 addMainDexType(dexType); in traceRuntimeAnnotationsWithEnumForMainDex()
93 addMainDexType(dexType); in traceRuntimeAnnotationsWithEnumForMainDex()
100 private boolean isAnnotationWithEnum(DexType dexType) { in isAnnotationWithEnum() argument
101 Boolean value = annotationTypeContainEnum.get(dexType); in isAnnotationWithEnum()
103 DexClass clazz = appInfo.definitionFor(dexType); in isAnnotationWithEnum()
125 annotationTypeContainEnum.put(dexType, value); in isAnnotationWithEnum()
138 private boolean isProgramClass(DexType dexType) { in isProgramClass() argument
[all …]
/external/r8/src/test/java/com/android/tools/r8/maindexlist/
DMainDexTracingTest.java140 .filter(dexType -> isApplicationClass(dexType, result) != null) in doTest()
141 .map(dexType -> dexType.descriptor.toString()) in doTest()
164 private Object isApplicationClass(DexType dexType, CompilationResult result) { in isApplicationClass() argument
165 DexClass clazz = result.appInfo.definitionFor(dexType); in isApplicationClass()
/external/r8/src/test/java/com/android/tools/r8/utils/
DDexInspector.java785 private final DexType dexType; field in DexInspector.TypeSubject
787 public TypeSubject(DexType dexType) { in TypeSubject() argument
788 this.dexType = dexType; in TypeSubject()
797 return dexType.equals(toDexType(type)); in is()
801 return dexType.toSourceString(); in toString()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DJarSourceCode.java2342 DexType dexType = application.getTypeFromDescriptor(desc); in build() local
2345 builder.addNewArrayEmpty(array, count, dexType); in build()
2399 DexType dexType = application.getTypeFromName(insn.desc); in build() local
2401 builder.addNewInstance(dest, dexType); in build()
2413 DexType dexType = application.getTypeFromDescriptor(type.getDescriptor()); in build() local
2417 builder.addCheckCast(object, dexType); in build()
2423 DexType dexType = application.getTypeFromDescriptor(type.getDescriptor()); in build() local
2424 builder.addInstanceOf(dest, obj, dexType); in build()