HomeSort by relevance Sort by last modified time
    Searched defs:dexFile (Results 1 - 25 of 156) sorted by null

1 2 3 4 5 6 7

  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DexBackedAnnotationElement.java 41 @Nonnull private final DexBackedDexFile dexFile;
46 this.dexFile = reader.dexBuf;
51 @Nonnull @Override public String getName() { return dexFile.getString(nameIndex); }
DexBackedTypedExceptionHandler.java 37 @Nonnull private final DexBackedDexFile dexFile;
42 this.dexFile = reader.dexBuf;
47 @Nonnull @Override public String getExceptionType() { return dexFile.getType(typeId); }
DexBackedAnnotation.java 41 @Nonnull public final DexBackedDexFile dexFile;
47 public DexBackedAnnotation(@Nonnull DexBackedDexFile dexFile,
49 this.dexFile = dexFile;
51 DexReader reader = dexFile.readerAt(annotationOffset);
58 @Nonnull @Override public String getType() { return dexFile.getType(typeIndex); }
63 DexReader reader = dexFile.readerAt(elementsOffset);
66 return new VariableSizeSet<DexBackedAnnotationElement>(dexFile, reader.getOffset(), size) {
DexBackedMethodImplementation.java 52 @Nonnull public final DexBackedDexFile dexFile;
56 public DexBackedMethodImplementation(@Nonnull DexBackedDexFile dexFile,
59 this.dexFile = dexFile;
64 @Override public int getRegisterCount() { return dexFile.readUshort(codeOffset); }
68 int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET);
75 return new VariableSizeLookaheadIterator<Instruction>(dexFile, instructionsStartOffset) {
99 final int triesSize = dexFile.readUshort(codeOffset + CodeItem.TRIES_SIZE_OFFSET);
101 int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET);
110 return new DexBackedTryBlock(dexFile,
    [all...]
DexBackedTryBlock.java 42 @Nonnull public final DexBackedDexFile dexFile;
46 public DexBackedTryBlock(@Nonnull DexBackedDexFile dexFile,
49 this.dexFile = dexFile;
55 return dexFile.readSmallUint(tryItemOffset + CodeItem.TryItem.START_ADDRESS_OFFSET);
59 return dexFile.readUshort(tryItemOffset + CodeItem.TryItem.CODE_UNIT_COUNT_OFFSET);
65 DexReader reader = dexFile.readerAt(
66 handlersStartOffset + dexFile.readUshort(tryItemOffset + CodeItem.TryItem.HANDLER_OFFSET));
71 return new VariableSizeList<DexBackedTypedExceptionHandler>(dexFile, reader.getOffset(), encodedSize) {
81 return new VariableSizeList<DexBackedExceptionHandler>(dexFile, reader.getOffset(), sizeWithCatchAll)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DexBackedStringReference.java 40 @Nonnull public final DexBackedDexFile dexFile;
45 this.dexFile = dexBuf;
51 return dexFile.getString(stringIndex);
DexBackedTypeReference.java 40 @Nonnull public final DexBackedDexFile dexFile;
43 public DexBackedTypeReference(@Nonnull DexBackedDexFile dexFile,
45 this.dexFile = dexFile;
50 return dexFile.getType(typeIndex);
DexBackedFieldReference.java 41 @Nonnull public final DexBackedDexFile dexFile;
44 public DexBackedFieldReference(@Nonnull DexBackedDexFile dexFile, int fieldIndex) {
45 this.dexFile = dexFile;
46 this.fieldIdItemOffset = dexFile.getFieldIdItemOffset(fieldIndex);
52 return dexFile.getType(dexFile.readUshort(fieldIdItemOffset + FieldIdItem.CLASS_OFFSET));
58 return dexFile.getString(dexFile.readSmallUint(fieldIdItemOffset + FieldIdItem.NAME_OFFSET));
64 return dexFile.getType(dexFile.readUshort(fieldIdItemOffset + FieldIdItem.TYPE_OFFSET))
    [all...]
DexBackedMethodReference.java 46 @Nonnull public final DexBackedDexFile dexFile;
50 public DexBackedMethodReference(@Nonnull DexBackedDexFile dexFile, int methodIndex) {
51 this.dexFile = dexFile;
52 this.methodIdItemOffset = dexFile.getMethodIdItemOffset(methodIndex);
58 return dexFile.getType(dexFile.readUshort(methodIdItemOffset + MethodIdItem.CLASS_OFFSET));
64 return dexFile.getString(dexFile.readSmallUint(methodIdItemOffset + MethodIdItem.NAME_OFFSET));
71 final int parametersOffset = dexFile.readSmallUint(protoIdItemOffset + ProtoIdItem.PARAMETERS_OFFSET)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DexBackedEnumEncodedValue.java 43 @Nonnull public final DexBackedDexFile dexFile;
47 this.dexFile = reader.dexBuf;
52 return new DexBackedFieldReference(dexFile, fieldIndex);
DexBackedFieldEncodedValue.java 43 @Nonnull public final DexBackedDexFile dexFile;
47 this.dexFile = reader.dexBuf;
52 return new DexBackedFieldReference(dexFile, fieldIndex);
DexBackedMethodEncodedValue.java 43 @Nonnull public final DexBackedDexFile dexFile;
47 this.dexFile = reader.dexBuf;
52 return new DexBackedMethodReference(dexFile, MethodIndex);
DexBackedStringEncodedValue.java 41 @Nonnull public final DexBackedDexFile dexFile;
45 this.dexFile = reader.dexBuf;
50 return dexFile.getString(stringIndex);
DexBackedTypeEncodedValue.java 41 @Nonnull public final DexBackedDexFile dexFile;
45 this.dexFile = reader.dexBuf;
50 return dexFile.getType(typeIndex);
DexBackedAnnotationEncodedValue.java 45 @Nonnull public final DexBackedDexFile dexFile;
51 this.dexFile = reader.dexBuf;
52 this.type = dexFile.getType(reader.readSmallUleb128());
76 return new VariableSizeSet<DexBackedAnnotationElement>(dexFile, elementsOffset, elementCount) {
DexBackedArrayEncodedValue.java 45 @Nonnull public final DexBackedDexFile dexFile;
50 this.dexFile = reader.dexBuf;
70 return new VariableSizeList<EncodedValue>(dexFile, encodedArrayOffset, elementCount) {
  /cts/tools/dex-tools/test/dex/reader/
LargeDexTests.java 22 import dex.structure.DexFile;
45 DexFile dexFile = javaToDexUtil.getFrom(source);
46 assertEquals(1, dexFile.getDefinedClasses().size());
47 DexClass clazz = dexFile.getDefinedClasses().get(0);
  /cts/tools/signature-tools/test/signature/converter/dex/
DexTestConverter.java 21 import dex.structure.DexFile;
42 DexFile dexFile = toDexUtil.getAllFrom(sources);
43 return converter.convertApi("Dex Tests", Collections.singleton(dexFile), visibility);
GenericSignatureParserTest.java 25 import dex.structure.DexFile;
53 DexFile dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}"));
54 DexClass dexClass = getClass(dexFile, "LB;");
  /dalvik/dx/src/com/android/dx/command/findusages/
Main.java 26 String dexFile = args[0];
30 Dex dex = new Dex(new File(dexFile));
  /dalvik/dx/src/com/android/dx/command/grep/
Main.java 27 String dexFile = args[0];
30 Dex dex = new Dex(new File(dexFile));
  /dalvik/libdex/
DexProto.h 24 #include "DexFile.h"
77 * particular DexFile.
80 const DexFile* dexFile; /* file the idx refers to */
81 u4 protoIdx; /* index into proto_ids table of dexFile */
88 const DexFile* pDexFile, const DexMethodId* pMethodId)
90 pProto->dexFile = pDexFile;
123 DEX_INLINE const char* dexGetDescriptorFromMethodId(const DexFile* pDexFile,
137 DEX_INLINE char* dexCopyDescriptorFromMethodId(const DexFile* pDexFile,
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
VariableSizeCollection.java 41 @Nonnull private final DexBackedDexFile dexFile;
45 public VariableSizeCollection(@Nonnull DexBackedDexFile dexFile, int offset, int size) {
46 this.dexFile = dexFile;
56 return new VariableSizeIterator<T>(dexFile, offset, size) {
VariableSizeList.java 41 @Nonnull private final DexBackedDexFile dexFile;
45 public VariableSizeList(@Nonnull DexBackedDexFile dexFile, int offset, int size) {
46 this.dexFile = dexFile;
64 VariableSizeListIterator<T> iterator = new VariableSizeListIterator<T>(dexFile, offset, size) {
VariableSizeSet.java 41 @Nonnull private final DexBackedDexFile dexFile;
45 public VariableSizeSet(@Nonnull DexBackedDexFile dexFile, int offset, int size) {
46 this.dexFile = dexFile;
56 return new VariableSizeIterator<T>(dexFile, offset, size) {

Completed in 1164 milliseconds

1 2 3 4 5 6 7