Home
last modified time | relevance | path

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

/external/volley/src/test/java/com/android/volley/
DCacheDispatcherTest.java49 private @Mock Cache mCache; field in CacheDispatcherTest
59 mDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery); in setUp()
90 verify(mCache, never()).get(anyString()); in cancelledRequest()
107 when(mCache.get(anyString())).thenReturn(entry); in nonExpiredCacheHit()
117 when(mCache.get(anyString())).thenReturn(entry); in softExpiredCacheHit()
136 when(mCache.get(anyString())).thenReturn(entry); in expiredCacheHit()
182 when(mCache.get(anyString())).thenReturn(entry); in duplicateSoftExpiredCacheHit_failedRequest()
211 when(mCache.get(anyString())).thenReturn(entry); in duplicateSoftExpiredCacheHit_successfulRequest()
242 RequestQueue queue = new RequestQueue(mCache, mNetwork, 0, mDelivery); in processRequestNotifiesListener()
247 when(mCache.get(anyString())).thenReturn(entry); in processRequestNotifiesListener()
DNetworkDispatcherTest.java50 private @Mock Cache mCache; field in NetworkDispatcherTest
60 mDispatcher = new NetworkDispatcher(mNetworkQueue, mNetwork, mCache, mDelivery); in setUp()
133 verify(mCache, never()).put(anyString(), any(Cache.Entry.class)); in shouldCacheFalse()
143 verify(mCache).put(eq(mRequest.getCacheKey()), entry.capture()); in shouldCacheTrue()
/external/volley/src/main/java/com/android/volley/
DRequestQueue.java110 private final Cache mCache; field in RequestQueue
139 mCache = cache; in RequestQueue()
174 mCacheDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery); in start()
180 new NetworkDispatcher(mNetworkQueue, mNetwork, mCache, mDelivery); in start()
205 return mCache; in getCache()
DCacheDispatcher.java46 private final Cache mCache; field in CacheDispatcher
73 mCache = cache; in CacheDispatcher()
93 mCache.initialize(); in run()
135 Cache.Entry entry = mCache.get(request.getCacheKey()); in processRequest()
DNetworkDispatcher.java42 private final Cache mCache; field in NetworkDispatcher
64 mCache = cache; in NetworkDispatcher()
150 mCache.put(request.getCacheKey(), response.cacheEntry); in processRequest()
/external/volley/src/main/java/com/android/volley/toolbox/
DClearCacheRequest.java28 private final Cache mCache; field in ClearCacheRequest
39 mCache = cache; in ClearCacheRequest()
46 mCache.clear(); in isCanceled()
DImageLoader.java50 private final ImageCache mCache; field in ImageLoader
86 mCache = imageCache; in ImageLoader()
171 return mCache.getBitmap(cacheKey) != null;
225 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
307 mCache.putBitmap(cacheKey, response);
/external/doclava/src/com/google/doclava/
DConverter.java356 return mCache.values();
740 mCache.put(key, value); in put()
748 Object r = mCache.get(k); in obtain()
751 mCache.put(k, r); in obtain()
757 protected HashMap<Object, Object> mCache = new HashMap<Object, Object>(); field in Converter.Cache
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.h136 JitCache mCache; member
DJitManager.cpp109 mCache.Init(this, hostCPUName, optLevel); in JitManager()
110 mpExec->setObjectCache(&mCache); in JitManager()