Home
last modified time | relevance | path

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

/dalvik/libdex/
DDexProto.cpp122 return dexGetProtoId(pProto->dexFile, pProto->protoIdx); in getProtoId()
129 return dexStringById(pProto->dexFile, protoId->shortyIdx); in dexProtoGetShorty()
135 const DexFile* dexFile = pProto->dexFile; in dexProtoGetMethodDescriptor() local
137 const DexTypeList* typeList = dexGetProtoParameters(dexFile, protoId); in dexProtoGetMethodDescriptor()
144 length += strlen(dexStringByTypeIdx(dexFile, idx)); in dexProtoGetMethodDescriptor()
147 length += strlen(dexStringByTypeIdx(dexFile, protoId->returnTypeIdx)); in dexProtoGetMethodDescriptor()
156 const char* desc = dexStringByTypeIdx(dexFile, idx); in dexProtoGetMethodDescriptor()
163 strcpy(at, dexStringByTypeIdx(dexFile, protoId->returnTypeIdx)); in dexProtoGetMethodDescriptor()
214 return dexStringByTypeIdx(pProto->dexFile, protoId->returnTypeIdx); in dexProtoGetReturnType()
221 dexGetProtoParameters(pProto->dexFile, protoId); in dexProtoGetParameterCount()
[all …]
DDexProto.h80 const DexFile* dexFile; /* file the idx refers to */ member
90 pProto->dexFile = pDexFile; in dexProtoSetFromMethodId()
DDexSwapVerify.cpp3019 DexFile dexFile; in dexSwapAndVerify() local
3025 dexFileSetupBasicPointers(&dexFile, addr); in dexSwapAndVerify()
3026 state.pDexFile = &dexFile; in dexSwapAndVerify()
/dalvik/dx/src/com/android/dx/dex/cf/
DCfTranslator.java100 CfOptions cfOptions, DexOptions dexOptions, DexFile dexFile) { in translate() argument
102 return translate0(context, cf, bytes, cfOptions, dexOptions, dexFile); in translate()
124 CfOptions cfOptions, DexOptions dexOptions, DexFile dexFile) { in translate0() argument
142 out.setClassAnnotations(classAnnotations, dexFile); in translate0()
145 FieldIdsSection fieldIdsSection = dexFile.getFieldIds(); in translate0()
146 MethodIdsSection methodIdsSection = dexFile.getMethodIds(); in translate0()
147 MethodHandlesSection methodHandlesSection = dexFile.getMethodHandles(); in translate0()
148 CallSiteIdsSection callSiteIds = dexFile.getCallSiteIds(); in translate0()
149 processFields(cf, out, dexFile); in translate0()
150 processMethods(context, cf, cfOptions, dexOptions, out, dexFile); in translate0()
[all …]
/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationsDirectoryItem.java137 public void setClassAnnotations(Annotations annotations, DexFile dexFile) { in setClassAnnotations() argument
147 classAnnotations = new AnnotationSetItem(annotations, dexFile); in setClassAnnotations()
158 Annotations annotations, DexFile dexFile) { in addFieldAnnotations() argument
164 new AnnotationSetItem(annotations, dexFile))); in addFieldAnnotations()
175 Annotations annotations, DexFile dexFile) { in addMethodAnnotations() argument
181 new AnnotationSetItem(annotations, dexFile))); in addMethodAnnotations()
192 AnnotationsList list, DexFile dexFile) { in addParameterAnnotations() argument
197 parameterAnnotations.add(new ParameterAnnotationStruct(method, list, dexFile)); in addParameterAnnotations()
DClassDefItem.java326 public void setClassAnnotations(Annotations annotations, DexFile dexFile) { in setClassAnnotations() argument
327 annotationsDirectory.setClassAnnotations(annotations, dexFile); in setClassAnnotations()
338 Annotations annotations, DexFile dexFile) { in addFieldAnnotations() argument
339 annotationsDirectory.addFieldAnnotations(field, annotations, dexFile); in addFieldAnnotations()
350 Annotations annotations, DexFile dexFile) { in addMethodAnnotations() argument
351 annotationsDirectory.addMethodAnnotations(method, annotations, dexFile); in addMethodAnnotations()
362 AnnotationsList list, DexFile dexFile) { in addParameterAnnotations() argument
363 annotationsDirectory.addParameterAnnotations(method, list, dexFile); in addParameterAnnotations()
DMethodHandlesSection.java27 public MethodHandlesSection(DexFile dexFile) { in MethodHandlesSection() argument
28 super("method_handles", dexFile, 8); in MethodHandlesSection()
DCallSiteIdsSection.java40 public CallSiteIdsSection(DexFile dexFile) { in CallSiteIdsSection() argument
41 super("call_site_ids", dexFile, 4); in CallSiteIdsSection()
DAnnotationSetItem.java50 public AnnotationSetItem(Annotations annotations, DexFile dexFile) { in AnnotationSetItem() argument
58 items[at] = new AnnotationItem(a, dexFile); in AnnotationSetItem()
DParameterAnnotationStruct.java49 AnnotationsList annotationsList, DexFile dexFile) { in ParameterAnnotationStruct() argument
72 AnnotationSetItem item = new AnnotationSetItem(annotations, dexFile); in ParameterAnnotationStruct()
DAnnotationItem.java102 public AnnotationItem(Annotation annotation, DexFile dexFile) { in AnnotationItem() argument
116 addContents(dexFile); in AnnotationItem()
/dalvik/dx/src/com/android/dx/command/findusages/
DMain.java26 String dexFile = args[0]; in main() local
30 Dex dex = new Dex(new File(dexFile)); in main()
/dalvik/dx/src/com/android/dx/command/grep/
DMain.java27 String dexFile = args[0]; in main() local
30 Dex dex = new Dex(new File(dexFile)); in main()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java1963 private final DexFile dexFile; field in Main.DexWriter
1965 private DexWriter(DexFile dexFile) { in DexWriter() argument
1966 this.dexFile = dexFile; in DexWriter()
1971 return writeDex(dexFile); in call()