Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DLruCacheUnitTests.java9 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testPut() local
17 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testTracingInUsedObject() local
29 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testLruAlgorithm() local
60 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(4); in testConcurrentAccess() local
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DMediaItemsRepository.java152 PerMediaSourceCache cache = getCache(); in getMediaChildren() local
215 PerMediaSourceCache cache = mCaches.get(getMediaSource()); in getCache() local
218 mCaches.put(getMediaSource(), cache); in getCache() local
225 PerMediaSourceCache cache = getCache(); in unsubscribeNodes() local
233 PerMediaSourceCache cache = getCache(); in clearNodes() local
238 PerMediaSourceCache cache = getCache(); in onBrowseData() local
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMemoryCacheManager.java45 public void registerMemoryCache(final MemoryCache cache) { in registerMemoryCache()
54 public void unregisterMemoryCache(final MemoryCache cache) { in unregisterMemoryCache()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DMediaCacheManager.java50 MediaCache<?> cache = mCaches.get(id); in getOrCreateMediaCacheById() local
61 final MediaCache<?> cache = getOrCreateMediaCacheById(cacheId); in getOrCreateBitmapPoolForCache() local
/packages/apps/Dialer/java/com/android/dialer/util/
DExpirableCache.java103 private LruCache<K, CachedValue<V>> cache; field in ExpirableCache
105 private ExpirableCache(LruCache<K, CachedValue<V>> cache) { in ExpirableCache()
121 public static <K, V> ExpirableCache<K, V> create(LruCache<K, CachedValue<V>> cache) { in create()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DBuffer.java37 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in Buffer() local
91 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in remove() local
DFilterEnvironment.java58 public void setBitmapCache(BitmapCache cache) { in setBitmapCache()
62 public void cache(Buffer buffer) { in cache() method in FilterEnvironment
66 public void cache(Bitmap bitmap) { in cache() method in FilterEnvironment
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DShortcutConfigActivityInfo.java80 public abstract Drawable getFullResIcon(IconCache cache); in getFullResIcon()
130 public Drawable getFullResIcon(IconCache cache) { in getFullResIcon()
151 public Drawable getFullResIcon(IconCache cache) { in getFullResIcon()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DCachedSupplier.java23 private volatile T cache; field in CachedSupplier
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DDictionaryFacilitatorLruCacheTests.java37 final DictionaryFacilitatorLruCache cache = in testGetFacilitator() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DBitmapCache.java117 public void setCacheProcessing(CacheProcessing cache) { in setCacheProcessing()
121 public void cache(Buffer buffer) { in cache() method in BitmapCache
129 public synchronized boolean cache(Bitmap bitmap) { in cache() method in BitmapCache
/packages/modules/DnsResolver/
DDnsTlsSocketFactory.h37 DnsTlsSessionCache* _Nonnull cache) override { in createDnsTlsSocket()
DDnsTlsSessionCache.cpp44 DnsTlsSessionCache* cache = reinterpret_cast<DnsTlsSessionCache*>( in newSessionCallback() local
Dres_cache.cpp1025 std::unique_ptr<Cache> cache; member
1054 static bool cache_has_pending_request_locked(Cache* cache, const Entry* key, in cache_has_pending_request_locked()
1079 static void cache_notify_waiting_tid_locked(struct Cache* cache, const Entry* key) { in cache_notify_waiting_tid_locked()
1108 Cache* cache = find_named_cache_locked(netid); in _resolv_cache_query_failed() local
1115 static void cache_dump_mru_locked(Cache* cache) { in cache_dump_mru_locked()
1140 static Entry** _cache_lookup_p(Cache* cache, Entry* key) { in _cache_lookup_p()
1161 static void _cache_add_p(Cache* cache, Entry** lookup, Entry* e) { in _cache_add_p()
1174 static void _cache_remove_p(Cache* cache, Entry** lookup) { in _cache_remove_p()
1188 static void _cache_remove_oldest(Cache* cache) { in _cache_remove_oldest()
1203 static void _cache_remove_expired(Cache* cache) { in _cache_remove_expired()
[all …]
DDnsTlsSocket.h82 IDnsTlsSocketObserver* _Nonnull observer, DnsTlsSessionCache* _Nonnull cache) in DnsTlsSocket()
/packages/apps/SecureElement/src/com/android/se/security/arf/
DArfController.java53 public ArfController(AccessRuleCache cache, Terminal terminal) { in ArfController()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DComponentWithLabelAndIcon.java33 Drawable getFullResIcon(IconCache cache); in getFullResIcon()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DTvAccessPointPreference.java37 AccessPointPreference.UserBadgeCache cache, boolean forSavedNetworks) { in TvAccessPointPreference()
DAccessPointPreference.java87 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference()
93 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference()
100 AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference()
/packages/modules/StatsD/statsd/src/condition/
DConditionWizard.cpp26 vector<ConditionState> cache(mAllConditions.size(), ConditionState::kNotEvaluated); in query() local
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessagesAction.java226 final SyncManager.ThreadInfoCache cache = syncManager.getThreadInfoCache(); in doBackgroundWork() local
281 final int maxMessagesToUpdate, final ThreadInfoCache cache) { in syncCursorPair()
579 final ThreadInfoCache cache) { in setMmsSenders()
602 private String getMmsSender(final MmsMessage mms, final ThreadInfoCache cache) { in getMmsSender()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DFileUploadActivity.java286 File cache = new File(getExternalCacheDir().getAbsolutePath(), cachedName); in uriToFile() local
341 File cache = new File(getExternalCacheDir().getAbsolutePath()); in onDestroy() local
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DCacheManager.java46 BlobCache cache = sCacheMap.get(filename); in getCache() local
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DPinShortcutRequestActivityInfo.java76 public Drawable getFullResIcon(IconCache cache) { in getFullResIcon()
/packages/apps/SecureElement/src/com/android/se/security/ara/
DAraController.java85 public AraController(AccessRuleCache cache, Terminal terminal) { in AraController()

123