HomeSort by relevance Sort by last modified time
    Searched refs:cacheEntry (Results 1 - 25 of 49) sorted by null

1 2

  /frameworks/volley/src/main/java/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 128 if (request.shouldCache() && response.cacheEntry != null) {
129 mCache.put(request.getCacheKey(), response.cacheEntry);
  /frameworks/opt/telephony/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...]
  /packages/apps/Messaging/src/com/android/messaging/mmslib/util/
AbstractCache.java 29 private final SimpleArrayMap<K, CacheEntry<V>> mCacheMap;
32 mCacheMap = new SimpleArrayMap<K, CacheEntry<V>>();
50 CacheEntry<V> cacheEntry = new CacheEntry<V>();
51 cacheEntry.value = value;
52 mCacheMap.put(key, cacheEntry);
68 CacheEntry<V> cacheEntry = mCacheMap.get(key);
69 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...]
  /external/icu/icu4c/source/i18n/
tznames.cpp 147 TimeZoneNamesCacheEntry *cacheEntry = NULL;
150 cacheEntry = (TimeZoneNamesCacheEntry *)uhash_get(gTimeZoneNamesCache, key);
151 if (cacheEntry == NULL) {
168 cacheEntry = (TimeZoneNamesCacheEntry *)uprv_malloc(sizeof(TimeZoneNamesCacheEntry));
169 if (cacheEntry == NULL) {
172 cacheEntry->names = tznames;
173 cacheEntry->refCount = 1;
174 cacheEntry->lastAccess = (double)uprv_getUTCtime();
176 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status);
186 if (cacheEntry != NULL)
    [all...]
tzgnames.cpp     [all...]
ucurr.cpp     [all...]
rulebasedcollator.cpp 143 cacheEntry(other.cacheEntry),
148 cacheEntry->addRef();
156 cacheEntry(NULL),
186 cacheEntry(entry),
191 cacheEntry->addRef();
196 SharedObject::clearPtr(cacheEntry);
205 U_ASSERT(settings == NULL && data == NULL && tailoring == NULL && cacheEntry == NULL);
206 cacheEntry = new CollationCacheEntry(t->actualLocale, t);
207 if(cacheEntry == NULL)
    [all...]
collationbuilder.cpp 87 cacheEntry(NULL),
97 cacheEntry(NULL),
109 cacheEntry(NULL),
122 cacheEntry(NULL),
136 cacheEntry(NULL),
149 cacheEntry(NULL),
    [all...]
  /frameworks/volley/src/test/java/com/android/volley/
ResponseDeliveryTest.java 44 Cache.Entry cacheEntry = CacheTestUtils.makeRandomCacheEntry(data);
45 mSuccessResponse = Response.success(data, cacheEntry);
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
ContactInfoCache.java 177 final ContactCacheEntry cacheEntry = mInfoMap.get(callId);
181 if (cacheEntry != null) {
184 callback.onContactInfoComplete(callId, cacheEntry);
223 ContactCacheEntry cacheEntry = mInfoMap.get(callId);
224 // Ensure we always have a cacheEntry. Replace the existing entry if
226 if (cacheEntry == null || TextUtils.isEmpty(cacheEntry.namePrimary) ||
228 cacheEntry = buildEntry(mContext, callId, callerInfo, presentationMode, isIncoming);
229 mInfoMap.put(callId, cacheEntry);
232 sendInfoNotifications(callId, cacheEntry);
    [all...]
  /frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
PduPersister.java 531 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);
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
PduPersister.java 564 PduCacheEntry cacheEntry = null;
581 cacheEntry = PDU_CACHE_INSTANCE.get(uri);
582 if (cacheEntry != null) {
583 return cacheEntry.getPdu();
626 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId);
627 PDU_CACHE_INSTANCE.put(uri, cacheEntry);
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
tblcoll.h     [all...]
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp     [all...]
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/
plexus-interpolation-1.11.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar 
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
plexus-interpolation-1.19.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/codehaus/plexus/plexus-interpolation/1.13/
plexus-interpolation-1.13.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/codehaus/plexus/plexus-interpolation/1.14/
plexus-interpolation-1.14.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/
plexus-interpolation-1.14.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/
plexus-interpolation-1.21.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/haha/haha/1.3/
haha-1.3.jar 

Completed in 2364 milliseconds

1 2