Lines Matching refs:directory
47 * in the {@link Context#getCacheDir() application-specific cache directory} of
75 * external storage directory. <strong>There are no access controls on the
76 * external storage directory so it should not be used for caches that could
79 * during use. Retrieve the external cache directory using {@link
159 private HttpResponseCache(File directory, long maxSize) throws IOException {
160 this.delegate = new libcore.net.http.HttpResponseCache(directory, maxSize);
176 * @param directory the directory to hold cache data.
179 * @throws IOException if {@code directory} cannot be used for this cache.
183 public static HttpResponseCache install(File directory, long maxSize) throws IOException {
188 if (installedCache.getDirectory().equals(directory)
197 HttpResponseCache result = new HttpResponseCache(directory, maxSize);