Home
last modified time | relevance | path

Searched refs:cacheKey (Results 1 – 25 of 30) sorted by relevance

12

/external/volley/src/main/java/com/android/volley/toolbox/
DImageLoader.java170 String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight, scaleType);
171 return mCache.getBitmap(cacheKey) != null;
222 final String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight, scaleType);
225 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
237 new ImageContainer(null, requestUrl, cacheKey, imageListener);
243 BatchedImageRequest request = mInFlightRequests.get(cacheKey);
245 request = mBatchedResponses.get(cacheKey);
256 makeImageRequest(requestUrl, maxWidth, maxHeight, scaleType, cacheKey);
259 mInFlightRequests.put(cacheKey, new BatchedImageRequest(newRequest, imageContainer));
268 final String cacheKey) {
[all …]
/external/volley/src/main/java/com/android/volley/
DCacheDispatcher.java229 String cacheKey = request.getCacheKey(); in onResponseReceived() local
232 waitingRequests = mWaitingRequests.remove(cacheKey); in onResponseReceived()
238 waitingRequests.size(), cacheKey); in onResponseReceived()
250 String cacheKey = request.getCacheKey(); in onNoUsableResponseReceived() local
251 List<Request<?>> waitingRequests = mWaitingRequests.remove(cacheKey); in onNoUsableResponseReceived()
256 waitingRequests.size(), cacheKey); in onNoUsableResponseReceived()
259 mWaitingRequests.put(cacheKey, waitingRequests); in onNoUsableResponseReceived()
282 String cacheKey = request.getCacheKey(); in maybeAddToWaitingRequests() local
285 if (mWaitingRequests.containsKey(cacheKey)) { in maybeAddToWaitingRequests()
287 List<Request<?>> stagedRequests = mWaitingRequests.get(cacheKey); in maybeAddToWaitingRequests()
[all …]
/external/skqp/src/gpu/
DGrImageTextureMaker.cpp32 GrUniqueKey cacheKey; in makeCopyKey() local
33 fImage->makeCacheKeyFromOrigKey(fOriginalKey, &cacheKey); in makeCopyKey()
34 MakeCopyKeyFromOrigKey(cacheKey, stretch, paramsCopyKey); in makeCopyKey()
71 GrUniqueKey cacheKey; in makeCopyKey() local
73 GrUniqueKey::Builder builder(&cacheKey, fOriginalKey, kDomain, 0, "Image"); in makeCopyKey()
74 MakeCopyKeyFromOrigKey(cacheKey, stretch, paramsCopyKey); in makeCopyKey()
/external/skia/src/gpu/
DGrImageTextureMaker.cpp33 GrUniqueKey cacheKey; in makeCopyKey() local
34 fImage->makeCacheKeyFromOrigKey(fOriginalKey, &cacheKey); in makeCopyKey()
35 MakeCopyKeyFromOrigKey(cacheKey, stretch, paramsCopyKey); in makeCopyKey()
73 GrUniqueKey cacheKey; in makeCopyKey() local
75 GrUniqueKey::Builder builder(&cacheKey, fOriginalKey, kDomain, 0, "Image"); in makeCopyKey()
76 MakeCopyKeyFromOrigKey(cacheKey, stretch, paramsCopyKey); in makeCopyKey()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java56 String cacheKey = keyAlgorithm + "-" + keyLengthBits; in getPrivateKey() local
57 result = cachedKeys.get(cacheKey); in getPrivateKey()
62 cachedKeys.put(cacheKey, result); in getPrivateKey()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java58 String cacheKey = keyAlgorithm + "-" + keyLengthBits; in getPrivateKey() local
59 result = cachedKeys.get(cacheKey); in getPrivateKey()
64 cachedKeys.put(cacheKey, result); in getPrivateKey()
/external/volley/src/test/java/com/android/volley/mock/
DMockRequest.java50 public void setCacheKey(String cacheKey) { in setCacheKey() argument
51 mCacheKey = cacheKey; in setCacheKey()
/external/cldr/tools/java/org/unicode/cldr/util/
DSimpleFactory.java498 final Object cacheKey; in handleMake() local
503 cacheKey = localeName; in handleMake()
507 cacheKey = new CLDRCacheKey(localeName, resolved, minimalDraftStatus, parentDirs); in handleMake()
510 result = combinedCache.getIfPresent(cacheKey); in handleMake()
525 Object returned = mapToSynchronizeOn.get(cacheKey); in handleMake()
554 mapToSynchronizeOn.put(cacheKey, result); in handleMake()
/external/vogar/src/vogar/android/
DAndroidSdk.java293 String cacheKey = null; in dex() local
296 cacheKey = dexCache.makeKey(classpathSubKey, multidexSubKey); in dex()
297 boolean cacheHit = dexCache.getFromCache(output, cacheKey); in dex()
348 dexCache.insert(cacheKey, output); in dex()
/external/skqp/src/gpu/ccpr/
DGrCCPathCache.h205 const GrCCPathCache::Key& cacheKey() const { SkASSERT(fCacheKey); return *fCacheKey; } in cacheKey() function
244 GrCCPathCacheEntry(sk_sp<GrCCPathCache::Key> cacheKey, const MaskTransform& maskTransform) in GrCCPathCacheEntry() argument
245 : fCacheKey(std::move(cacheKey)), fMaskTransform(maskTransform) { in GrCCPathCacheEntry()
/external/skia/src/gpu/ccpr/
DGrCCPathCache.h205 const GrCCPathCache::Key& cacheKey() const { SkASSERT(fCacheKey); return *fCacheKey; } in cacheKey() function
244 GrCCPathCacheEntry(sk_sp<GrCCPathCache::Key> cacheKey, const MaskTransform& maskTransform) in GrCCPathCacheEntry() argument
245 : fCacheKey(std::move(cacheKey)), fMaskTransform(maskTransform) { in GrCCPathCacheEntry()
/external/testng/src/main/java/org/testng/internal/
DMethodGroupsHelper.java289 Pair<String, String> cacheKey = Pair.create(pattern.pattern(), group); in isMatch() local
290 Boolean match = MATCH_CACHE.get(cacheKey); in isMatch()
293 MATCH_CACHE.put(cacheKey, match); in isMatch()
DMethodHelper.java90 Pair<String, String> cacheKey = Pair.create(regexp, methodName); in findDependedUponMethods() local
91 Boolean match = MATCH_CACHE.get(cacheKey); in findDependedUponMethods()
94 MATCH_CACHE.put(cacheKey, match); in findDependedUponMethods()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngine.java254 public void onResourceReleased(Key cacheKey, EngineResource resource) { in onResourceReleased() argument
255 activeResources.remove(cacheKey); in onResourceReleased()
257 cache.put(cacheKey, resource); in onResourceReleased()
/external/icu/icu4c/source/i18n/
Dtzgnames.cpp816 … PartialLocationKey* cacheKey = (PartialLocationKey *)uprv_malloc(sizeof(PartialLocationKey)); in getPartialLocationName() local
817 if (cacheKey != NULL) { in getPartialLocationName()
818 cacheKey->tzID = key.tzID; in getPartialLocationName()
819 cacheKey->mzID = key.mzID; in getPartialLocationName()
820 cacheKey->isLong = key.isLong; in getPartialLocationName()
821 uhash_put(fPartialLocationNamesMap, (void *)cacheKey, (void *)uplname, &status); in getPartialLocationName()
823 uprv_free(cacheKey); in getPartialLocationName()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DResourceBundleWrapper.java150 String cacheKey = disableFallback ? name : name + '#' + defaultID; in instantiateBundle() local
151 return BUNDLE_CACHE.getInstance(cacheKey, new Loader() { in instantiateBundle()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DResourceBundleWrapper.java148 String cacheKey = disableFallback ? name : name + '#' + defaultID; in instantiateBundle() local
149 return BUNDLE_CACHE.getInstance(cacheKey, new Loader() { in instantiateBundle()
/external/skia/src/image/
DSkImage_Lazy.cpp296 GrUniqueKey* cacheKey) const { in makeCacheKeyFromOrigKey()
297 SkASSERT(!cacheKey->isValid()); in makeCacheKeyFromOrigKey()
300 GrUniqueKey::Builder builder(cacheKey, origKey, kDomain, 0, "Image"); in makeCacheKeyFromOrigKey()
DSkImage_Lazy.h74 void makeCacheKeyFromOrigKey(const GrUniqueKey& origKey, GrUniqueKey* cacheKey) const;
/external/skqp/src/image/
DSkImage_Lazy.cpp293 GrUniqueKey* cacheKey) const { in makeCacheKeyFromOrigKey()
294 SkASSERT(!cacheKey->isValid()); in makeCacheKeyFromOrigKey()
297 GrUniqueKey::Builder builder(cacheKey, origKey, kDomain, 0, "Image"); in makeCacheKeyFromOrigKey()
DSkImage_Lazy.h73 void makeCacheKeyFromOrigKey(const GrUniqueKey& origKey, GrUniqueKey* cacheKey) const;
/external/desugar/java/com/google/devtools/common/options/
DOptionsBase.java92 public final String cacheKey() { in cacheKey() method in OptionsBase
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java279 ProxiedClass<T> cacheKey = in buildProxyClass() local
282 Class<? extends T> proxyClass = (Class) generatedProxyClasses.get(cacheKey); in buildProxyClass()
350 generatedProxyClasses.put(cacheKey, proxyClass); in buildProxyClass()
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java283 String cacheKey; in getExampleHtml() local
287 cacheKey = xpath + "," + value; in getExampleHtml()
288 result = cache.get(cacheKey); in getExampleHtml()
387 cache.put(cacheKey, NONE); in getExampleHtml()
390 cache.put(cacheKey, result); in getExampleHtml()
/external/boringssl/src/ssl/test/runner/
Dhandshake_client.go283 var cacheKey string
291 cacheKey = clientSessionCacheKey(c.conn.RemoteAddr(), c.config)
294 candidateSession, ok := sessionCache.Get(cacheKey)
780 sessionCache.Put(cacheKey, hs.session)

12