HomeSort by relevance Sort by last modified time
    Searched refs:cacheEntry (Results 1 - 25 of 25) 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);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
ImageDecodingStore.cpp 94 Vector<OwnPtr<CacheEntry> > cacheEntriesToDelete;
107 Vector<OwnPtr<CacheEntry> > cacheEntriesToDelete;
114 CacheEntry* cacheEntry = iter->value.get();
115 cacheEntry->decrementUseCount();
118 m_orderedCacheList.remove(cacheEntry);
119 m_orderedCacheList.append(cacheEntry);
125 if (!s_imageCachingEnabled && !cacheEntry->useCount()) {
126 removeFromCacheInternal(cacheEntry, &cacheEntriesToDelete);
139 Vector<OwnPtr<CacheEntry> > cacheEntriesToDelete
    [all...]
ImageDecodingStore.h 152 class CacheEntry : public DoublyLinkedListNode<CacheEntry> {
153 friend class WTF::DoublyLinkedListNode<CacheEntry>;
160 CacheEntry(const ImageFrameGenerator* generator, int useCount, bool isDiscardable)
169 virtual ~CacheEntry()
191 CacheEntry* m_prev;
192 CacheEntry* m_next;
195 class ImageCacheEntry : public CacheEntry {
203 : CacheEntry(generator, count, DiscardablePixelRef::isDiscardable(image->bitmap().pixelRef()))
225 class DecoderCacheEntry : public CacheEntry {
    [all...]
  /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...]
  /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...]
  /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/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...]
  /external/chromium_org/third_party/skia/include/gpu/
GrResource.h 66 void setCacheEntry(GrResourceEntry* cacheEntry) { fCacheEntry = cacheEntry; }
  /external/skia/include/gpu/
GrResource.h 66 void setCacheEntry(GrResourceEntry* cacheEntry) { fCacheEntry = cacheEntry; }
  /frameworks/volley/tests/src/com/android/volley/
ResponseDeliveryTest.java 43 Cache.Entry cacheEntry = CacheTestUtils.makeRandomCacheEntry(data);
44 mSuccessResponse = Response.success(data, cacheEntry);
  /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,
178 } else if (cacheEntry.personUri != null) {
183 mContext, cacheEntry.personUri, ContactInfoCache.this, callId)
    [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);
  /external/chromium_org/third_party/icu/source/i18n/
ucurr.cpp     [all...]
zstrfmt.h 505 SafeZoneStringFormatPtr(ZSFCacheEntry *cacheEntry);
zstrfmt.cpp     [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/
drive_internals.js 90 * @param {Object} cacheEntry Dictionary describing a cache entry.
93 function updateCacheContents(cacheEntry) {
95 tr.appendChild(createElementFromText('td', cacheEntry.local_id));
96 tr.appendChild(createElementFromText('td', cacheEntry.md5));
97 tr.appendChild(createElementFromText('td', cacheEntry.is_present));
98 tr.appendChild(createElementFromText('td', cacheEntry.is_pinned));
99 tr.appendChild(createElementFromText('td', cacheEntry.is_dirty));
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
Font.cpp 219 float* cacheEntry = m_fontFallbackList->widthCache().add(run, std::numeric_limits<float>::quiet_NaN(), hasKerningOrLigatures, hasWordSpacingOrLetterSpacing, glyphOverflow);
220 if (cacheEntry && !std::isnan(*cacheEntry))
221 return *cacheEntry;
229 if (cacheEntry && (!fallbackFonts || fallbackFonts->isEmpty()))
230 *cacheEntry = result;
  /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...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
HarfBuzzShaper.cpp 94 CachedShapingResultsLRUNode(const CachedShapingResultsMap::iterator& cacheEntry);
112 CachedShapingResultsLRUNode::CachedShapingResultsLRUNode(const CachedShapingResultsMap::iterator& cacheEntry)
113 : entry(cacheEntry)
    [all...]
  /external/chromium_org/net/third_party/nss/ssl/
sslsnce.c     [all...]
  /prebuilts/misc/common/groovy/
groovy-all-1.7.0.jar 
  /prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar 

Completed in 394 milliseconds