Searched refs:Cache (Results 1 - 18 of 18) sorted by relevance
/frameworks/volley/tests/src/com/android/volley/utils/ |
H A D | CacheTestUtils.java | 5 import com.android.volley.Cache; 17 public static Cache.Entry makeRandomCacheEntry( 20 Cache.Entry entry = new Cache.Entry(); 37 public static Cache.Entry makeRandomCacheEntry(byte[] data) {
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | NoCache.java | 19 import com.android.volley.Cache; 24 public class NoCache implements Cache {
|
H A D | ClearCacheRequest.java | 19 import com.android.volley.Cache; 31 private final Cache mCache; 36 * @param cache Cache to clear 40 public ClearCacheRequest(Cache cache, Runnable callback) {
|
H A D | HttpHeaderParser.java | 19 import com.android.volley.Cache; 34 * Extracts a {@link Cache.Entry} from a {@link NetworkResponse}. 39 public static Cache.Entry parseCacheHeaders(NetworkResponse response) { 58 headerValue = headers.get("Cache-Control"); 84 // Cache-Control takes precedence over an Expires header, even if both exist and Expires 93 Cache.Entry entry = new Cache.Entry();
|
H A D | BasicNetwork.java | 22 import com.android.volley.Cache; 179 private void addCacheHeaders(Map<String, String> headers, Cache.Entry entry) {
|
H A D | DiskBasedCache.java | 21 import com.android.volley.Cache; 39 * Cache implementation that caches files directly onto the hard disk in the specified 42 public class DiskBasedCache implements Cache { 98 VolleyLog.d("Cache cleared."); 174 * @param key Cache key
|
/frameworks/volley/src/com/android/volley/ |
H A D | Response.java | 42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) { 57 /** Cache metadata for this response, or null in the case of error. */ 58 public final Cache.Entry cacheEntry; 74 private Response(T result, Cache.Entry cacheEntry) {
|
H A D | CacheDispatcher.java | 28 * {@link ResponseDelivery}. Cache misses and responses that require 44 private final Cache mCache; 58 * @param cache Cache interface to use for resolution 63 Cache cache, ResponseDelivery delivery) { 101 Cache.Entry entry = mCache.get(request.getCacheKey()); 104 // Cache miss; send off to the network dispatcher.
|
H A D | Cache.java | 25 public interface Cache { interface 28 * @param key Cache key 35 * @param key Cache key 48 * @param key Cache key 55 * @param key Cache key
|
H A D | RequestQueue.java | 75 /** Cache interface for retrieving and storing respones. */ 76 private final Cache mCache; 93 * @param cache A Cache to use for persisting responses to disk 98 public RequestQueue(Cache cache, Network network, int threadPoolSize, 109 * @param cache A Cache to use for persisting responses to disk 113 public RequestQueue(Cache cache, Network network, int threadPoolSize) { 121 * @param cache A Cache to use for persisting responses to disk 124 public RequestQueue(Cache cache, Network network) { 168 * Gets the {@link Cache} instance being used. 170 public Cache getCach [all...] |
H A D | NetworkDispatcher.java | 30 * eligible, using a specified {@link Cache} interface. Valid responses and 40 private final Cache mCache; 52 * @param cache Cache interface to use for writing responses to cache 56 Network network, Cache cache,
|
H A D | Request.java | 100 private Cache.Entry mCacheEntry = null; 258 public void setCacheEntry(Cache.Entry entry) { 265 public Cache.Entry getCacheEntry() {
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
H A D | MockCache.java | 19 import com.android.volley.Cache; 21 public class MockCache implements Cache {
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
H A D | HttpHeaderParserTest.java | 21 import com.android.volley.Cache; 49 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 61 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 72 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 83 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 97 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 114 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 124 headers.put("Cache-Control", "public, max-age=86400"); 126 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 138 headers.put("Cache [all...] |
H A D | DiskBasedCacheTest.java | 21 import com.android.volley.Cache; 33 Cache.Entry e = new Cache.Entry();
|
/frameworks/volley/tests/src/com/android/volley/ |
H A D | CacheDispatcherTest.java | 84 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, false); 94 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, true); 107 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, true, true);
|
H A D | ResponseDeliveryTest.java | 43 Cache.Entry cacheEntry = CacheTestUtils.makeRandomCacheEntry(data);
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 449 #pragma mark Vertex Cache
|
Completed in 180 milliseconds