Home
last modified time | relevance | path

Searched refs:dexFile (Results 1 – 25 of 111) sorted by relevance

12345

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedInstruction.java44 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedInstruction
48 public DexBackedInstruction(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction() argument
51 this.dexFile = dexFile; in DexBackedInstruction()
74 …private static DexBackedInstruction buildInstruction(@Nonnull DexBackedDexFile dexFile, @Nullable … in buildInstruction() argument
77 return new DexBackedUnknownInstruction(dexFile, instructionStartOffset); in buildInstruction()
81 return new DexBackedInstruction10t(dexFile, opcode, instructionStartOffset); in buildInstruction()
83 return new DexBackedInstruction10x(dexFile, opcode, instructionStartOffset); in buildInstruction()
85 return new DexBackedInstruction11n(dexFile, opcode, instructionStartOffset); in buildInstruction()
87 return new DexBackedInstruction11x(dexFile, opcode, instructionStartOffset); in buildInstruction()
89 return new DexBackedInstruction12x(dexFile, opcode, instructionStartOffset); in buildInstruction()
[all …]
DDexBackedInstruction35c.java44 public DexBackedInstruction35c(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction35c() argument
47 super(dexFile, opcode, instructionStart); in DexBackedInstruction35c()
51 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterCount()
56 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterC()
61 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterD()
66 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterE()
71 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterF()
76 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterG()
82 return DexBackedReference.makeReference(dexFile, opcode.referenceType, in getReference()
83 dexFile.readUshort(instructionStart + 2)); in getReference()
DDexBackedInstruction35mi.java42 public DexBackedInstruction35mi(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction35mi() argument
45 super(dexFile, opcode, instructionStart); in DexBackedInstruction35mi()
49 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterCount()
54 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterC()
59 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterD()
64 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterE()
69 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterF()
74 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterG()
79 return dexFile.readUshort(instructionStart + 2); in getInlineIndex()
DDexBackedInstruction35ms.java42 public DexBackedInstruction35ms(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction35ms() argument
45 super(dexFile, opcode, instructionStart); in DexBackedInstruction35ms()
49 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterCount()
54 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterC()
59 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterD()
64 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterE()
69 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterF()
74 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterG()
79 return dexFile.readUshort(instructionStart + 2); in getVtableIndex()
DDexBackedInstruction25x.java42 public DexBackedInstruction25x(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction25x() argument
45 super(dexFile, opcode, instructionStart); in DexBackedInstruction25x()
55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getParameterRegisterCount()
60 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 2)); in getRegisterFixedC()
65 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 2)); in getRegisterParameterD()
70 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 3)); in getRegisterParameterE()
75 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 3)); in getRegisterParameterF()
80 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterParameterG()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DHeaderItem.java92 @Nonnull private RawDexFile dexFile; field in HeaderItem
94 public HeaderItem(@Nonnull RawDexFile dexFile) { in HeaderItem() argument
95 this.dexFile = dexFile; in HeaderItem()
99 return dexFile.readSmallUint(CHECKSUM_OFFSET); in getChecksum()
103 return dexFile.readByteRange(SIGNATURE_OFFSET, SIGNATURE_SIZE); in getSignature()
107 return dexFile.readSmallUint(MAP_OFFSET); in getMapOffset()
111 return dexFile.readSmallUint(HEADER_SIZE_OFFSET); in getHeaderSize()
115 return dexFile.readSmallUint(STRING_COUNT_OFFSET); in getStringCount()
119 return dexFile.readSmallUint(STRING_START_OFFSET); in getStringOffset()
123 return dexFile.readSmallUint(TYPE_COUNT_OFFSET); in getTypeCount()
[all …]
DMethodIdItem.java57 int classIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
58 … out.annotate(2, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex)); in makeAnnotator()
60 int protoIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
61 … out.annotate(2, "proto_idx = %s", ProtoIdItem.getReferenceAnnotation(dexFile, protoIndex)); in makeAnnotator()
63 int nameIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
64 … out.annotate(4, "name_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, nameIndex)); in makeAnnotator()
70 public static String asString(@Nonnull DexBackedDexFile dexFile, int methodIndex) {
71 int methodOffset = dexFile.getMethodIdItemOffset(methodIndex);
72 int classIndex = dexFile.readUshort(methodOffset + CLASS_OFFSET);
73 String classType = dexFile.getType(classIndex);
[all …]
DFieldIdItem.java57 int classIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
58 … out.annotate(2, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex)); in makeAnnotator()
60 int typeIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
61 … out.annotate(2, "return_type_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, typeIndex)); in makeAnnotator()
63 int nameIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
64 … out.annotate(4, "name_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, nameIndex)); in makeAnnotator()
70 public static String asString(@Nonnull DexBackedDexFile dexFile, int fieldIndex) {
71 int fieldOffset = dexFile.getFieldIdItemOffset(fieldIndex);
72 int classIndex = dexFile.readUshort(fieldOffset + CLASS_OFFSET);
73 String classType = dexFile.getType(classIndex);
[all …]
DClassDefItem.java71 int classIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
72 … out.annotate(4, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex)); in makeAnnotator()
74 int accessFlags = dexFile.readInt(out.getCursor()); in makeAnnotator()
78 int superclassIndex = dexFile.readOptionalUint(out.getCursor()); in makeAnnotator()
80 TypeIdItem.getOptionalReferenceAnnotation(dexFile, superclassIndex)); in makeAnnotator()
82 int interfacesOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
83 …out.annotate(4, "interfaces_off = %s", TypeListItem.getReferenceAnnotation(dexFile, interfacesOffs… in makeAnnotator()
85 int sourceFileIdx = dexFile.readOptionalUint(out.getCursor()); in makeAnnotator()
86 … out.annotate(4, "source_file_idx = %s", StringIdItem.getOptionalReferenceAnnotation(dexFile, in makeAnnotator()
89 int annotationsOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
[all …]
DProtoIdItem.java57 int shortyIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
58 … out.annotate(4, "shorty_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, shortyIndex)); in makeAnnotator()
60 int returnTypeIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
61 …out.annotate(4, "return_type_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, returnTypeIndex… in makeAnnotator()
63 int parametersOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
64 …out.annotate(4, "parameters_off = %s", TypeListItem.getReferenceAnnotation(dexFile, parametersOffs… in makeAnnotator()
70 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int protoIndex) {
72 String protoString = asString(dexFile, protoIndex);
81 public static String asString(@Nonnull DexBackedDexFile dexFile, int protoIndex) {
82 int offset = dexFile.getProtoIdItemOffset(protoIndex);
[all …]
DAnnotationDirectoryItem.java59 int classAnnotationsOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
61 AnnotationSetItem.getReferenceAnnotation(dexFile, classAnnotationsOffset)); in makeAnnotator()
63 int fieldsSize = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
66 int annotatedMethodsSize = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
69 int annotatedParameterSize = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
78 int fieldIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
79 … out.annotate(4, "%s", FieldIdItem.getReferenceAnnotation(dexFile, fieldIndex)); in makeAnnotator()
80 int annotationOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
81 … out.annotate(4, "%s", AnnotationSetItem.getReferenceAnnotation(dexFile, annotationOffset)); in makeAnnotator()
93 int methodIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
[all …]
DStringIdItem.java54 int stringDataOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
56 String stringValue = dexFile.getString(itemIndex); in makeAnnotator()
72 … public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex) {
73 return getReferenceAnnotation(dexFile, stringIndex, false);
77 …public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex, bo…
79 String string = dexFile.getString(stringIndex);
92 …public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringI…
93 return getOptionalReferenceAnnotation(dexFile, stringIndex, false);
97 …public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringI…
102 return getReferenceAnnotation(dexFile, stringIndex, quote);
[all …]
DMapItem.java48 private final DexBackedDexFile dexFile; field in MapItem
51 public MapItem(DexBackedDexFile dexFile, int offset) { in MapItem() argument
52 this.dexFile = dexFile; in MapItem()
57 return dexFile.readUshort(offset + TYPE_OFFSET); in getType()
66 return dexFile.readSmallUint(offset + SIZE_OFFSET); in getItemCount()
70 return dexFile.readSmallUint(offset + OFFSET_OFFSET); in getOffset()
82 int itemType = dexFile.readUshort(out.getCursor()); in makeAnnotator()
87 int size = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
90 int offset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
96 int mapItemCount = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
DTypeIdItem.java53 int stringIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
54 out.annotate(4, StringIdItem.getReferenceAnnotation(dexFile, stringIndex)); in makeAnnotator()
60 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int typeIndex) {
62 String typeString = dexFile.getType(typeIndex);
71 …public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int typeInd…
75 return getReferenceAnnotation(dexFile, typeIndex);
78 public static String[] getTypes(@Nonnull RawDexFile dexFile) {
79 MapItem mapItem = dexFile.getMapItemForSection(ItemType.TYPE_ID_ITEM);
87 ret[i] = dexFile.getType(i);
DTypeListItem.java54 int size = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
58 int typeIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
59 out.annotate(2, TypeIdItem.getReferenceAnnotation(dexFile, typeIndex)); in makeAnnotator()
70 …public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int typeListOffset)…
76 String typeList = asString(dexFile, typeListOffset);
85 public static String asString(@Nonnull DexBackedDexFile dexFile, int typeListOffset) {
92 int size = dexFile.readSmallUint(typeListOffset);
94 int typeIndex = dexFile.readUshort(typeListOffset + 4 + i*2);
95 String type = dexFile.getType(typeIndex);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DAnnotationsDirectory.java59 public static AnnotationsDirectory newOrEmpty(@Nonnull DexBackedDexFile dexFile, in newOrEmpty() argument
64 return new AnnotationsDirectoryImpl(dexFile, directoryAnnotationsOffset); in newOrEmpty()
99 …c static Set<? extends DexBackedAnnotation> getAnnotations(@Nonnull final DexBackedDexFile dexFile, in getAnnotations() argument
102 final int size = dexFile.readSmallUint(annotationSetOffset); in getAnnotations()
107 … int annotationOffset = dexFile.readSmallUint(annotationSetOffset + 4 + (4*index)); in getAnnotations()
108 return new DexBackedAnnotation(dexFile, annotationOffset); in getAnnotations()
120 @Nonnull final DexBackedDexFile dexFile, final int annotationSetListOffset) {
122 final int size = dexFile.readSmallUint(annotationSetListOffset);
128 … int annotationSetOffset = dexFile.readSmallUint(annotationSetListOffset + 4 + index * 4);
129 return getAnnotations(dexFile, annotationSetOffset);
[all …]
DDebugInfo.java62 public static DebugInfo newOrEmpty(@Nonnull DexBackedDexFile dexFile, int debugInfoOffset, in newOrEmpty() argument
67 return new DebugInfoImpl(dexFile, debugInfoOffset, methodImpl); in newOrEmpty()
84 @Nonnull public final DexBackedDexFile dexFile; field in DebugInfo.DebugInfoImpl
88 public DebugInfoImpl(@Nonnull DexBackedDexFile dexFile, in DebugInfoImpl() argument
91 this.dexFile = dexFile; in DebugInfoImpl()
105 DexReader reader = dexFile.readerAt(debugInfoOffset); in iterator()
157 return new VariableSizeLookaheadIterator<DebugItem>(dexFile, reader.getOffset()) { in iterator()
181 … String name = dexFile.getOptionalString(reader.readSmallUleb128() - 1); in iterator()
182 … String type = dexFile.getOptionalType(reader.readSmallUleb128() - 1); in iterator()
190 … String name = dexFile.getOptionalString(reader.readSmallUleb128() - 1); in iterator()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DDexBackedMethodReference.java46 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedMethodReference
50 public DexBackedMethodReference(@Nonnull DexBackedDexFile dexFile, int methodIndex) { in DexBackedMethodReference() argument
51 this.dexFile = dexFile; in DexBackedMethodReference()
52 this.methodIdItemOffset = dexFile.getMethodIdItemOffset(methodIndex); in DexBackedMethodReference()
58 return dexFile.getType(dexFile.readUshort(methodIdItemOffset + MethodIdItem.CLASS_OFFSET)); in getDefiningClass()
64 … return dexFile.getString(dexFile.readSmallUint(methodIdItemOffset + MethodIdItem.NAME_OFFSET)); in getName()
71 …final int parametersOffset = dexFile.readSmallUint(protoIdItemOffset + ProtoIdItem.PARAMETERS_OFFS… in getParameterTypes()
73 … final int parameterCount = dexFile.readSmallUint(parametersOffset + TypeListItem.SIZE_OFFSET); in getParameterTypes()
79 return dexFile.getType(dexFile.readUshort(paramListStart + 2*index)); in getParameterTypes()
91 … return dexFile.getType(dexFile.readSmallUint(protoIdItemOffset + ProtoIdItem.RETURN_TYPE_OFFSET));
[all …]
DDexBackedFieldReference.java41 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedFieldReference
44 public DexBackedFieldReference(@Nonnull DexBackedDexFile dexFile, int fieldIndex) { in DexBackedFieldReference() argument
45 this.dexFile = dexFile; in DexBackedFieldReference()
46 this.fieldIdItemOffset = dexFile.getFieldIdItemOffset(fieldIndex); in DexBackedFieldReference()
52 return dexFile.getType(dexFile.readUshort(fieldIdItemOffset + FieldIdItem.CLASS_OFFSET)); in getDefiningClass()
58 … return dexFile.getString(dexFile.readSmallUint(fieldIdItemOffset + FieldIdItem.NAME_OFFSET)); in getName()
64 return dexFile.getType(dexFile.readUshort(fieldIdItemOffset + FieldIdItem.TYPE_OFFSET)); in getType()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedClassDef.java57 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedClassDef
72 public DexBackedClassDef(@Nonnull DexBackedDexFile dexFile, in DexBackedClassDef() argument
74 this.dexFile = dexFile; in DexBackedClassDef()
77 … int classDataOffset = dexFile.readSmallUint(classDefOffset + ClassDefItem.CLASS_DATA_OFFSET); in DexBackedClassDef()
85 DexReader reader = dexFile.readerAt(classDataOffset); in DexBackedClassDef()
98 return dexFile.getType(dexFile.readSmallUint(classDefOffset + ClassDefItem.CLASS_OFFSET)); in getType()
104 …return dexFile.getOptionalType(dexFile.readOptionalUint(classDefOffset + ClassDefItem.SUPERCLASS_O… in getSuperclass()
109 return dexFile.readSmallUint(classDefOffset + ClassDefItem.ACCESS_FLAGS_OFFSET); in getAccessFlags()
115 …return dexFile.getOptionalString(dexFile.readOptionalUint(classDefOffset + ClassDefItem.SOURCE_FIL… in getSourceFile()
121 …final int interfacesOffset = dexFile.readSmallUint(classDefOffset + ClassDefItem.INTERFACES_OFFSET… in getInterfaces()
[all …]
DDexBackedMethodImplementation.java52 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedMethodImplementation
56 public DexBackedMethodImplementation(@Nonnull DexBackedDexFile dexFile, in DexBackedMethodImplementation() argument
59 this.dexFile = dexFile; in DexBackedMethodImplementation()
64 @Override public int getRegisterCount() { return dexFile.readUshort(codeOffset); } in getRegisterCount()
68 … int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET); in getInstructions()
75 … return new VariableSizeLookaheadIterator<Instruction>(dexFile, instructionsStartOffset) { in getInstructions()
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,
126 int debugOffset = dexFile.readInt(codeOffset + CodeItem.DEBUG_INFO_OFFSET);
[all …]
DDexBackedMethod.java55 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedMethod
73 this.dexFile = reader.dexBuf; in DexBackedMethod()
92 this.dexFile = reader.dexBuf; in DexBackedMethod()
113 …return dexFile.getString(dexFile.readSmallUint(getMethodIdItemOffset() + MethodIdItem.NAME_OFFSET)… in getName()
119 …return dexFile.getType(dexFile.readSmallUint(getProtoIdItemOffset() + ProtoIdItem.RETURN_TYPE_OFFS… in getReturnType()
146 … return AnnotationsDirectory.getParameterAnnotations(dexFile, parameterAnnotationSetListOffset);
163 … final int parameterCount = dexFile.readSmallUint(parametersOffset + TypeListItem.SIZE_OFFSET);
169 return dexFile.getType(dexFile.readUshort(paramListStart + 2*index));
180 return AnnotationsDirectory.getAnnotations(dexFile, methodAnnotationSetOffset);
187 return new DexBackedMethodImplementation(dexFile, this, codeOffset);
[all …]
DDexBackedTryBlock.java42 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedTryBlock
46 public DexBackedTryBlock(@Nonnull DexBackedDexFile dexFile, in DexBackedTryBlock() argument
49 this.dexFile = dexFile; in DexBackedTryBlock()
55 return dexFile.readSmallUint(tryItemOffset + CodeItem.TryItem.START_ADDRESS_OFFSET); in getStartCodeAddress()
59 return dexFile.readUshort(tryItemOffset + CodeItem.TryItem.CODE_UNIT_COUNT_OFFSET); in getCodeUnitCount()
65 DexReader reader = dexFile.readerAt( in getExceptionHandlers()
66 … handlersStartOffset + dexFile.readUshort(tryItemOffset + CodeItem.TryItem.HANDLER_OFFSET)); in getExceptionHandlers()
71 …return new VariableSizeList<DexBackedTypedExceptionHandler>(dexFile, reader.getOffset(), encodedSi… in getExceptionHandlers()
81 …return new VariableSizeList<DexBackedExceptionHandler>(dexFile, reader.getOffset(), sizeWithCatchA… in getExceptionHandlers()
DDexBackedAnnotation.java41 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedAnnotation
47 public DexBackedAnnotation(@Nonnull DexBackedDexFile dexFile, in DexBackedAnnotation() argument
49 this.dexFile = dexFile; in DexBackedAnnotation()
51 DexReader reader = dexFile.readerAt(annotationOffset); in DexBackedAnnotation()
58 @Nonnull @Override public String getType() { return dexFile.getType(typeIndex); } in getType()
63 DexReader reader = dexFile.readerAt(elementsOffset); in getElements()
66 return new VariableSizeSet<DexBackedAnnotationElement>(dexFile, reader.getOffset(), size) { in getElements()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DDexFileFactory.java65 public static DexBackedDexFile loadDexFile(@Nonnull File dexFile, int api) throws IOException { in loadDexFile() argument
66 return loadDexFile(dexFile, api, false); in loadDexFile()
70 public static DexBackedDexFile loadDexFile(@Nonnull File dexFile, int api, boolean experimental) in loadDexFile() argument
72 return loadDexFile(dexFile, null, Opcodes.forApi(api, experimental)); in loadDexFile()
76 …public static DexBackedDexFile loadDexFile(@Nonnull File dexFile, @Nullable String dexEntry, int a… in loadDexFile() argument
78 return loadDexFile(dexFile, dexEntry, Opcodes.forApi(api, experimental)); in loadDexFile()
82 public static DexBackedDexFile loadDexFile(@Nonnull File dexFile, @Nullable String dexEntry, in loadDexFile() argument
87 zipFile = new ZipFile(dexFile); in loadDexFile()
94 …throw new DexFileNotFound("zip file %s does not contain a %s file", dexFile.getName(), zipEntryNam… in loadDexFile()
99 zipEntryName, dexFile.getName()); in loadDexFile()
[all …]

12345