Searched refs:cacheEntry (Results 1 - 6 of 6) sorted by relevance

/frameworks/volley/src/main/java/com/android/volley/
H A DResponse.java42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) { argument
43 return new Response<T>(result, cacheEntry);
58 public final Cache.Entry cacheEntry; field in class:Response
74 private Response(T result, Cache.Entry cacheEntry) { argument
76 this.cacheEntry = cacheEntry;
82 this.cacheEntry = null;
H A DNetworkDispatcher.java128 if (request.shouldCache() && response.cacheEntry != null) {
129 mCache.put(request.getCacheKey(), response.cacheEntry);
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DAbstractCache.java52 CacheEntry<V> cacheEntry = new CacheEntry<V>();
53 cacheEntry.value = value;
54 mCacheMap.put(key, cacheEntry);
70 CacheEntry<V> cacheEntry = mCacheMap.get(key);
71 if (cacheEntry != null) {
72 cacheEntry.hit++;
74 Log.v(TAG, key + " hit " + cacheEntry.hit + " times.");
76 return cacheEntry.value;
/frameworks/volley/src/test/java/com/android/volley/
H A DResponseDeliveryTest.java44 Cache.Entry cacheEntry = CacheTestUtils.makeRandomCacheEntry(data);
45 mSuccessResponse = Response.success(data, cacheEntry);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduPersister.java531 PduCacheEntry cacheEntry = null;
545 cacheEntry = PDU_CACHE_INSTANCE.get(uri);
546 if (cacheEntry != null) {
547 return cacheEntry.getPdu();
675 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId);
676 PDU_CACHE_INSTANCE.put(uri, cacheEntry);
1157 PduCacheEntry cacheEntry;
1168 cacheEntry = PDU_CACHE_INSTANCE.get(uri);
1169 if (cacheEntry != null) {
1170 ((MultimediaMessagePdu) cacheEntry
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp3235 TypeCacheEntry& cacheEntry = typeCacheEntries.editItemAt(i); local
3238 cacheEntry.filteredConfigs.clear();
3240 bag_set** typeBags = cacheEntry.cachedBags;
3256 cacheEntry.cachedBags = NULL;
4197 TypeCacheEntry& cacheEntry = grp->typeCacheEntries.editItemAt(t); local
4198 bag_set** typeSet = cacheEntry.cachedBags;
4222 cacheEntry.cachedBags = typeSet;
4452 TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries.editItemAt(t); local
4474 cacheEntry.filteredConfigs.add(newFilteredConfigs);
6031 const TypeCacheEntry& cacheEntry local
[all...]

Completed in 697 milliseconds