Searched defs:dex (Results 1 - 25 of 30) sorted by last modified time

12

/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationAccess.java19 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 DAnnotation.java17 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 DClassData.java17 package com.android.dex;
H A DClassDef.java17 package com.android.dex;
H A DCode.java17 package com.android.dex;
H A DDex.java17 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 DDexException.java17 package com.android.dex;
19 import com.android.dex.util.ExceptionWithContext;
23 * processing a dex file.
H A DDexFormat.java17 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 DEncodedValue.java17 package com.android.dex;
19 import com.android.dex.util.ByteArrayByteInput;
20 import com.android.dex.util.ByteInput;
H A DEncodedValueCodec.java17 package com.android.dex;
19 import com.android.dex.util.ByteInput;
20 import com.android.dex.util.ByteOutput;
H A DEncodedValueReader.java17 package com.android.dex;
19 import com.android.dex.util.ByteInput;
H A DFieldId.java17 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 DLeb128.java17 package com.android.dex;
19 import com.android.dex.util.ByteInput;
20 import com.android.dex.util.ByteOutput;
H A DMethodId.java17 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 DMutf8.java17 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 DProtoId.java17 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 DSizeOf.java17 package com.android.dex;
H A DTableOfContents.java17 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 DTypeList.java17 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 DByteArrayByteInput.java17 package com.android.dex.util;
H A DByteInput.java17 package com.android.dex.util;
H A DByteOutput.java17 package com.android.dex.util;
H A DExceptionWithContext.java17 package com.android.dex.util;
H A DFileUtils.java17 package com.android.dex.util;
H A DUnsigned.java17 package com.android.dex.util;

Completed in 809 milliseconds

12