HomeSort by relevance Sort by last modified time
    Searched defs:cacheEntry (Results 1 - 17 of 17) sorted by null

  /frameworks/volley/src/com/android/volley/
Response.java 42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) {
43 return new Response<T>(result, cacheEntry);
58 public final Cache.Entry cacheEntry;
74 private Response(T result, Cache.Entry cacheEntry) {
76 this.cacheEntry = cacheEntry;
82 this.cacheEntry = null;
NetworkDispatcher.java 121 if (request.shouldCache() && response.cacheEntry != null) {
122 mCache.put(request.getCacheKey(), response.cacheEntry);
  /frameworks/volley/tests/src/com/android/volley/
ResponseDeliveryTest.java 43 Cache.Entry cacheEntry = CacheTestUtils.makeRandomCacheEntry(data);
44 mSuccessResponse = Response.success(data, cacheEntry);
  /frameworks/opt/mms/src/java/com/google/android/mms/util/
AbstractCache.java 31 private final HashMap<K, CacheEntry<V>> mCacheMap;
34 mCacheMap = new HashMap<K, CacheEntry<V>>();
52 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)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/fortress/
Engine.java 139 ServiceCacheEntry cacheEntry = this.serviceCache;
140 if (cacheEntry != null
141 && cacheEntry.algorithm.equalsIgnoreCase(algorithm)
142 && newCacheVersion == cacheEntry.cacheVersion) {
143 service = cacheEntry.service;
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
MediaDataBox.java 156 ByteBuffer cacheEntry = cache.get(chacheEntryOffset).get();
157 if ((cacheEntry != null) && ((chacheEntryOffset + cacheEntry.limit()) >= (offset + length))) {
159 cacheEntry.position((int) (offset - chacheEntryOffset));
160 ByteBuffer cachedSample = cacheEntry.slice();
167 ByteBuffer cacheEntry;
170 cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFER_SIZE, contentSize - offset));
177 cache.put(offset, new SoftReference<ByteBuffer>(cacheEntry));
178 cacheEntry.position(0);
179 ByteBuffer cachedSample = cacheEntry.slice()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
Font.cpp 227 float* cacheEntry = m_fontFallbackList->widthCache().add(run, std::numeric_limits<float>::quiet_NaN(), hasKerningOrLigatures, hasWordSpacingOrLetterSpacing, glyphOverflow);
228 if (cacheEntry && !std::isnan(*cacheEntry))
229 return *cacheEntry;
237 if (cacheEntry && (!fallbackFonts || fallbackFonts->isEmpty()))
238 *cacheEntry = result;
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
ImageDecodingStore.cpp 85 Vector<OwnPtr<CacheEntry> > cacheEntriesToDelete;
103 CacheEntry* cacheEntry = iter->value.get();
104 cacheEntry->decrementUseCount();
107 m_orderedCacheList.remove(cacheEntry);
108 m_orderedCacheList.append(cacheEntry);
118 Vector<OwnPtr<CacheEntry> > cacheEntriesToDelete;
152 DecoderCacheEntry* cacheEntry = iter->value.get();
155 ASSERT(!cacheEntry->useCount());
156 cacheEntry->incrementUseCount()
    [all...]
  /external/icu4c/i18n/
tznames.cpp 153 TimeZoneNamesCacheEntry *cacheEntry = NULL;
157 cacheEntry = (TimeZoneNamesCacheEntry *)uhash_get(gTimeZoneNamesCache, key);
158 if (cacheEntry == NULL) {
175 cacheEntry = (TimeZoneNamesCacheEntry *)uprv_malloc(sizeof(TimeZoneNamesCacheEntry));
176 if (cacheEntry == NULL) {
179 cacheEntry->names = tznames;
180 cacheEntry->refCount = 1;
181 cacheEntry->lastAccess = (double)uprv_getUTCtime();
183 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status);
193 if (cacheEntry != NULL)
    [all...]
tzgnames.cpp     [all...]
ucurr.cpp     [all...]
  /packages/apps/Mms/src/com/android/mms/util/
PduLoaderManager.java 80 PduCacheEntry cacheEntry = null;
83 cacheEntry = mPduCache.get(uri);
90 final boolean pduExists = (cacheEntry != null && cacheEntry.getPdu() != null);
97 PduLoaded pduLoaded = new PduLoaded(cacheEntry.getPdu(), slideshow);
  /packages/apps/InCallUI/src/com/android/incallui/
ContactInfoCache.java 119 final ContactCacheEntry cacheEntry = mInfoMap.get(callId);
123 if (cacheEntry != null) {
126 callback.onContactInfoComplete(callId, cacheEntry);
164 final ContactCacheEntry cacheEntry = buildEntry(mContext, callId,
168 mInfoMap.put(callId, cacheEntry);
169 sendInfoNotifications(callId, cacheEntry);
172 if (!callerInfo.contactExists && cacheEntry.name == null &&
176 mPhoneNumberService.getPhoneNumberInfo(cacheEntry.number, listener, listener);
177 } else if (cacheEntry.personUri != null) {
182 mContext, cacheEntry.personUri, ContactInfoCache.this, callId)
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
ucurr.cpp     [all...]
  /frameworks/opt/mms/src/java/com/google/android/mms/pdu/
PduPersister.java 527 PduCacheEntry cacheEntry = null;
541 cacheEntry = PDU_CACHE_INSTANCE.get(uri);
542 if (cacheEntry != null) {
543 return cacheEntry.getPdu();
671 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId);
672 PDU_CACHE_INSTANCE.put(uri, cacheEntry);
    [all...]
  /prebuilts/misc/common/groovy/
groovy-all-1.7.0.jar 
  /prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar 

Completed in 5261 milliseconds