Searched defs:dexCache (Results 1 - 2 of 2) sorted by relevance

/external/dexmaker/src/main/java/com/google/dexmaker/
H A DDexMaker.java330 * The {@code dexCache} should be an application-private directory. If
335 * File dexCache = getApplicationContext().getDir("dx", Context.MODE_PRIVATE);
337 * If the {@code dexCache} is null, this method will consult the {@code
347 * @param dexCache the destination directory where generated and optimized
351 public ClassLoader generateAndLoad(ClassLoader parent, File dexCache) throws IOException { argument
352 if (dexCache == null) {
355 dexCache = new File(property);
357 dexCache = new AppDataDirGuesser().guess();
358 if (dexCache == null) {
374 File result = File.createTempFile("Generated", ".jar", dexCache);
[all...]
/external/dexmaker/src/main/java/com/google/dexmaker/stock/
H A DProxyBuilder.java70 * .dexCache(getInstrumentation().getTargetContext().getDir("dx", Context.MODE_PRIVATE))
100 * You must provide a dex cache directory via the {@link #dexCache(File)} method. You should take
132 private File dexCache; field in class:ProxyBuilder
165 public ProxyBuilder<T> dexCache(File dexCache) { argument
166 this.dexCache = dexCache;
195 * @throws IOException if an exception occurred writing to the {@code dexCache} directory.
252 ClassLoader classLoader = dexMaker.generateAndLoad(parentClassLoader, dexCache);

Completed in 110 milliseconds