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

1 2 3

  /external/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 152 TimeZoneNamesCacheEntry *cacheEntry = NULL;
155 cacheEntry = (TimeZoneNamesCacheEntry *)uhash_get(gTimeZoneNamesCache, key);
156 if (cacheEntry == NULL) {
173 cacheEntry = (TimeZoneNamesCacheEntry *)uprv_malloc(sizeof(TimeZoneNamesCacheEntry));
174 if (cacheEntry == NULL) {
177 cacheEntry->names = tznames;
178 cacheEntry->refCount = 1;
179 cacheEntry->lastAccess = (double)uprv_getUTCtime();
181 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status);
191 if (cacheEntry != NULL)
    [all...]
tzgnames.cpp     [all...]
rulebasedcollator.cpp 145 cacheEntry(other.cacheEntry),
150 cacheEntry->addRef();
158 cacheEntry(NULL),
188 cacheEntry(entry),
193 cacheEntry->addRef();
198 SharedObject::clearPtr(cacheEntry);
207 U_ASSERT(settings == NULL && data == NULL && tailoring == NULL && cacheEntry == NULL);
208 cacheEntry = new CollationCacheEntry(t->actualLocale, t);
209 if(cacheEntry == NULL)
    [all...]
collationbuilder.cpp 89 cacheEntry(NULL),
99 cacheEntry(NULL),
111 cacheEntry(NULL),
124 cacheEntry(NULL),
138 cacheEntry(NULL),
151 cacheEntry(NULL),
    [all...]
  /external/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/java/com/android/incallui/
ContactInfoCache.java 350 final ContactCacheEntry cacheEntry = mInfoMap.get(callId);
354 boolean forceQuery = needForceQuery(call, cacheEntry);
359 if (cacheEntry != null && !forceQuery) {
364 callback.onContactInfoComplete(callId, cacheEntry);
402 if (cacheEntry != null) {
407 cacheEntry.queryId = queryToken.mQueryId;
434 Log.d(TAG, "Existing cacheEntry in hashMap " + existingCacheEntry);
454 ContactCacheEntry cacheEntry = buildEntry(mContext, callerInfo, presentationMode);
455 cacheEntry.queryId = queryToken.mQueryId;
458 if (cacheEntry.displayPhotoUri != null)
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/build/
FileDownloadCache.java 121 for (FilePair cacheEntry : cacheEntryList) {
122 mCacheMap.put(cacheEntry.mRelPath, cacheEntry.mFile);
123 mCurrentCacheSize += cacheEntry.mFile.length();
  /external/icu/icu4c/source/common/
ucurr.cpp     [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
HalDeviceManager.java 251 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(name);
252 if (cacheEntry == null) {
257 return cacheEntry.chip;
275 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(name);
276 if (cacheEntry == null) {
281 return cacheEntry.destroyedListeners.add(
    [all...]
  /frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
PduPersister.java 529 PduCacheEntry cacheEntry = null;
543 cacheEntry = PDU_CACHE_INSTANCE.get(uri);
544 if (cacheEntry != null) {
545 return cacheEntry.getPdu();
673 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId);
674 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...]
  /prebuilts/tools/common/m2/repository/com/mcxiaoke/volley/library/1.0.10/
library-1.0.10.jar 
  /frameworks/base/services/core/jni/
com_android_server_location_ContextHubService.cpp 678 AppInstanceInfo cacheEntry = current->second;
684 if (apps[i].appId == cacheEntry.appInfo.appId) {
692 deleteAppInstance(cacheEntry.instanceId, env);
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
PackageParserTest.java 183 public Package fromCacheEntry(byte[] cacheEntry) {
184 return new Package(new String(cacheEntry, StandardCharsets.UTF_8));
  /prebuilts/tools/common/m2/repository/com/mcxiaoke/volley/library/1.0.18/
library-1.0.18.jar 
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp     [all...]
  /prebuilts/misc/common/robolectric/lib/
plexus-interpolation-1.11.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/
plexus-interpolation-1.11.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 

Completed in 497 milliseconds

1 2 3