Home
last modified time | relevance | path

Searched refs:ResponseCache (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DResponseCacheTest.java23 import java.net.ResponseCache;
37 assertNull(ResponseCache.getDefault()); in test_GetDefault()
45 ResponseCache rc1 = new MockResponseCache(); in test_SetDefaultLjava_net_ResponseCache_Normal()
46 ResponseCache rc2 = new MockResponseCache(); in test_SetDefaultLjava_net_ResponseCache_Normal()
47 ResponseCache.setDefault(rc1); in test_SetDefaultLjava_net_ResponseCache_Normal()
48 assertSame(ResponseCache.getDefault(), rc1); in test_SetDefaultLjava_net_ResponseCache_Normal()
49 ResponseCache.setDefault(rc2); in test_SetDefaultLjava_net_ResponseCache_Normal()
50 assertSame(ResponseCache.getDefault(), rc2); in test_SetDefaultLjava_net_ResponseCache_Normal()
51 ResponseCache.setDefault(null); in test_SetDefaultLjava_net_ResponseCache_Normal()
52 assertNull(ResponseCache.getDefault()); in test_SetDefaultLjava_net_ResponseCache_Normal()
[all …]
/libcore/ojluni/src/main/java/java/net/
DResponseCache.java61 public abstract class ResponseCache { class
70 private static ResponseCache theResponseCache;
83 public synchronized static ResponseCache getDefault() { in getDefault()
106 public synchronized static void setDefault(ResponseCache responseCache) { in setDefault()
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java51 import java.net.ResponseCache;
123 ResponseCache.setDefault(null); in tearDown()
825 ResponseCache.setDefault(cache); in initResponseCache()
2718 ResponseCache.setDefault(new ResponseCache() {
2805 ResponseCache.setDefault(new ResponseCache() {
/libcore/
Dopenjdk_java_files.bp309 "ojluni/src/main/java/java/net/ResponseCache.java",