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

  /frameworks/support/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 114 if (request.shouldCache() && response.cacheEntry != null) {
115 mCache.put(request.getCacheKey(), response.cacheEntry);
  /frameworks/support/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/icu4c/i18n/
tznames.cpp 150 TimeZoneNamesCacheEntry *cacheEntry = NULL;
154 cacheEntry = (TimeZoneNamesCacheEntry *)uhash_get(gTimeZoneNamesCache, key);
155 if (cacheEntry == NULL) {
172 cacheEntry = (TimeZoneNamesCacheEntry *)uprv_malloc(sizeof(TimeZoneNamesCacheEntry));
173 if (cacheEntry == NULL) {
176 cacheEntry->names = tznames;
177 cacheEntry->refCount = 1;
178 cacheEntry->lastAccess = (double)uprv_getUTCtime();
180 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status);
190 if (cacheEntry != NULL)
    [all...]
tzfmt.cpp 415 TimeZoneFormatCacheEntry *cacheEntry = NULL;
419 cacheEntry = (TimeZoneFormatCacheEntry *)uhash_get(gTimeZoneFormatCache, key);
420 if (cacheEntry == NULL) {
437 cacheEntry = (TimeZoneFormatCacheEntry *)uprv_malloc(sizeof(TimeZoneFormatCacheEntry));
438 if (cacheEntry == NULL) {
441 cacheEntry->tzfmt = tzfmt;
442 cacheEntry->refCount = 1;
443 cacheEntry->lastAccess = (double)uprv_getUTCtime();
445 uhash_put(gTimeZoneFormatCache, newKey, cacheEntry, &status);
455 if (cacheEntry != NULL)
    [all...]
ucurr.cpp     [all...]
  /external/skia/include/gpu/
GrContext.h 103 GrResourceEntry* cacheEntry() { return fEntry; }
    [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);
  /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 290 milliseconds