HomeSort by relevance Sort by last modified time
    Searched defs:dexFile (Results 26 - 50 of 156) sorted by null

12 3 4 5 6 7

  /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/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DexBackedInstruction.java 44 @Nonnull public final DexBackedDexFile dexFile;
48 public DexBackedInstruction(@Nonnull DexBackedDexFile dexFile,
51 this.dexFile = dexFile;
74 private static DexBackedInstruction buildInstruction(@Nonnull DexBackedDexFile dexFile, @Nullable Opcode opcode,
77 return new DexBackedUnknownInstruction(dexFile, instructionStartOffset);
81 return new DexBackedInstruction10t(dexFile, opcode, instructionStartOffset);
83 return new DexBackedInstruction10x(dexFile, opcode, instructionStartOffset);
85 return new DexBackedInstruction11n(dexFile, opcode, instructionStartOffset);
87 return new DexBackedInstruction11x(dexFile, opcode, instructionStartOffset)
    [all...]
  /external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
CustomMethodInlineTableTest.java 39 import org.jf.dexlib2.iface.DexFile;
69 DexFile dexFile = new ImmutableDexFile(ImmutableList.of(classDef));
71 ClassPath classPath = ClassPath.fromClassPath(ImmutableList.<String>of(), ImmutableList.<String>of(), dexFile,
96 DexFile dexFile = new ImmutableDexFile(ImmutableList.of(classDef));
98 ClassPath classPath = ClassPath.fromClassPath(ImmutableList.<String>of(), ImmutableList.<String>of(), dexFile,
123 DexFile dexFile = new ImmutableDexFile(ImmutableList.of(classDef));
125 ClassPath classPath = ClassPath.fromClassPath(ImmutableList.<String>of(), ImmutableList.<String>of(), dexFile,
    [all...]
  /external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DexWriterTest.java 78 DexBackedDexFile dexFile = new DexBackedDexFile(new Opcodes(15), dataStore.getData());
79 ClassDef dbClassDef = Iterables.getFirst(dexFile.getClasses(), null);
JumboStringConversionTest.java 95 DexBackedDexFile dexFile = new DexBackedDexFile(new Opcodes(15), dexStore.getData());
97 ClassDef classDef = Iterables.getFirst(dexFile.getClasses(), null);
192 DexBackedDexFile dexFile = new DexBackedDexFile(new Opcodes(15), dexStore.getData());
194 ClassDef classDef = Iterables.getFirst(dexFile.getClasses(), null);
  /external/smali/smali/src/main/java/org/jf/smali/
SmaliTestUtils.java 90 DexBackedDexFile dexFile = new DexBackedDexFile(new Opcodes(15), dataStore.getData());
92 return Iterables.getFirst(dexFile.getClasses(), null);
  /libcore/libart/src/main/java/java/lang/
DexCache.java 38 * A dex cache holds resolved copies of strings, fields, methods, and classes from the dexfile.
71 /** Holds C pointer to dexFile. */
72 private long dexFile;
  /art/test/071-dexfile/src/
Main.java 24 * DexFile tests (Dalvik-specific).
27 private static final String CLASS_PATH = System.getenv("DEX_LOCATION") + "/071-dexfile-ex.jar";
93 Class DexFile = classLoader.loadClass("dalvik.system.DexFile");
94 Method DexFile_loadDex = DexFile.getMethod("loadDex",
98 Method DexFile_entries = DexFile.getMethod("entries");
99 Object dexFile = DexFile_loadDex.invoke(null, CLASS_PATH, null, 0);
100 Enumeration<String> e = (Enumeration<String>) DexFile_entries.invoke(dexFile);
  /art/test/087-gc-after-link/src/
Main.java 72 Object dexFile = null;
78 * Find the DexFile class, and construct a DexFile object
82 loadClass("dalvik.system.DexFile");
85 dexFile = ctor.newInstance(DEX_FILE);
93 meth.invoke(dexFile, name, this);
95 if (dexFile != null) {
96 /* close the DexFile to make CloseGuard happy */
98 meth.invoke(dexFile);
  /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...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DexBackedClassDef.java 54 @Nonnull public final DexBackedDexFile dexFile;
69 public DexBackedClassDef(@Nonnull DexBackedDexFile dexFile,
71 this.dexFile = dexFile;
74 int classDataOffset = dexFile.readSmallUint(classDefOffset + ClassDefItem.CLASS_DATA_OFFSET);
82 DexReader reader = dexFile.readerAt(classDataOffset);
95 return dexFile.getType(dexFile.readSmallUint(classDefOffset + ClassDefItem.CLASS_OFFSET));
101 return dexFile.getOptionalType(dexFile.readOptionalUint(classDefOffset + ClassDefItem.SUPERCLASS_OFFSET))
    [all...]
DexBackedField.java 47 @Nonnull public final DexBackedDexFile dexFile;
63 this.dexFile = reader.dexBuf;
80 this.dexFile = reader.dexBuf;
96 return dexFile.getString(dexFile.readSmallUint(getFieldIdItemOffset() + FieldIdItem.NAME_OFFSET));
102 return dexFile.getType(dexFile.readUshort(getFieldIdItemOffset() + FieldIdItem.TYPE_OFFSET));
112 return AnnotationsDirectory.getAnnotations(dexFile, annotationSetOffset);
130 fieldIdItemOffset = dexFile.getFieldIdItemOffset(fieldIndex);
DexBackedMethod.java 55 @Nonnull public final DexBackedDexFile dexFile;
73 this.dexFile = reader.dexBuf;
92 this.dexFile = reader.dexBuf;
113 return dexFile.getString(dexFile.readSmallUint(getMethodIdItemOffset() + MethodIdItem.NAME_OFFSET));
119 return dexFile.getType(dexFile.readSmallUint(getProtoIdItemOffset() + ProtoIdItem.RETURN_TYPE_OFFSET));
146 return AnnotationsDirectory.getParameterAnnotations(dexFile, parameterAnnotationSetListOffset);
163 final int parameterCount = dexFile.readSmallUint(parametersOffset + TypeListItem.SIZE_OFFSET);
169 return dexFile.getType(dexFile.readUshort(paramListStart + 2*index))
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
MapItem.java 48 private final DexBackedDexFile dexFile;
51 public MapItem(DexBackedDexFile dexFile, int offset) {
52 this.dexFile = dexFile;
57 return dexFile.readUshort(offset + TYPE_OFFSET);
66 return dexFile.readSmallUint(offset + SIZE_OFFSET);
70 return dexFile.readSmallUint(offset + OFFSET_OFFSET);
82 int itemType = dexFile.readUshort(out.getCursor());
87 int size = dexFile.readSmallUint(out.getCursor());
90 int offset = dexFile.readSmallUint(out.getCursor())
    [all...]
SectionAnnotator.java 45 @Nonnull public final RawDexFile dexFile;
54 this.dexFile = annotator.dexFile;
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/util/
DexAnnotator.java 49 @Nonnull public final RawDexFile dexFile;
85 public DexAnnotator(@Nonnull RawDexFile dexFile, int width) {
88 this.dexFile = dexFile;
90 for (MapItem mapItem: dexFile.getMapItems()) {
153 List<MapItem> mapItems = dexFile.getMapItems();
169 dexFile.writeAnnotations(out, this);
  /external/vogar/src/vogar/target/
ClassPathScanner.java 19 import dalvik.system.DexFile;
170 * <p>This class uses the Android-only class DexFile. This class will fail
176 DexFile dexFile = null;
178 dexFile = new DexFile(classPathEntry);
179 Enumeration<String> apkClassNames = dexFile.entries();
200 if (dexFile != null) {
202 dexFile.close();
  /frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
RunTestCommand.java 25 import dalvik.system.DexFile;
200 DexFile dexFile = new DexFile(fileName);
201 for(Enumeration<String> e = dexFile.entries(); e.hasMoreElements();) {
207 dexFile.close();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
ExportHelper.java 178 File dexFile = File.createTempFile(TEMP_PREFIX, SdkConstants.DOT_DEX);
179 dexFile.deleteOnExit();
274 helper.executeDx(javaProject, dxInput, dexFile.getAbsolutePath());
280 dexFile.getAbsolutePath(),
  /external/smali/baksmali/src/test/java/org/jf/baksmali/
AnalysisTest.java 41 import org.jf.dexlib2.iface.DexFile;
88 DexFile dexFile = DexFileFactory.loadDexFile(findResource(dexFilePath), 15);
97 for (ClassDef classDef: dexFile.getClasses()) {
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DexRewriter.java 65 * DexFile rewrittenDexFile = rewriter.rewriteDexFile(dexFile);
105 public DexFile rewriteDexFile(@Nonnull DexFile dexFile) {
106 return new RewrittenDexFile(dexFile);
109 protected class RewrittenDexFile implements DexFile {
110 @Nonnull protected final DexFile dexFile;
112 public RewrittenDexFile(@Nonnull DexFile dexFile)
    [all...]
  /frameworks/multidex/library/src/android/support/multidex/
MultiDexExtractor.java 179 ZipEntry dexFile = apk.getEntry(DEX_PREFIX + secondaryNumber + DEX_SUFFIX);
180 while (dexFile != null) {
192 // (dexFile) from the apk.
193 extract(apk, dexFile, extractedFile, extractedFilePrefix);
217 dexFile = apk.getEntry(DEX_PREFIX + secondaryNumber + DEX_SUFFIX);
305 private static void extract(ZipFile apk, ZipEntry dexFile, File extractTo,
308 InputStream in = apk.getInputStream(dexFile);
318 classesDex.setTime(dexFile.getTime());
  /dalvik/libdex/
DexProto.cpp 122 return dexGetProtoId(pProto->dexFile, pProto->protoIdx);
129 return dexStringById(pProto->dexFile, protoId->shortyIdx);
135 const DexFile* dexFile = pProto->dexFile;
137 const DexTypeList* typeList = dexGetProtoParameters(dexFile, protoId);
144 length += strlen(dexStringByTypeIdx(dexFile, idx));
147 length += strlen(dexStringByTypeIdx(dexFile, protoId->returnTypeIdx));
156 const char* desc = dexStringByTypeIdx(dexFile, idx);
163 strcpy(at, dexStringByTypeIdx(dexFile, protoId->returnTypeIdx))
    [all...]
  /external/smali/baksmali/src/main/java/org/jf/baksmali/
main.java 256 DexBackedDexFile dexFile = DexFileFactory.loadDexFile(dexFileFile, options.dexEntry, options.apiLevel);
258 if (dexFile.isOdexFile()) {
270 if (dexFile instanceof DexBackedOdexFile) {
271 options.bootClassPathEntries = ((DexBackedOdexFile)dexFile).getDependencies();
277 if (options.customInlineDefinitions == null && dexFile instanceof DexBackedOdexFile) {
279 InlineMethodResolver.createInlineMethodResolver(((DexBackedOdexFile)dexFile).getOdexVersion());
284 errorOccurred = !baksmali.disassembleDexFile(dexFile, options);
291 dump.dump(dexFile, dumpFileName, options.apiLevel);
440 " (<dexfile>.dump by default), along with the normal disassembly")
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DumpFields.java 110 DexBackedDexFile dexFile = DexFileFactory.loadDexFile(dexFileFile, apiLevel);
112 ClassPath classPath = ClassPath.fromClassPath(bootClassPathDirs, bootClassPaths, dexFile, apiLevel);
115 for (ClassDef classDef: dexFile.getClasses()) {

Completed in 742 milliseconds

12 3 4 5 6 7