/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
D | CacheTest.java | 19 import com.android.volley.Cache; 32 assertNotNull(Cache.class.getMethod("get", String.class)); in publicMethods() 33 assertNotNull(Cache.class.getMethod("put", String.class, Cache.Entry.class)); in publicMethods() 34 assertNotNull(Cache.class.getMethod("initialize")); in publicMethods() 35 assertNotNull(Cache.class.getMethod("invalidate", String.class, boolean.class)); in publicMethods() 36 assertNotNull(Cache.class.getMethod("remove", String.class)); in publicMethods() 37 assertNotNull(Cache.class.getMethod("clear")); in publicMethods()
|
D | HttpHeaderParserTest.java | 19 import com.android.volley.Cache; 55 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_noHeaders() 68 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_headersSet() 79 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_etag() 91 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_normalExpire() 106 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_expiresInPast() 123 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_serverRelative() 135 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlOverridesExpires() 153 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_staleWhileRevalidate() 167 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlNoCache() [all …]
|
D | RequestQueueTest.java | 32 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class, in publicMethods() 34 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class)); in publicMethods() 35 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class)); in publicMethods()
|
D | ResponseTest.java | 19 import com.android.volley.Cache; 37 assertNotNull(Response.class.getMethod("success", Object.class, Cache.Entry.class)); in publicMethods()
|
D | DiskBasedCacheTest.java | 19 import com.android.volley.Cache; 35 Cache.Entry e = new Cache.Entry(); in cacheHeaderSerialization()
|
D | RequestTest.java | 48 assertNotNull(Request.class.getMethod("setCacheEntry", Cache.Entry.class)); in publicMethods()
|
/frameworks/volley/src/test/java/com/android/volley/utils/ |
D | CacheTestUtils.java | 5 import com.android.volley.Cache; 17 public static Cache.Entry makeRandomCacheEntry( in makeRandomCacheEntry() 20 Cache.Entry entry = new Cache.Entry(); in makeRandomCacheEntry() 37 public static Cache.Entry makeRandomCacheEntry(byte[] data) { in makeRandomCacheEntry()
|
/frameworks/volley/src/main/java/com/android/volley/ |
D | Response.java | 42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) { in success() 58 public final Cache.Entry cacheEntry; 74 private Response(T result, Cache.Entry cacheEntry) { in Response()
|
D | RequestQueue.java | 83 private final Cache mCache; 108 public RequestQueue(Cache cache, Network network, int threadPoolSize, in RequestQueue() 123 public RequestQueue(Cache cache, Network network, int threadPoolSize) { in RequestQueue() 134 public RequestQueue(Cache cache, Network network) { in RequestQueue() 180 public Cache getCache() { in getCache()
|
D | CacheDispatcher.java | 43 private final Cache mCache; 62 Cache cache, ResponseDelivery delivery) { in CacheDispatcher() 100 Cache.Entry entry = mCache.get(request.getCacheKey()); in run()
|
D | NetworkDispatcher.java | 41 private final Cache mCache; 57 Network network, Cache cache, in NetworkDispatcher()
|
D | Request.java | 101 private Cache.Entry mCacheEntry = null; 290 public Request<?> setCacheEntry(Cache.Entry entry) { in setCacheEntry() 298 public Cache.Entry getCacheEntry() { in getCacheEntry()
|
D | Cache.java | 25 public interface Cache { interface
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | ClearCacheRequest.java | 19 import com.android.volley.Cache; 31 private final Cache mCache; 40 public ClearCacheRequest(Cache cache, Runnable callback) { in ClearCacheRequest()
|
D | HttpHeaderParser.java | 19 import com.android.volley.Cache; 39 public static Cache.Entry parseCacheHeaders(NetworkResponse response) { in parseCacheHeaders() 111 Cache.Entry entry = new Cache.Entry(); in parseCacheHeaders()
|
D | NoCache.java | 19 import com.android.volley.Cache; 24 public class NoCache implements Cache {
|
D | BasicNetwork.java | 22 import com.android.volley.Cache; 23 import com.android.volley.Cache.Entry; 205 private void addCacheHeaders(Map<String, String> headers, Cache.Entry entry) { in addCacheHeaders()
|
/frameworks/volley/src/test/java/com/android/volley/mock/ |
D | MockCache.java | 19 import com.android.volley.Cache; 21 public class MockCache implements Cache {
|
/frameworks/volley/src/test/java/com/android/volley/ |
D | CacheDispatcherTest.java | 83 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, false); in nonExpiredCacheHit() 93 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, true); in softExpiredCacheHit() 106 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, true, true); in expiredCacheHit()
|
D | ResponseDeliveryTest.java | 44 Cache.Entry cacheEntry = CacheTestUtils.makeRandomCacheEntry(data); in setUp()
|
/frameworks/base/docs/html/topic/performance/power/network/ |
D | action-any-traffic.jd | 12 <li><a href="#cache-locally">Cache Files Locally</a></li> 13 <li><a href="#pre-fetch">Optimize Pre-Fetch Cache Size</a></li> 59 <h2 id="cache-locally">Cache Files Locally</h2> 83 "{@docRoot}training/efficient-downloads/redundant_redundant.html#LocalCache">Cache Files 88 <h2 id="pre-fetch">Optimize Pre-Fetch Cache Size</h2>
|
/frameworks/base/core/java/android/net/http/ |
D | HttpResponseCache.java | 19 import com.android.okhttp.Cache; 296 public Cache getCache() { in getCache()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | URLFetcher.java | 21 import com.android.volley.Cache; 166 Cache.Entry cachePolicy = HttpHeaderParser.parseCacheHeaders(response); in getExpirationTimeMillisFromHTTPHeader()
|
/frameworks/base/docs/html/training/efficient-downloads/ |
D | redundant_redundant.jd | 18 <li><a href="#LocalCache">Cache files locally</a></li> 34 <h2 id="LocalCache">Cache Files Locally</h2> 67 <h2 id="ResponseCache">Use the HttpURLConnection Response Cache</h2>
|
/frameworks/base/docs/html/training/volley/ |
D | requestqueue.jd | 13 <li><a href="#network">Set Up a Network and Cache</a></li> 36 <h2 id="network">Set Up a Network and Cache</h2> 55 Cache cache = new DiskBasedCache(getCacheDir(), 1024 * 1024); // 1MB cap
|