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.java56 public static class CacheResult { class in class:CacheManager
197 * {@link CacheManager#saveCacheFile CacheManager.saveCacheFile(String, CacheResult)}.
236 * {@link CacheManager.CacheResult#getLocalPath CacheManager.CacheResult.getLocalPath()}.
296 public static CacheResult getCacheFile(String url,
310 public static void saveCacheFile(String url, CacheResult cacheResult) {
315 CacheResult cacheRet) {
323 // way to obtain a new CacheResult object with a non-null output
325 // - CacheResult objects returned by getCacheFile() have a null
327 // - 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 329 milliseconds