HomeSort by relevance Sort by last modified time
    Searched refs:dexFile (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /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...]
HeaderItem.java 62 * @param dexFile The <code>DexFile</code> containing this <code>HeaderItem</code>
64 protected HeaderItem(final DexFile dexFile) {
65 super(dexFile);
194 out.annotate("file_size: 0x" + Integer.toHexString(dexFile.getFileSize()) + " (" + dexFile.getFileSize() +
196 out.writeInt(dexFile.getFileSize());
210 out.annotate("map_off: 0x" + Integer.toHexString(dexFile.MapItem.getOffset()));
211 out.writeInt(dexFile.MapItem.getOffset())
    [all...]
TypeIdItem.java 41 * @param dexFile The <code>DexFile</code> that this item belongs to
43 protected TypeIdItem(DexFile dexFile) {
44 super(dexFile);
49 * @param dexFile The <code>DexFile</code> that this item will belong to
53 private TypeIdItem(DexFile dexFile, StringIdItem typeDescriptor) {
54 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...]
StringIdItem.java 42 * @param dexFile The <code>DexFile</code> that this item belongs to
44 protected StringIdItem(DexFile dexFile) {
45 super(dexFile);
50 * @param dexFile The <code>DexFile</code> that this item belongs to
53 protected StringIdItem(DexFile dexFile, StringDataItem stringDataItem) {
54 super(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 49 * The DexFile that this item is associatedr with
51 protected final DexFile dexFile;
54 * The constructor that is used when reading in a <code>DexFile</code>
55 * @param dexFile the <code>DexFile</code> that this item is associated with
57 protected Item(DexFile dexFile) {
58 assert dexFile != null;
60 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...]
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...]
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...]
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/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();
58 public DeodexUtil(DexFile dexFile, InlineMethodResolver inlineMethodResolver) {
59 this.dexFile = dexFile
    [all...]
  /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/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);
75 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
76 return new Instruction31c(dexFile, opcode, buffer, bufferIndex);
  /frameworks/testing/androidtestlib/src/com/android/test/runner/
ClassPathScanner.java 19 import dalvik.system.DexFile;
163 DexFile dexFile = null;
165 dexFile = new DexFile(apkPath);
166 Enumeration<String> apkClassNames = getDexEntries(dexFile);
174 if (dexFile != null) {
175 dexFile.close();
181 * Retrieves the entry names from given {@link DexFile}.
185 * @param dexFile
    [all...]

Completed in 584 milliseconds

1 2 3 4 5