Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java79 Pair<Uri, Point> cacheKey = sizeMap.get(size); in getThumbnail() local
80 if (cacheKey != null) { in getThumbnail()
81 Entry entry = mCache.get(cacheKey); in getThumbnail()
90 cacheKey = sizeMap.get(otherSize); in getThumbnail()
92 if (cacheKey != null) { in getThumbnail()
93 Entry entry = mCache.get(cacheKey); in getThumbnail()
103 cacheKey = sizeMap.get(otherSize); in getThumbnail()
105 if (cacheKey != null) { in getThumbnail()
106 Entry entry = mCache.get(cacheKey); in getThumbnail()
125 Pair<Uri, Point> cacheKey = Pair.create(uri, size); in putThumbnail() local
[all …]
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java317 ComponentKey cacheKey = new ComponentKey(componentName, user); in cacheLocked() local
318 CacheEntry entry = mCache.get(cacheKey); in cacheLocked()
322 mCache.put(cacheKey, entry); in cacheLocked()
329 if (!getEntryFromDB(cacheKey, entry, useLowResIcon)) { in cacheLocked()
382 ComponentKey cacheKey = getPackageKey(packageName, user); in cachePackageInstallInfo() local
383 CacheEntry entry = mCache.get(cacheKey); in cachePackageInstallInfo()
398 mCache.put(cacheKey, entry); in cachePackageInstallInfo()
414 ComponentKey cacheKey = getPackageKey(packageName, user); in getEntryForPackageLocked() local
415 CacheEntry entry = mCache.get(cacheKey); in getEntryForPackageLocked()
422 if (!getEntryFromDB(cacheKey, entry, useLowResIcon)) { in getEntryForPackageLocked()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DImageCacheService.java60 long cacheKey = Utils.crc64Long(key); in getImageData() local
63 request.key = cacheKey; in getImageData()
82 long cacheKey = Utils.crc64Long(key); in putImageData() local
88 mCache.insert(cacheKey, buffer.array()); in putImageData()
97 long cacheKey = Utils.crc64Long(key); in clearImageData() local
100 mCache.clearEntry(cacheKey); in clearImageData()
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceRepository.java65 Pair<ComponentName, UserHandle> cacheKey = Pair.create(componentName, userHandle); in getService() local
66 ConnectionServiceWrapper service = mServiceCache.get(cacheKey); in getService()
77 mServiceCache.put(cacheKey, service); in getService()
90 for (Pair<ComponentName, UserHandle> cacheKey : mServiceCache.keySet()) { in dump()
91 ComponentName componentName = cacheKey.first; in dump()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomUtil.java230 Pair<PhoneAccountHandle, String> cacheKey = new Pair<>(accountHandle, number); in isVoicemailNumber() local
231 if (isVoicemailNumberCache.containsKey(cacheKey)) { in isVoicemailNumber()
232 return isVoicemailNumberCache.get(cacheKey); in isVoicemailNumber()
238 isVoicemailNumberCache.put(cacheKey, result); in isVoicemailNumber()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java478 final int cacheKey = config.getCacheKey(); in forConfig() local
479 ConversationItemViewCoordinates coordinates = cache.getCoordinates(cacheKey); in forConfig()
485 cache.put(cacheKey, coordinates); in forConfig()