HomeSort by relevance Sort by last modified time
    Searched defs:ResponseCache (Results 1 - 16 of 16) sorted by null

  /libcore/luni/src/main/java/java/net/
ResponseCache.java 28 * {@code ResponseCache} implementation gets to decide what will actually be cached,
31 public abstract class ResponseCache {
32 private static ResponseCache defaultResponseCache = null;
37 public static ResponseCache getDefault() {
44 public static void setDefault(ResponseCache responseCache) {
45 defaultResponseCache = responseCache;
69 * {@code ResponseCache} decides whether the resource data should be cached
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
ResponseCacheTest.java 23 import java.net.ResponseCache;
34 * @tests java.net.ResponseCache#getDefault()
37 assertNull(ResponseCache.getDefault());
41 * @tests java.net.ResponseCache#setDefault(ResponseCache)
45 ResponseCache rc1 = new MockResponseCache();
46 ResponseCache rc2 = new MockResponseCache();
47 ResponseCache.setDefault(rc1);
48 assertSame(ResponseCache.getDefault(), rc1);
49 ResponseCache.setDefault(rc2)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/net/http/
HttpResponseCacheTest.java 24 import java.net.ResponseCache;
44 ResponseCache.setDefault(null);
52 assertSame(installed, ResponseCache.getDefault());
74 ResponseCache.setDefault(new ResponseCache() {
99 assertNull(ResponseCache.getDefault());
105 assertNull(ResponseCache.getDefault());
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
HttpResponseCacheTest.java 41 import java.net.ResponseCache;
111 ResponseCache.setDefault(cache);
118 ResponseCache.setDefault(null);
235 ResponseCache.setDefault(new ResponseCache() {
289 * HttpURLConnection.getInputStream().skip(long) causes ResponseCache corruption
368 ResponseCache.setDefault(new InsecureResponseCache());
497 ResponseCache.setDefault(new ResponseCache() {
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java 41 import java.net.ResponseCache;
95 ResponseCache.setDefault(null);
743 ResponseCache.setDefault(cache);
    [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 138 milliseconds