Searched refs:CacheResult (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DUrlInterceptHandler.java19 import android.webkit.CacheManager.CacheResult;
32 * Given an URL, returns the CacheResult which contains the
38 * @return The CacheResult containing the surrogate response.
44 public CacheResult service(String url, Map<String, String> headers);
H A DCacheManager.java50 public static class CacheResult { class in class:CacheManager
191 * {@link CacheManager#saveCacheFile CacheManager.saveCacheFile(String, CacheResult)}.
230 * {@link CacheManager.CacheResult#getLocalPath CacheManager.CacheResult.getLocalPath()}.
290 public static CacheResult getCacheFile(String url,
304 public static void saveCacheFile(String url, CacheResult cacheResult) {
309 CacheResult cacheRet) {
317 // way to obtain a new CacheResult object with a non-null output
319 // - CacheResult objects returned by getCacheFile() have a null
321 // - new CacheResult object
[all...]
H A DUrlInterceptRegistry.java19 import android.webkit.CacheManager.CacheResult;
114 * Given an url, returns the CacheResult of the first
117 * @return A CacheResult containing surrogate content.
124 public static synchronized CacheResult getSurrogate(
132 CacheResult result = handler.service(url, headers);

Completed in 111 milliseconds