Lines Matching full:dex
18 * Convert the output from "dx" into a locally-optimized DEX file.
76 * Return the fd of an open file in the DEX file cache area. If the cache
81 * It's possible to execute from an unoptimized DEX file directly,
88 * For a Jar/APK file (a zip archive with "classes.dex" inside), "modWhen"
89 * and "crc32" come from the Zip directory entry. For a stand-alone DEX
91 * DEX header (which immediately follows the magic). If these don't
117 LOGE("Can't open dex cache '%s': %s\n",
141 LOGE("Can't lock dex cache '%s': %d\n", cacheFileName, cc);
220 LOGW("Cached DEX '%s' (%s) is stale and not writable\n",
232 * boot DEX files (core, framework, etc.) mapped early. If
233 * (say) core.dex gets updated, and somebody launches an app
234 * that uses App.dex, then App.dex gets reoptimized because it's
236 * using the *new* core.dex to do the optimizations, while the
237 * app will actually be running against the *old* core.dex
242 * of DEX files. We must ensure that everything fails when a
243 * boot DEX gets updated, and for general "why aren't my
245 * everything crash when a DEX they're using gets updated.
289 * Given a descriptor for a file with DEX data in it, produce an
301 * class DEX files and the target DEX, so the flag determines whether the
302 * target DEX classes are given a (synthetic) non-NULL classLoader pointer.
303 * This only really matters if the target DEX contains classes that claim to
306 * The optimizer will need to load every class in the target DEX file.
401 argv[curArg++] = "--dex";
541 LOGE("too small to be DEX\n");
553 * also add a field to DexFile, but since it only pertains to DEX
562 * our DEX data plus room for a small header.
569 LOGE("unable to mmap DEX cache: %s\n", strerror(errno));
728 LOGV("Successfully wrote DEX header\n");
786 * 4b CRC-32 from Zip entry, or Adler32 from source DEX header
792 * 20b SHA-1 signature from source DEX file
841 /* not a DEX file, or previous attempt was interrupted */
936 * Verify dependencies on other cached DEX files. It must match
1220 * Perform in-place rewrites on a memory-mapped DEX file.
1242 * Now that the DEX file can be read directly, create a DexFile for it.
1273 * Load all classes found in this DEX file. If they fail to load for
1281 * Verify all classes in the DEX file. Export the "is verified" flag
1282 * to the DEX file we're creating.
1318 * Update the Adler-32 checksum stored in the DEX file. This covers the
1319 * swapped and optimized DEX data, but does not include the opt header
1335 * Try to load all classes in the specified DEX. If they have some sort
1336 * of broken dependency, e.g. their superclass lives in a different DEX
1366 * loading classes from the DEX file that contains Object, and only
1487 DEX
1684 * If "referrer" and "resClass" don't come from the same DEX file, and
1685 * the DEX we're working on is not destined for the bootstrap class path,
1723 * to acknowledge the existence of classes defined in more than one DEX