Home
last modified time | relevance | path

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

1234

/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DTaskKeyByLastActiveTimeCacheTest.java36 TaskKeyByLastActiveTimeCache<ThumbnailData> cache = new TaskKeyByLastActiveTimeCache<>(3); in add() local
59 TaskKeyByLastActiveTimeCache<ThumbnailData> cache = new TaskKeyByLastActiveTimeCache<>(3); in addSameTasksWithSameLastActiveTimeTwice() local
81 TaskKeyByLastActiveTimeCache<ThumbnailData> cache = new TaskKeyByLastActiveTimeCache<>(3); in addSameTasksWithDifferentLastActiveTime() local
104 TaskKeyByLastActiveTimeCache<ThumbnailData> cache = new TaskKeyByLastActiveTimeCache<>(3); in remove() local
117 TaskKeyByLastActiveTimeCache<ThumbnailData> cache = new TaskKeyByLastActiveTimeCache<>(3); in removeByStubKey() local
132 TaskKeyByLastActiveTimeCache<ThumbnailData> cache = new TaskKeyByLastActiveTimeCache<>(3); in evictAll() local
148 TaskKeyByLastActiveTimeCache<ThumbnailData> cache = new TaskKeyByLastActiveTimeCache<>(3); in removeAllByPredicate() local
174 TaskKeyByLastActiveTimeCache<ThumbnailData> cache = new TaskKeyByLastActiveTimeCache<>(3); in getAndInvalidateIfModified() local
200 TaskKeyByLastActiveTimeCache<ThumbnailData> cache = new TaskKeyByLastActiveTimeCache<>(2); in removeByLastActiveTimeWhenOverMaxSize() local
234 TaskKeyByLastActiveTimeCache<ThumbnailData> cache = new TaskKeyByLastActiveTimeCache<>(2); in updateIfAlreadyInCache() local
[all …]
/packages/modules/Bluetooth/system/gd/common/
Dlru_cache_test.cc29 LruCache<int, int> cache(3); // capacity = 3; in TEST() local
71 LruCache<int, int> cache(2); in TEST() local
84 LruCache<int, std::shared_ptr<int>> cache(2); in TEST() local
99 LruCache<int, std::shared_ptr<int>> cache(2); in TEST() local
114 LruCache<int, std::unique_ptr<int>> cache(2); in TEST() local
124 LruCache<int, LruCache<int, int>> cache(2); in TEST() local
138 LruCache<int, int> cache(3); in TEST() local
153 LruCache<int, int> cache(3); in TEST() local
168 LruCache<int, int> cache(3); // capacity = 3; in TEST() local
186 LruCache<int, int> cache(3); // capacity = 3; in TEST() local
[all …]
/packages/modules/Bluetooth/system/common/
Dlru_unittest.cc32 LegacyLruCache<int, int> cache(3, "testing"); // capacity = 3; in TEST() local
78 LegacyLruCache<int, int> cache(2, "testing"); // size = 2; in TEST() local
129 LegacyLruCache<int, int> cache(10, "testing"); in TEST() local
146 LegacyLruCache<int, int> cache(10, "testing"); in TEST() local
160 LegacyLruCache<int, int> cache(10, "testing"); in TEST() local
179 LegacyLruCache<int, int> cache(10, "testing"); in TEST() local
201 LegacyLruCache<int, int> cache(static_cast<size_t>(max_size), "testing"); in TEST() local
232 LegacyLruCache<int, int> cache(100, "testing"); in TEST() local
/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/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/modules/Bluetooth/system/gd/storage/
Dlegacy_config_file.cc45 ConfigCache cache(temp_devices_capacity, Device::kLinkKeyProperties); in Read() local
79 bool LegacyConfigFile::Write(const ConfigCache& cache) { in Write()
/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.java32 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in Buffer() local
73 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in remove() local
DFilterEnvironment.java57 public void setBitmapCache(BitmapCache cache) { in setBitmapCache()
61 public void cache(Buffer buffer) { in cache() method in FilterEnvironment
65 public void cache(Bitmap bitmap) { in cache() method in FilterEnvironment
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkPausedCard.java63 StringCache cache = mActivityContext.getStringCache(); in updateStringFromCache() local
69 private void setWorkProfilePausedResources(StringCache cache) { in setWorkProfilePausedResources()
/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/apps/Launcher3/src/com/android/launcher3/pm/
DShortcutConfigActivityInfo.java82 public abstract Drawable getFullResIcon(IconCache cache); in getFullResIcon()
133 public Drawable getFullResIcon(IconCache cache) { in getFullResIcon()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DDictionaryFacilitatorLruCacheTests.java37 final DictionaryFacilitatorLruCache cache = in testGetFacilitator() local
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DCachedSupplier.java23 private volatile T cache; field in CachedSupplier
/packages/modules/DnsResolver/
DDnsTlsSocketFactory.h37 DnsTlsSessionCache* _Nonnull cache) override { in createDnsTlsSocket()
Dres_cache.cpp1047 std::unique_ptr<Cache> cache; member
1079 static bool cache_has_pending_request_locked(Cache* cache, const Entry* key, in cache_has_pending_request_locked()
1104 static void cache_notify_waiting_tid_locked(struct Cache* cache, const Entry* key) { in cache_notify_waiting_tid_locked()
1133 Cache* cache = find_named_cache_locked(netid); in _resolv_cache_query_failed() local
1140 static void cache_dump_mru_locked(Cache* cache) { in cache_dump_mru_locked()
1163 static Entry** _cache_lookup_p(Cache* cache, Entry* key) { in _cache_lookup_p()
1184 static void _cache_add_p(Cache* cache, Entry** lookup, Entry* e) { in _cache_add_p()
1197 static void _cache_remove_p(Cache* cache, Entry** lookup) { in _cache_remove_p()
1211 static void _cache_remove_oldest(Cache* cache) { in _cache_remove_oldest()
1226 static void _cache_remove_expired(Cache* cache) { in _cache_remove_expired()
[all …]
/packages/apps/SecureElement/src/com/android/se/security/arf/
DArfController.java53 public ArfController(AccessRuleCache cache, Terminal terminal) { in ArfController()
/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/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DCachingImagePreviewImageLoader.kt63 private val cache = in <lambda>() constant
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DComponentWithLabelAndIcon.java34 Drawable getFullResIcon(IconCache cache); in getFullResIcon()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DAccessPointPreference.java86 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference()
92 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference()
99 AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference()
DTvAccessPointPreference.java37 AccessPointPreference.UserBadgeCache cache, boolean forSavedNetworks) { in TvAccessPointPreference()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DFileUploadActivity.java287 File cache = new File(getExternalCacheDir().getAbsolutePath(), cachedName); in uriToFile() local
342 File cache = new File(getExternalCacheDir().getAbsolutePath()); in onDestroy() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/cache/
DFledgeHttpCacheTest.java269 FledgeHttpCache cache = in test_CacheE2EPutAndGet_Success() local
285 FledgeHttpCache cache = in test_CacheE2EHonorsMaxAge_Success() local

1234