/cts/tools/dex-tools/src/dex/reader/ |
D | DexAnnotationAttributeImpl.java | 28 private String[] stringPool; field in DexAnnotationAttributeImpl 35 DexAnnotation annotation, int[] typeIds, String[] stringPool, in DexAnnotationAttributeImpl() argument 40 this.stringPool = stringPool; in DexAnnotationAttributeImpl() 48 stringPool, fieldIdItems); in parseValue() 52 return stringPool[nameIdx]; in getName()
|
D | DexEncodedAnnotationImpl.java | 34 private final String[] stringPool; field in DexEncodedAnnotationImpl 40 int[] typeIds, String[] stringPool, FieldIdItem[] fieldIdItems) { in DexEncodedAnnotationImpl() argument 44 this.stringPool = stringPool; in DexEncodedAnnotationImpl() 55 typeIds, stringPool, fieldIdItems)); in parseEncodedAnnotation() 68 return stringPool[typeIds[typeIdx]]; in getTypeName()
|
D | DexEncodedValueImpl.java | 33 private String[] stringPool; field in DexEncodedValueImpl 48 int[] typeIds, String[] stringPool, FieldIdItem[] fieldIdItems) { in DexEncodedValueImpl() argument 52 this.stringPool = stringPool; in DexEncodedValueImpl() 137 stringPool, fieldIdItems); in getAnnotationValue() 150 stringPool, fieldIdItems)); in getArrayValue() 164 String constantName = stringPool[fieldIdItem.name_idx]; in getEnumValue() 165 String typeName = stringPool[typeIds[fieldIdItem.type_idx]]; in getEnumValue() 189 String fieldName = stringPool[fieldIdItem.name_idx]; in getFieldValue() 190 String typeName = stringPool[typeIds[fieldIdItem.type_idx]]; in getFieldValue() 202 return stringPool[typeIds[buffer.readInt(valueArg)]]; in getTypeValue() [all …]
|
D | DexFileImpl.java | 32 private final String[] stringPool; field in DexFileImpl 42 public DexFileImpl(DexBuffer buffer, String[] stringPool, int[] typeIds, in DexFileImpl() argument 46 this.stringPool = stringPool; in DexFileImpl() 64 classDefItems[i], stringPool, typeIds, protoIdItems, in getDefinedClasses() 74 b.append("StringPool:\n").append(Arrays.toString(stringPool)); in toString() 77 b.append(stringPool[typeIds[i]] + "\n"); in toString()
|
D | DexFieldImpl.java | 32 private String[] stringPool; field in DexFieldImpl 44 FieldAnnotation fieldAnnotation, String[] stringPool, in DexFieldImpl() argument 51 this.stringPool = stringPool; in DexFieldImpl() 64 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); in parseAnnotations() 70 return stringPool[fieldIdItem.name_idx]; in getName() 74 return stringPool[typeIds[fieldIdItem.type_idx]]; in getType()
|
D | DexParameterImpl.java | 33 private final String[] stringPool; field in DexParameterImpl 37 Integer annotationOffset, int[] typeIds, String[] stringPool, in DexParameterImpl() argument 43 this.stringPool = stringPool; in DexParameterImpl() 55 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); in parseAnnotations()
|
D | DexAnnotationImpl.java | 31 private String[] stringPool; field in DexAnnotationImpl 39 String[] stringPool, FieldIdItem[] fieldIdItems) { in DexAnnotationImpl() argument 43 this.stringPool = stringPool; in DexAnnotationImpl() 52 stringPool, fieldIdItems); in parseAnnotations()
|
D | DexMethodImpl.java | 41 private String[] stringPool; field in DexMethodImpl 57 ParameterAnnotation parameterAnnotation, String[] stringPool, in DexMethodImpl() argument 66 this.stringPool = stringPool; in DexMethodImpl() 91 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); in parseAnnotations() 97 return stringPool[methodsIdItem.name_idx]; in getName() 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()
|
D | DexClassImpl.java | 45 private final String[] stringPool; field in DexClassImpl 70 String[] stringPool, int[] typeIds, ProtIdItem[] protoIdItems, in DexClassImpl() argument 74 this.stringPool = stringPool; in DexClassImpl() 243 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); in parseClassAnnotations() 269 idToFieldAnnotation.get(fieldIdIdx), stringPool, 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()
|
D | DexFileReader.java | 60 private String[] stringPool; field in DexFileReader 101 return new DexFileImpl(b.createCopy(), stringPool, typeIds, in read() 157 stringPool = new String[nStrings]; in readStrings() 164 stringPool[i] = new String(values); in readStrings()
|