Home
last modified time | relevance | path

Searched refs:mCache (Results 1 – 14 of 14) 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()
151 when(mCache.get(anyString())).thenReturn(entry); in freshCacheHit_parseError()
158 verify(mCache).invalidate("cache/key", true); in freshCacheHit_parseError()
201 when(mCache.get(anyString())).thenReturn(entry); in duplicateSoftExpiredCacheHit_failedRequest()
230 when(mCache.get(anyString())).thenReturn(entry); in duplicateSoftExpiredCacheHit_successfulRequest()
[all …]
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/angle/src/tests/perf_tests/
DVulkanPipelineCachePerf.cpp30 GraphicsPipelineCache mCache; member in __anon6e55aa2e0111::VulkanPipelineCachePerfTest
47 mCache.destroy(VK_NULL_HANDLE); in ~VulkanPipelineCachePerfTest()
63 mCache.populate(desc, std::move(pipeline)); in SetUp()
98 (void)mCache.getPipeline(VK_NULL_HANDLE, pc, rp, pl, am, ctm, &sm, &sm, nullptr, in step()
107 (void)mCache.getPipeline(VK_NULL_HANDLE, pc, rp, pl, am, ctm, &sm, &sm, nullptr, nullptr, in step()
/external/volley/src/main/java/com/android/volley/
DCacheDispatcher.java42 private final Cache mCache; field in CacheDispatcher
69 mCache = cache; in CacheDispatcher()
89 mCache.initialize(); in run()
131 Cache.Entry entry = mCache.get(request.getCacheKey()); in processRequest()
160 mCache.invalidate(request.getCacheKey(), true); in processRequest()
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()
DNetworkDispatcher.java42 private final Cache mCache; field in NetworkDispatcher
64 mCache = cache; in NetworkDispatcher()
150 mCache.put(request.getCacheKey(), response.cacheEntry); in processRequest()
DAsyncRequestQueue.java479 @Nullable private Cache mCache = null;
517 mCache = cache;
575 if (mCache == null && mAsyncCache == null) {
578 if (mCache == null) {
581 mCache = new ThrowingCache();
590 mCache, mNetwork, mAsyncCache, mResponseDelivery, mExecutorFactory);
/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.java51 private final ImageCache mCache; field in ImageLoader
88 mCache = imageCache; in ImageLoader()
173 return mCache.getBitmap(cacheKey) != null;
227 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
309 mCache.putBitmap(cacheKey, response);
/external/doclava/src/com/google/doclava/
DConverter.java356 return mCache.values();
747 mCache.put(key, value); in put()
755 Object r = mCache.get(k); in obtain()
758 mCache.put(k, r); in obtain()
764 protected HashMap<Object, Object> mCache = new HashMap<Object, Object>(); field in Converter.Cache
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.h147 JitCache mCache; member
DJitManager.cpp134 mCache.Init(this, mHostCpuName, mOptLevel); in JitManager()
199 mpExec->setObjectCache(&mCache); in CreateExecEngine()
/external/angle/doc/
DBufferImplementation.md68 StaticVertexBuffer::mCache vector.
/external/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi5883 …<var-decl name='mCache' type-id='0185cb3d' visibility='default' filepath='frameworks/base/libs/and…