Home
last modified time | relevance | path

Searched refs:typeIds (Results 1 – 10 of 10) sorted by relevance

/cts/tools/dex-tools/src/dex/reader/
DDexEncodedAnnotationImpl.java33 private final int[] typeIds; field in DexEncodedAnnotationImpl
40 int[] typeIds, String[] stringPool, FieldIdItem[] fieldIdItems) { in DexEncodedAnnotationImpl() argument
43 this.typeIds = typeIds; in DexEncodedAnnotationImpl()
55 typeIds, stringPool, fieldIdItems)); in parseEncodedAnnotation()
68 return stringPool[typeIds[typeIdx]]; in getTypeName()
DDexFileImpl.java33 private final int[] typeIds; field in DexFileImpl
42 public DexFileImpl(DexBuffer buffer, String[] stringPool, int[] typeIds, in DexFileImpl() argument
47 this.typeIds = typeIds; in DexFileImpl()
64 classDefItems[i], stringPool, typeIds, protoIdItems, in getDefinedClasses()
76 for (int i = 0; i < typeIds.length; i++) { in toString()
77 b.append(stringPool[typeIds[i]] + "\n"); in toString()
DDexAnnotationAttributeImpl.java30 private final int[] typeIds; field in DexAnnotationAttributeImpl
35 DexAnnotation annotation, int[] typeIds, String[] stringPool, in DexAnnotationAttributeImpl() argument
39 this.typeIds = typeIds; in DexAnnotationAttributeImpl()
47 value = new DexEncodedValueImpl(buffer, annotation, typeIds, in parseValue()
DDexParameterImpl.java32 private final int[] typeIds; field in DexParameterImpl
37 Integer annotationOffset, int[] typeIds, String[] stringPool, in DexParameterImpl() argument
42 this.typeIds = typeIds; in DexParameterImpl()
55 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); in parseAnnotations()
DDexAnnotationImpl.java30 private int[] typeIds; field in DexAnnotationImpl
38 public DexAnnotationImpl(DexBuffer buffer, int offset, int[] typeIds, in DexAnnotationImpl() argument
42 this.typeIds = typeIds; in DexAnnotationImpl()
51 encodedAnnotation = new DexEncodedAnnotationImpl(buffer, this, typeIds, in parseAnnotations()
DDexFieldImpl.java34 private int[] typeIds; field in DexFieldImpl
45 int[] typeIds, FieldIdItem[] fieldIdItems) { in DexFieldImpl() argument
52 this.typeIds = typeIds; in DexFieldImpl()
64 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); in parseAnnotations()
74 return stringPool[typeIds[fieldIdItem.type_idx]]; in getType()
DDexEncodedValueImpl.java35 private int[] typeIds; field in DexEncodedValueImpl
48 int[] typeIds, String[] stringPool, FieldIdItem[] fieldIdItems) { in DexEncodedValueImpl() argument
51 this.typeIds = typeIds; in DexEncodedValueImpl()
136 return new DexEncodedAnnotationImpl(buffer, annotation, typeIds, in getAnnotationValue()
149 values.add(new DexEncodedValueImpl(buffer, annotation, typeIds, in getArrayValue()
165 String typeName = stringPool[typeIds[fieldIdItem.type_idx]]; in getEnumValue()
190 String typeName = stringPool[typeIds[fieldIdItem.type_idx]]; in getFieldValue()
202 return stringPool[typeIds[buffer.readInt(valueArg)]]; in getTypeValue()
DDexMethodImpl.java42 private int[] typeIds; field in DexMethodImpl
58 int[] typeIds, FieldIdItem[] fieldIdItems) { in DexMethodImpl() argument
67 this.typeIds = typeIds; in DexMethodImpl()
91 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); in parseAnnotations()
101 return stringPool[typeIds[protoIdItem.return_type_idx]]; in getReturnType()
118 stringPool[typeIds[paramTypeIdx[i]]], in getParameters()
119 parameterIdToIndex.get(i), typeIds, stringPool, in getParameters()
DDexClassImpl.java44 private final int[] typeIds; field in DexClassImpl
70 String[] stringPool, int[] typeIds, ProtIdItem[] protoIdItems, in DexClassImpl() argument
75 this.typeIds = typeIds; in DexClassImpl()
243 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); in parseClassAnnotations()
270 typeIds, fieldIdItems)); in getDexFields()
301 .get(methodIdIdx), stringPool, typeIds, in getDexMethods()
317 interfaces.add(stringPool[typeIds[buffer.readUShort()]]); in getInterfaces()
327 : stringPool[typeIds[classDefItem.superclass_idx]]; in getSuperClass()
335 return stringPool[typeIds[classDefItem.class_idx]]; in getName()
DDexFileReader.java61 private int[] typeIds; // values are index of stringPool field in DexFileReader
101 return new DexFileImpl(b.createCopy(), stringPool, typeIds, in read()
171 typeIds = new int[nTypes]; in readTypeIds()
173 for (int i = 0; i < typeIds.length; i++) { in readTypeIds()
174 typeIds[i] = b.readUInt(); in readTypeIds()