/libcore/luni/src/main/java/libcore/reflect/ |
H A D | AnnotationAccess.java | 19 import com.android.dex.ClassDef; 20 import com.android.dex.Dex; 21 import com.android.dex.EncodedValueReader; 22 import com.android.dex.FieldId; 23 import com.android.dex.MethodId; 24 import com.android.dex.ProtoId; 25 import com.android.dex.TypeList; 44 * Look up annotations from a dex file. 170 com.android.dex.Annotation a = getMethodAnnotation(element, annotationClass); 184 private static com.android.dex 541 getTypeIndex(Dex dex, Class<?> c) argument 556 getAnnotationReader( Dex dex, AnnotatedElement element, String annotationName, int expectedFieldCount) argument 598 getOnlyAnnotationValue( Dex dex, AnnotatedElement element, String annotationName) argument 608 getAnnotationClass(Class<?> context, Dex dex, int typeIndex) argument 623 indexToMethod(Class<?> context, Dex dex, int methodIndex) argument 674 toAnnotationInstance(Class<?> context, Dex dex, Class<A> annotationClass, EncodedValueReader reader) argument 698 decodeValue(Class<?> context, Class<?> type, Dex dex, EncodedValueReader reader) argument [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
H A D | Annotation.java | 17 package com.android.dex; 19 import static com.android.dex.EncodedValueReader.ENCODED_ANNOTATION; 25 private final Dex dex; field in class:Annotation 29 public Annotation(Dex dex, byte visibility, EncodedValue encodedAnnotation) { argument 30 this.dex = dex; 59 return dex == null 61 : visibility + " " + dex.typeNames().get(getTypeIndex());
|
H A D | ClassData.java | 17 package com.android.dex;
|
H A D | ClassDef.java | 17 package com.android.dex;
|
H A D | Code.java | 17 package com.android.dex;
|
H A D | Dex.java | 17 package com.android.dex; 19 import com.android.dex.Code.CatchHandler; 20 import com.android.dex.Code.Try; 21 import com.android.dex.util.ByteInput; 22 import com.android.dex.util.ByteOutput; 23 import com.android.dex.util.FileUtils; 48 * The bytes of a dex file in memory for reading and writing. All int offsets 71 * Creates a new dex that reads from {@code data}. It is an error to modify 72 * {@code data} after using it to create a dex buffer. 85 * Creates a new empty dex o [all...] |
H A D | DexException.java | 17 package com.android.dex; 19 import com.android.dex.util.ExceptionWithContext; 23 * processing a dex file.
|
H A D | DexFormat.java | 17 package com.android.dex; 20 * Constants that show up in and are otherwise related to {@code .dex} 36 * file name of the primary {@code .dex} file inside an 39 public static final String DEX_IN_JAR_NAME = "classes.dex"; 41 /** common prefix for all dex file "magic numbers" */ 42 public static final String MAGIC_PREFIX = "dex\n"; 44 /** common suffix for all dex file "magic numbers" */ 47 /** dex file version number for the current format variant */ 50 /** dex file version number for API level 13 and earlier */ 73 * or {@code -1} if the given array is not a well-formed dex fil [all...] |
H A D | EncodedValue.java | 17 package com.android.dex; 19 import com.android.dex.util.ByteArrayByteInput; 20 import com.android.dex.util.ByteInput;
|
H A D | EncodedValueCodec.java | 17 package com.android.dex; 19 import com.android.dex.util.ByteInput; 20 import com.android.dex.util.ByteOutput;
|
H A D | EncodedValueReader.java | 17 package com.android.dex; 19 import com.android.dex.util.ByteInput;
|
H A D | FieldId.java | 17 package com.android.dex; 19 import com.android.dex.util.Unsigned; 22 private final Dex dex; field in class:FieldId 27 public FieldId(Dex dex, int declaringClassIndex, int typeIndex, int nameIndex) { argument 28 this.dex = dex; 63 if (dex == null) { 66 return dex.typeNames().get(typeIndex) + "." + dex.strings().get(nameIndex);
|
H A D | Leb128.java | 17 package com.android.dex; 19 import com.android.dex.util.ByteInput; 20 import com.android.dex.util.ByteOutput;
|
H A D | MethodId.java | 17 package com.android.dex; 19 import com.android.dex.util.Unsigned; 22 private final Dex dex; field in class:MethodId 27 public MethodId(Dex dex, int declaringClassIndex, int protoIndex, int nameIndex) { argument 28 this.dex = dex; 63 if (dex == null) { 66 return dex.typeNames().get(declaringClassIndex) 67 + "." + dex.strings().get(nameIndex) 68 + dex [all...] |
H A D | Mutf8.java | 17 package com.android.dex; 19 import com.android.dex.util.ByteInput; 23 * Modified UTF-8 as described in the dex file format spec.
|
H A D | ProtoId.java | 17 package com.android.dex; 19 import com.android.dex.util.Unsigned; 22 private final Dex dex; field in class:ProtoId 27 public ProtoId(Dex dex, int shortyIndex, int returnTypeIndex, int parametersOffset) { argument 28 this.dex = dex; 60 if (dex == null) { 64 return dex.strings().get(shortyIndex) 65 + ": " + dex.typeNames().get(returnTypeIndex) 66 + " " + dex [all...] |
H A D | SizeOf.java | 17 package com.android.dex;
|
H A D | TableOfContents.java | 17 package com.android.dex; 68 public void readFrom(Dex dex) throws IOException { argument 69 readHeader(dex.open(0)); 70 readMap(dex.open(mapList.off)); 97 throw new DexException("Cannot merge dex files that do not contain a map");
|
H A D | TypeList.java | 17 package com.android.dex; 19 import com.android.dex.util.Unsigned; 25 private final Dex dex; field in class:TypeList 28 public TypeList(Dex dex, short[] types) { argument 29 this.dex = dex; 50 result.append(dex != null ? dex.typeNames().get(types[i]) : types[i]);
|
/libcore/dex/src/main/java/com/android/dex/util/ |
H A D | ByteArrayByteInput.java | 17 package com.android.dex.util;
|
H A D | ByteInput.java | 17 package com.android.dex.util;
|
H A D | ByteOutput.java | 17 package com.android.dex.util;
|
H A D | ExceptionWithContext.java | 17 package com.android.dex.util;
|
H A D | FileUtils.java | 17 package com.android.dex.util;
|
H A D | Unsigned.java | 17 package com.android.dex.util;
|