/frameworks/base/core/tests/coretests/res/raw/ |
install_shared1_cert1_cert2 | |
install_shared2_cert1_cert2 | |
/cts/tools/dex-tools/test/dex/reader/ |
DexTestsCommon.java | 17 package dex.reader; 27 import dex.reader.util.JavaSourceToDexUtil; 28 import dex.structure.DexAnnotatedElement; 29 import dex.structure.DexAnnotation; 30 import dex.structure.DexClass; 31 import dex.structure.DexField; 32 import dex.structure.DexFile; 33 import dex.structure.DexMethod; 34 import dex.structure.DexParameter; 35 import dex.structure.WithModifiers [all...] |
DexFileReaderTests.java | 17 package dex.reader; 33 import dex.reader.util.JavaSource; 34 import dex.structure.DexAnnotation; 35 import dex.structure.DexAnnotationAttribute; 36 import dex.structure.DexClass; 37 import dex.structure.DexEncodedValue; 38 import dex.structure.DexField; 39 import dex.structure.DexFile; 40 import dex.structure.DexMethod; 41 import dex.structure.DexParameter [all...] |
/cts/tools/signature-tools/ |
README.txt | 8 #Converters : A dex -> signature model converter (utilizing the dex-tools parser) 24 dex.reader
|
/dalvik/docs/ |
dexopt.html | 48 <li>Multiple classes are aggregated into a single "DEX" file. 49 <li>DEX files are mapped read-only and shared between processes. 67 archives with some meta-data files added. The Dalvik DEX data file 68 is always called <code>classes.dex</code>. 73 storing <code>classes.dex</code> without compression and padding out the zip 77 We need to extract <code>classes.dex</code> from the zip archive before 86 There are at least three different ways to create a "prepared" DEX file, 87 sometimes known as "ODEX" (for Optimized DEX): 97 / <code>apk</code> files are present, but the <code>classes.dex</code> 98 is stripped out. The optimized DEX is stored next to the origina [all...] |
/dalvik/dx/src/com/android/dx/dex/cf/ |
CfOptions.java | 17 package com.android.dx.dex.cf; 19 import com.android.dx.dex.code.PositionList; 24 * A class to contain options passed into dex.cf
|
/dalvik/dx/tests/069-dex-source-position/ |
run | 18 dx --debug --dex --no-optimize --positions=none --no-locals \ 20 dx --debug --dex --no-optimize --positions=important --no-locals \ 22 dx --debug --dex --no-optimize --positions=lines --no-locals \
|
/dalvik/libdex/ |
CmdUtils.c | 30 * Extract "classes.dex" from archive file. 38 static const char* kFileToExtract = "classes.dex"; 90 * Map the specified DEX file read-only (possibly after expanding it into a 96 * read-only copy of a DEX file that could be in a number of different states. 114 "ERROR: filename must end in .dex, .zip, .jar, or .apk\n"); 120 if (strcasecmp(fileName + len -3, "dex") != 0) { 124 * "classes.dex" inside. We need to extract the compressed 128 sprintf(tempNameBuf, "/tmp/dex-temp-%d", getpid()); 130 sprintf(tempNameBuf, "/sdcard/dex-temp-%d", getpid()); 143 fprintf(stderr, "Not Zip, retrying as DEX\n") [all...] |
/dalvik/tests/003-omnibus-opcodes/ |
build | 25 dx -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex classes 26 zip test.jar classes.dex
|
/dalvik/tests/023-many-interfaces/ |
build | 27 dx --debug --dex --dump-to=classes.lst --output=classes.dex classes 28 zip test.jar classes.dex
|
/cts/tools/vm-tests/src/dot/junit/format/f1/d/ |
T_f1_1.dfh | 1 // Processing 'out/classes_dasm/dot/junit/format/f1/d/T_f1_1.dex'... 2 // Opened 'out/classes_dasm/dot/junit/format/f1/d/T_f1_1.dex', DEX version '035' 3 // DEX file header: 4 // parsed: offset 0, len 8: magic : 'dex
|
/dalvik/vm/ |
JarFile.c | 20 * just wants a zip archive with "classes.dex" inside. In Android the 32 static const char* kDexInJarName = "classes.dex"; 37 * openAlternateSuffix("Home.apk", "dex", O_RDONLY) will attempt 38 * to open "Home.dex". If the open succeeds, a pointer to a 81 * Checks the dependencies of the dex cache file corresponding 104 /* Try to find the dex file inside of the archive. 114 * See if there's an up-to-date copy of the optimized dex 137 LOGE("Unable to unlock DEX file\n"); 146 * There's no dex file in the jar file. See if there's an 147 * optimized dex file living alongside the jar [all...] |
DvmDex.c | 18 * VM-specific state associated with a DEX file. 27 * or string constant. Summed up over all loaded DEX files (including the 35 * The DEX optimizer will remove the need for some of these (e.g. we won't 86 LOGV("+++ DEX %p: allocateAux %d+%d+%d+%d * 4 = %d bytes\n", 112 * Given an open optimized DEX file, map it into read-only shared memory and 140 LOGE("DEX parse failed\n"); 162 * Create a DexFile structure for a "partial" DEX. This is one that is in 183 LOGE("DEX parse failed\n"); 211 LOGV("+++ DEX %p: freeing aux structs\n", pDvmDex); 249 LOGD("NOTE: DEX page access change (->RW) failed\n") [all...] |
JarFile.h | 24 * archive that happens to hold a Dex file.) 52 /* get full path of optimized DEX file */ 66 * Checks the dependencies of the dex cache file corresponding
|
/dalvik/vm/analysis/ |
DexOptimize.h | 18 * DEX optimization declarations. 24 * Global DEX optimizer control. Determines the circumstances in which we 25 * try to rewrite instructions in the DEX file. 74 * Given the full path to a DEX or Jar file, and (if appropriate) the name 94 * Verify the contents of the "opt" header, and check the DEX file's 101 * Optimize a DEX file. The file must start with the "opt" header, followed 102 * by the plain DEX data. It must be mmap()able.
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
DexToSigConverter.java | 17 package signature.converter.dex; 19 import static signature.converter.dex.DexUtil.convertAnyWay; 20 import static signature.converter.dex.DexUtil.declaresExceptions; 21 import static signature.converter.dex.DexUtil.declaresMemberClasses; 22 import static signature.converter.dex.DexUtil.findPackageInfo; 23 import static signature.converter.dex.DexUtil.getClassModifiers; 24 import static signature.converter.dex.DexUtil.getClassName; 25 import static signature.converter.dex.DexUtil.getDefaultMappingsAnnotation; 26 import static signature.converter.dex.DexUtil.getDexName; 27 import static signature.converter.dex.DexUtil.getEnclosingClassName [all...] |
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
Main.java | 30 private static final String CLASSES_DEX = "classes.dex"; 68 * Opens the input file, which could be a .dex or a .jar/.apk with a 69 * classes.dex inside. If the latter, we extract the contents to a 86 * "classes.dex" inside. 88 * @return a RandomAccessFile for classes.dex, or null if the input file 91 * classes.dex isn't found inside 127 * Create a temp file to hold the DEX data, open it, and delete it 130 File tempFile = File.createTempFile("dexdeps", ".dex"); 196 System.err.println("DEX dependency scanner v1.1"); 198 System.err.println("Usage: dexdeps [options] <file.{dex,apk,jar}>") [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
TypeFormatter.java | 17 package dex.reader; 19 import dex.structure.DexAnnotation; 20 import dex.structure.DexClass; 21 import dex.structure.DexField; 22 import dex.structure.DexFile; 23 import dex.structure.DexMethod;
|
/dalvik/vm/native/ |
dalvik_system_DexFile.c | 63 * Verify that the "cookie" is a DEX file we opened. 73 LOGVV("+++ dex verifying cookie %p\n", pDexOrJar); 96 * Open a DEX file, returning a pointer to our internal data structure. 98 * "sourceName" should point to the "source" jar or DEX file. 100 * If "outputName" is NULL, the DEX code will automatically find the 134 * open one of our bootstrap class DEX files. The set of dependencies 137 * the optimized DEX: one that only knows about part of the boot class 147 * We have to reject attempts to manually open a DEX file from the boot 154 LOGW("Refusing to reopen boot DEX '%s'\n", sourceName); 156 "Re-opening BOOTCLASSPATH DEX files is not allowed") [all...] |
/dalvik/tests/056-const-string-jumbo/ |
build | 45 dx -JXmx500m --debug --dex --no-optimize --positions=none --no-locals \ 46 --dump-to=classes.lst --output=classes.dex classes 47 zip test.jar classes.dex
|
/cts/tools/dex-tools/src/dex/structure/ |
DexParameter.java | 17 package dex.structure;
|
/dalvik/dx/src/com/android/dx/dex/code/form/ |
Form10t.java | 17 package com.android.dx.dex.code.form; 19 import com.android.dx.dex.code.DalvInsn; 20 import com.android.dx.dex.code.InsnFormat; 21 import com.android.dx.dex.code.TargetInsn;
|
Form11n.java | 17 package com.android.dx.dex.code.form; 19 import com.android.dx.dex.code.CstInsn; 20 import com.android.dx.dex.code.DalvInsn; 21 import com.android.dx.dex.code.InsnFormat;
|
Form11x.java | 17 package com.android.dx.dex.code.form; 19 import com.android.dx.dex.code.DalvInsn; 20 import com.android.dx.dex.code.InsnFormat; 21 import com.android.dx.dex.code.SimpleInsn;
|