/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
ItemFactory.java | 32 protected static Item makeItem(ItemType itemType, DexFile dexFile) { 35 return new StringIdItem(dexFile); 37 return new TypeIdItem(dexFile); 39 return new ProtoIdItem(dexFile); 41 return new FieldIdItem(dexFile); 43 return new MethodIdItem(dexFile); 45 return new ClassDefItem(dexFile); 47 return new TypeListItem(dexFile); 49 return new AnnotationSetRefList(dexFile); [all...] |
StringIdItem.java | 40 * @param dexFile The <code>DexFile</code> that this item belongs to 42 protected StringIdItem(DexFile dexFile) { 43 super(dexFile); 48 * @param dexFile The <code>DexFile</code> that this item belongs to 51 protected StringIdItem(DexFile dexFile, StringDataItem stringDataItem) { 52 super(dexFile); [all...] |
HeaderItem.java | 52 * @param dexFile The <code>DexFile</code> containing this <code>HeaderItem</code> 54 protected HeaderItem(final DexFile dexFile) { 55 super(dexFile); 149 out.annotate("file_size: 0x" + Integer.toHexString(dexFile.getFileSize()) + " (" + dexFile.getFileSize() + 151 out.writeInt(dexFile.getFileSize()); 165 out.annotate("map_off: 0x" + Integer.toHexString(dexFile.MapItem.getOffset())); 166 out.writeInt(dexFile.MapItem.getOffset()) [all...] |
TypeIdItem.java | 39 * @param dexFile The <code>DexFile</code> that this item belongs to 41 protected TypeIdItem(DexFile dexFile) { 42 super(dexFile); 47 * @param dexFile The <code>DexFile</code> that this item will belong to 51 private TypeIdItem(DexFile dexFile, StringIdItem typeDescriptor) { 52 super(dexFile); [all...] |
EncodedArrayItem.java | 42 * @param dexFile The <code>DexFile</code> that this item belongs to 44 protected EncodedArrayItem(DexFile dexFile) { 45 super(dexFile); 50 * @param dexFile The <code>DexFile</code> that this item belongs to 53 private EncodedArrayItem(DexFile dexFile, ArrayEncodedSubValue encodedArray) { 54 super(dexFile); [all...] |
FieldIdItem.java | 43 * @param dexFile The <code>DexFile</code> that this item belongs to 45 protected FieldIdItem(DexFile dexFile) { 46 super(dexFile); 51 * @param dexFile The <code>DexFile</code> that this item belongs to 56 private FieldIdItem(DexFile dexFile, TypeIdItem classType, TypeIdItem fieldType, StringIdItem fieldName) { 57 this(dexFile); [all...] |
StringDataItem.java | 43 * @param dexFile The <code>DexFile</code> that this item belongs to 45 protected StringDataItem(DexFile dexFile) { 46 super(dexFile); 51 * @param dexFile The <code>DexFile</code> that this item belongs to 54 private StringDataItem(DexFile dexFile, String stringValue) { 55 super(dexFile); [all...] |
Item.java | 48 * The DexFile that this item is associatedr with 50 protected final DexFile dexFile; 53 * The constructor that is used when reading in a <code>DexFile</code> 54 * @param dexFile the <code>DexFile</code> that this item is associated with 56 protected Item(DexFile dexFile) { 57 assert dexFile != null; 59 this.dexFile = dexFile [all...] |
MethodIdItem.java | 43 * @param dexFile The <code>DexFile</code> that this item belongs to 45 protected MethodIdItem(DexFile dexFile) { 46 super(dexFile); 51 * @param dexFile The <code>DexFile</code> that this item belongs to 56 private MethodIdItem(DexFile dexFile, TypeIdItem classType, ProtoIdItem methodPrototype, StringIdItem methodName) { 57 this(dexFile); [all...] |
ProtoIdItem.java | 43 * @param dexFile The <code>DexFile</code> that this item belongs to 45 protected ProtoIdItem(DexFile dexFile) { 46 super(dexFile); 51 * @param dexFile The <code>DexFile</code> that this item belongs to 55 private ProtoIdItem(DexFile dexFile, TypeIdItem returnType, TypeListItem parameters) { 56 this(dexFile); [all...] |
AnnotationItem.java | 43 * @param dexFile The <code>DexFile</code> that this item belongs to 45 protected AnnotationItem(DexFile dexFile) { 46 super(dexFile); 51 * @param dexFile The <code>DexFile</code> that this item belongs to 55 private AnnotationItem(DexFile dexFile, AnnotationVisibility visibility, 57 super(dexFile); [all...] |
TypeListItem.java | 44 * @param dexFile The <code>DexFile</code> that this item belongs to 46 protected TypeListItem(DexFile dexFile) { 47 super(dexFile); 52 * @param dexFile The <code>DexFile</code> that this item belongs to 55 private TypeListItem(DexFile dexFile, TypeIdItem[] typeList) { 56 super(dexFile); [all...] |
AnnotationSetRefList.java | 43 * @param dexFile The <code>DexFile</code> that this item belongs to 45 protected AnnotationSetRefList(DexFile dexFile) { 46 super(dexFile); 51 * @param dexFile The <code>DexFile</code> that this item belongs to 54 private AnnotationSetRefList(DexFile dexFile, AnnotationSetItem[] annotationSets) { 55 super(dexFile); [all...] |
/cts/tools/dex-tools/test/dex/reader/ |
DexFileReaderTests.java | 39 import dex.structure.DexFile; 55 DexFile dexFile = javaToDexUtil.getFrom(A); 56 assertEquals(1, dexFile.getDefinedClasses().size()); 58 DexClass class1 = getClass(dexFile, "La/b/c/A;"); 59 System.out.println(dexFile); 83 DexFile dexFile = javaToDexUtil.getFrom(T0); 84 assertEquals(1, dexFile.getDefinedClasses().size()); 85 DexClass clazz = dexFile.getDefinedClasses().get(0) [all...] |
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/ |
DexUtilTest.java | 24 import dex.structure.DexFile; 73 DexFile dexFile = dexUtil.getFrom(new JavaSource("A", "public class A{}")); 74 DexClass dexClass = getClass(dexFile, "LA;"); 77 dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")); 78 dexClass = getClass(dexFile, "LB;"); 84 DexFile dexFile = dexUtil.getFrom(new JavaSource("A", "public class A{}")); 85 DexClass dexClass = getClass(dexFile, "LA;"); 88 dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/ |
EncodedValue.java | 31 import org.jf.dexlib.DexFile; 50 public static EncodedValue readEncodedValue(DexFile dexFile, Input in) { 71 return new StringEncodedValue(dexFile, in, valueArg); 73 return new TypeEncodedValue(dexFile, in, valueArg); 75 return new FieldEncodedValue(dexFile, in, valueArg); 77 return new MethodEncodedValue(dexFile, in, valueArg); 79 return new EnumEncodedValue(dexFile, in, valueArg); 81 return new ArrayEncodedValue(dexFile, in); 83 return new AnnotationEncodedValue(dexFile, in) [all...] |
ArrayEncodedValue.java | 31 import org.jf.dexlib.DexFile; 39 * @param dexFile The <code>DexFile</code> that is being read in 42 protected ArrayEncodedValue(DexFile dexFile, Input in) { 43 super(dexFile, in);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/ |
InstructionWithReference.java | 52 protected InstructionWithReference(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 57 lookupReferencedItem(dexFile, opcode, itemIndex); 76 private void lookupReferencedItem(DexFile dexFile, Opcode opcode, int itemIndex) { 79 referencedItem = dexFile.FieldIdsSection.getItemByIndex(itemIndex); 82 referencedItem = dexFile.MethodIdsSection.getItemByIndex(itemIndex); 85 referencedItem = dexFile.TypeIdsSection.getItemByIndex(itemIndex); 88 referencedItem = dexFile.StringIdsSection.getItemByIndex(itemIndex);
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
dump.java | 31 import org.jf.dexlib.DexFile; 39 public static void dump(DexFile dexFile, String dumpFileName, String outputDexFileName, boolean sort) 44 dexFile.setSortAllItems(true); 47 dexFile.setInplace(true); 56 dexFile.place(); 57 dexFile.writeTo(out); 87 DexFile.calcSignature(bytes); 88 DexFile.calcChecksum(bytes);
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
Main.java | 26 String dexFile = args[0]; 30 DexBuffer dex = new DexBuffer(new File(dexFile));
|
/dalvik/dx/src/com/android/dx/command/grep/ |
Main.java | 27 String dexFile = args[0]; 30 DexBuffer dex = new DexBuffer(new File(dexFile));
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
DeodexUtil.java | 45 public final DexFile dexFile; 47 public DeodexUtil(DexFile dexFile) { 48 this.dexFile = dexFile; 49 OdexHeader odexHeader = dexFile.getOdexHeader(); 99 StringIdItem methodNameItem = StringIdItem.lookupStringIdItem(dexFile, methodName); 118 typeIdItem = TypeIdItem.lookupTypeIdItem(dexFile, methodParams.substring(i,i+1)); 127 typeIdItem = TypeIdItem.lookupTypeIdItem(dexFile, methodParams.substring(i, end+1)) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
DebugInfoBuilder.java | 148 public DebugInfoItem encodeDebugInfo(DexFile dexFile) { 164 event.emit(dexFile, out, referencedItems); 173 parameterNamesArray[index++] = StringIdItem.internStringIdItem(dexFile, parameterName); 179 return DebugInfoItem.internDebugInfoItem(dexFile, lineStart, parameterNamesArray, out.toByteArray(), 190 void emit(DexFile dexFile, Output out, List<Item> referencedItems); 268 public void emit(DexFile dexFile, Output out, List<Item> referencedItems) { 307 public void emit(DexFile dexFile, Output out, List<Item> referencedItems) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
Instruction31c.java | 35 import org.jf.dexlib.DexFile; 54 private Instruction31c(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 55 super(dexFile, opcode, buffer, bufferIndex); 79 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) { 80 return new Instruction31c(dexFile, opcode, buffer, bufferIndex);
|