Home
last modified time | relevance | path

Searched refs:mCache (Results 1 – 8 of 8) sorted by relevance

/external/volley/src/test/java/com/android/volley/
DNetworkDispatcherTest.java40 private MockCache mCache; field in NetworkDispatcherTest
50 mCache = new MockCache(); in setUp()
52 mDispatcher = new NetworkDispatcher(mNetworkQueue, mNetwork, mCache, mDelivery); in setUp()
86 assertFalse(mCache.putCalled); in shouldCacheFalse()
95 assertTrue(mCache.putCalled); in shouldCacheTrue()
96 assertNotNull(mCache.entryPut); in shouldCacheTrue()
97 assertTrue(Arrays.equals(mCache.entryPut.data, CANNED_DATA)); in shouldCacheTrue()
98 assertEquals("bananaphone", mCache.keyPut); in shouldCacheTrue()
DCacheDispatcherTest.java39 private MockCache mCache; field in CacheDispatcherTest
48 mCache = new MockCache(); in setUp()
53 mDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery); in setUp()
67 assertFalse(mCache.getCalled); in cancelledRequest()
84 mCache.setEntryToReturn(entry); in nonExpiredCacheHit()
94 mCache.setEntryToReturn(entry); in softExpiredCacheHit()
107 mCache.setEntryToReturn(entry); in expiredCacheHit()
/external/volley/src/main/java/com/android/volley/
DCacheDispatcher.java43 private final Cache mCache; field in CacheDispatcher
65 mCache = cache; in CacheDispatcher()
84 mCache.initialize(); in run()
100 Cache.Entry entry = mCache.get(request.getCacheKey()); in run()
DRequestQueue.java83 private final Cache mCache; field in RequestQueue
110 mCache = cache; in RequestQueue()
144 mCacheDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery); in start()
150 mCache, mDelivery); in start()
181 return mCache; in getCache()
DNetworkDispatcher.java41 private final Cache mCache; field in NetworkDispatcher
61 mCache = cache; in NetworkDispatcher()
129 mCache.put(request.getCacheKey(), response.cacheEntry); in run()
/external/volley/src/main/java/com/android/volley/toolbox/
DClearCacheRequest.java31 private final Cache mCache; field in ClearCacheRequest
42 mCache = cache; in ClearCacheRequest()
49 mCache.clear(); in isCanceled()
DImageLoader.java50 private final ImageCache mCache; field in ImageLoader
86 mCache = imageCache; in ImageLoader()
169 return mCache.getBitmap(cacheKey) != null;
216 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
281 mCache.putBitmap(cacheKey, response);
/external/doclava/src/com/google/doclava/
DConverter.java355 return mCache.values().toArray(new ClassInfo[mCache.size()]);
731 mCache.put(key, value); in put()
739 Object r = mCache.get(k); in obtain()
742 mCache.put(k, r); in obtain()
748 protected HashMap<Object, Object> mCache = new HashMap<Object, Object>(); field in Converter.Cache