Searched refs:cacheEntry (Results 1 – 6 of 6) sorted by relevance
/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() argument 43 return new Response<T>(result, cacheEntry); in success() 58 public final Cache.Entry cacheEntry; field in Response 74 private Response(T result, Cache.Entry cacheEntry) { in Response() argument 76 this.cacheEntry = cacheEntry; in Response() 82 this.cacheEntry = null; in Response()
|
D | NetworkDispatcher.java | 128 if (request.shouldCache() && response.cacheEntry != null) { in run() 129 mCache.put(request.getCacheKey(), response.cacheEntry); in run()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
D | AbstractCache.java | 52 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put() local 53 cacheEntry.value = value; in put() 54 mCacheMap.put(key, cacheEntry); in put() 70 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get() local 71 if (cacheEntry != null) { in get() 72 cacheEntry.hit++; in get() 74 Log.v(TAG, key + " hit " + cacheEntry.hit + " times."); in get() 76 return cacheEntry.value; in get()
|
/frameworks/volley/src/test/java/com/android/volley/ |
D | ResponseDeliveryTest.java | 44 Cache.Entry cacheEntry = CacheTestUtils.makeRandomCacheEntry(data); in setUp() local 45 mSuccessResponse = Response.success(data, cacheEntry); in setUp()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduPersister.java | 531 PduCacheEntry cacheEntry = null; in load() local 545 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in load() 546 if (cacheEntry != null) { in load() 547 return cacheEntry.getPdu(); in load() 675 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId); in load() 676 PDU_CACHE_INSTANCE.put(uri, cacheEntry); in load() 1157 PduCacheEntry cacheEntry; in updateParts() local 1168 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in updateParts() 1169 if (cacheEntry != null) { in updateParts() 1170 ((MultimediaMessagePdu) cacheEntry.getPdu()).setBody(body); in updateParts()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 3235 TypeCacheEntry& cacheEntry = typeCacheEntries.editItemAt(i); in clearBagCache() local 3238 cacheEntry.filteredConfigs.clear(); in clearBagCache() 3240 bag_set** typeBags = cacheEntry.cachedBags; in clearBagCache() 3256 cacheEntry.cachedBags = NULL; in clearBagCache() 4197 TypeCacheEntry& cacheEntry = grp->typeCacheEntries.editItemAt(t); in getBagLocked() local 4198 bag_set** typeSet = cacheEntry.cachedBags; in getBagLocked() 4222 cacheEntry.cachedBags = typeSet; in getBagLocked() 4452 TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries.editItemAt(t); in setParameters() local 4474 cacheEntry.filteredConfigs.add(newFilteredConfigs); in setParameters() 6031 const TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries[typeIndex]; in getEntry() local [all …]
|