HomeSort by relevance Sort by last modified time
    Searched full:dexfile (Results 1 - 25 of 452) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
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...]
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...]
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...]
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...]
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...]
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...]
AnnotationSetItem.java 45 * @param dexFile The <code>DexFile</code> that this item belongs to
47 protected AnnotationSetItem(DexFile dexFile) {
48 super(dexFile);
53 * @param dexFile The <code>DexFile</code> that this item belongs to
56 private AnnotationSetItem(DexFile dexFile, AnnotationItem[] annotations) {
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...]
  /art/runtime/
method_reference.h 22 class DexFile;
24 // A class is uniquely located by its DexFile and the class_defs_ table index into that DexFile
25 typedef std::pair<const DexFile*, uint32_t> ClassReference;
27 // A method is uniquely located by its DexFile and the method_ids_ table index into that DexFile
29 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) {
31 const DexFile* dex_file;
dex_method_iterator_test.cc 27 std::vector<const DexFile*> dex_files;
28 dex_files.push_back(DexFile::Open(GetDexFileName("core"), GetDexFileName("core")));
29 dex_files.push_back(DexFile::Open(GetDexFileName("conscrypt"), GetDexFileName("conscrypt")));
30 dex_files.push_back(DexFile::Open(GetDexFileName("okhttp"), GetDexFileName("okhttp")));
31 dex_files.push_back(DexFile::Open(GetDexFileName("core-junit"), GetDexFileName("core-junit")));
32 dex_files.push_back(DexFile::Open(GetDexFileName("bouncycastle"), GetDexFileName("bouncycastle")));
35 const DexFile& dex_file = it.GetDexFile();
dex_file_verifier.cc 32 case DexFile::kDexTypeHeaderItem: return 1 << 0;
33 case DexFile::kDexTypeStringIdItem: return 1 << 1;
34 case DexFile::kDexTypeTypeIdItem: return 1 << 2;
35 case DexFile::kDexTypeProtoIdItem: return 1 << 3;
36 case DexFile::kDexTypeFieldIdItem: return 1 << 4;
37 case DexFile::kDexTypeMethodIdItem: return 1 << 5;
38 case DexFile::kDexTypeClassDefItem: return 1 << 6;
39 case DexFile::kDexTypeMapList: return 1 << 7;
40 case DexFile::kDexTypeTypeList: return 1 << 8;
41 case DexFile::kDexTypeAnnotationSetRefList: return 1 << 9
    [all...]
dex_file_test.cc 28 const DexFile* dex(OpenTestDexFile("Nested"));
58 static const DexFile* OpenDexFileBase64(const char* base64,
76 const DexFile* dex_file = DexFile::Open(location, location);
85 UniquePtr<const DexFile> raw(OpenDexFileBase64(kRawDex, tmp.GetFilename()));
88 const DexFile::Header& header = raw->GetHeader();
116 const DexFile* raw(OpenTestDexFile("Main"));
123 EXPECT_TRUE(DexFile::GetChecksum(GetLibCoreDexFileName(), &checksum));
129 const DexFile* raw(OpenTestDexFile("Nested"));
133 const DexFile::ClassDef& c0 = raw->GetClassDef(0)
    [all...]
dex_file.cc 48 const byte DexFile::kDexMagic[] = { 'd', 'e', 'x', '\n' };
49 const byte DexFile::kDexMagicVersion[] = { '0', '3', '5', '\0' };
51 DexFile::ClassPathEntry DexFile::FindInClassPath(const char* descriptor,
54 const DexFile* dex_file = class_path[i];
55 const DexFile::ClassDef* dex_class_def = dex_file->FindClassDef(descriptor);
61 return ClassPathEntry(reinterpret_cast<const DexFile*>(NULL),
62 reinterpret_cast<const DexFile::ClassDef*>(NULL));
84 bool DexFile::GetChecksum(const std::string& filename, uint32_t* checksum) {
105 UniquePtr<const DexFile> dex_file(DexFile::OpenFile(fd, filename, false))
    [all...]
class_reference.h 24 class DexFile;
26 // A class is uniquely located by its DexFile and the class_defs_ table index into that DexFile
27 typedef std::pair<const DexFile*, uint32_t> ClassReference;
dex_file-inl.h 27 inline int32_t DexFile::GetStringLength(const StringId& string_id) const {
32 inline const char* DexFile::GetStringDataAndLength(const StringId& string_id, uint32_t* length) const {
39 inline const DexFile::TryItem* DexFile::GetTryItems(const CodeItem& code_item, uint32_t offset) {
  /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...]
  /art/compiler/driver/
dex_compilation_unit.h 38 const DexFile& dex_file, const DexFile::CodeItem* code_item,
53 const DexFile* GetDexFile() const {
65 const DexFile::CodeItem* GetCodeItem() const {
70 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_);
75 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_);
108 const DexFile* const dex_file_;
110 const DexFile::CodeItem* const code_item_;
  /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...]
  /cts/tools/dex-tools/test/dex/reader/util/
JavaSourceToDexUtil.java 36 import com.android.dx.dex.file.DexFile;
43 public dex.structure.DexFile getFrom(JavaSource source) throws IOException{
47 public dex.structure.DexFile getFrom(JavaSource... source) throws IOException{
51 public dex.structure.DexFile getAllFrom(Set<JavaSource> sources) throws IOException{
56 * Converts java source code to a {@link dex.structure.DexFile} loaded by
62 public dex.structure.DexFile getFrom(Set<JavaSource> sources,
75 DexFile dexFile = new DexFile();
79 dexFile.add(classDefItem)
    [all...]

Completed in 345 milliseconds

1 2 3 4 5 6 7 8 91011>>