Home
last modified time | relevance | path

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

12345678910

/aosp12/frameworks/base/core/tests/coretests/src/android/util/
H A DLruCacheTest.java35 LruCache<String, String> cache = new LruCache<String, String>(3); in testStatistics() local
84 LruCache<String, String> cache = newCreatingCache(); in testStatisticsWithCreate() local
108 LruCache<String, String> cache = newCreatingCache(); in testCreateOnCacheMiss() local
114 LruCache<String, String> cache = newCreatingCache(); in testNoCreateOnCacheHit() local
128 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullKey() local
137 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullValue() local
172 LruCache<String, String> cache = newRemovalLogCache(log); in testEntryEvictedWhenFull() local
189 LruCache<String, String> cache = newRemovalLogCache(log); in testPutCauseEviction() local
304 LruCache<String, String> cache = newRemovalLogCache(log); in testEvictAll() local
357 LruCache<String, String> cache = newRemovalLogCache(log); in testRemoveCallsEntryRemoved() local
[all …]
H A DHashedStringCacheTest.java55 HashedStringCache cache = HashedStringCache.getInstance(); in testInstanceNotNull() local
61 HashedStringCache cache = HashedStringCache.getInstance(); in testInstanceMatchesOnSecondCall() local
67 HashedStringCache cache = HashedStringCache.getInstance(); in testHashedStringNotOriginalString() local
75 HashedStringCache cache = HashedStringCache.getInstance(); in testThatMultipleCallsResultInSameHash() local
86 HashedStringCache cache = HashedStringCache.getInstance(); in testThatMultipleInputResultInDifferentHash() local
96 HashedStringCache cache = HashedStringCache.getInstance(); in testThatZeroDaysResultsInNewHash() local
106 HashedStringCache cache = HashedStringCache.getInstance(); in testThatNegativeDaysResultsInNewHash() local
116 HashedStringCache cache = HashedStringCache.getInstance(); in testThatDaysGreater365ResultsInSameResult() local
131 HashedStringCache cache = HashedStringCache.getInstance(); in testMinusOneResultsInNull() local
139 HashedStringCache cache = HashedStringCache.getInstance(); in testEmptyStringInput() local
[all …]
/aosp12/frameworks/base/core/tests/systemproperties/src/android/os/
H A DPropertyInvalidatedCacheTest.java57 TestCache cache = new TestCache(); in testCacheRecompute() local
73 TestCache cache = new TestCache(); in testCacheInitialState() local
85 TestCache cache = new TestCache(UNSET_KEY); in testCachePropertyUnset() local
93 TestCache cache = new TestCache(); in testCacheDisableState() local
114 TestCache cache = new TestCache() { in testRefreshSameObject() local
135 TestCache cache = new TestCache() { in testRefreshInvalidateRace() local
154 TestCache cache = new TestCache(); in testLocalProcessDisable() local
/aosp12/system/bt/gd/common/
H A Dlru_cache_test.cc30 LruCache<int, int> cache(3); // capacity = 3; in TEST() local
72 LruCache<int, int> cache(2); in TEST() local
85 LruCache<int, std::shared_ptr<int>> cache(2); in TEST() local
125 LruCache<int, LruCache<int, int>> cache(2); in TEST() local
139 LruCache<int, int> cache(3); in TEST() local
154 LruCache<int, int> cache(3); in TEST() local
242 LruCache<int, int> cache(2); // size = 2; in TEST() local
309 LruCache<int, int> cache(2); in TEST() local
325 LruCache<int, int> cache(2); in TEST() local
337 LruCache<int, int> cache(10); in TEST() local
[all …]
/aosp12/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
H A DProgramInfoCacheTest.java70 ProgramInfoCache cache = new ProgramInfoCache(null, false, mAmFmInfo); in testUpdateFromHal() local
96 ProgramInfoCache cache = new ProgramInfoCache(null, true); in testNullFilter() local
104 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testEmptyFilter() local
116 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(filterTypes, in testFilterByType() local
127 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testFilterByIdentifier() local
135 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testFilterExcludeCategories() local
143 ProgramInfoCache cache = new ProgramInfoCache(null, false, mAmFmInfo); in testPurgeUpdateChunks() local
157 ProgramInfoCache cache = new ProgramInfoCache(null, true, mAmFmInfo, mRdsInfo, in testDeltaUpdateChunksModificationsIncluded() local
193 ProgramInfoCache cache = new ProgramInfoCache(new ProgramList.Filter(new HashSet<Integer>(), in testDeltaUpdateChunksModificationsExcluded() local
/aosp12/system/core/libutils/
H A DLruCache_test.cpp251 ComplexCache cache(100); in TEST_F() local
260 ComplexCache cache(100); in TEST_F() local
272 ComplexCache cache(100); in TEST_F() local
286 ComplexCache cache(100); in TEST_F() local
348 LruCache<int, int> cache(100); in TEST_F() local
368 LruCache<int, int> cache(100); in TEST_F() local
380 LruCache<int, int> cache(100); in TEST_F() local
392 LruCache<int, int> cache(100); in TEST_F() local
406 LruCache<int, int> cache(100); in TEST_F() local
422 LruCache<int, int> cache(100); in TEST_F() local
[all …]
/aosp12/system/bt/common/
H A Dlru_unittest.cc33 LegacyLruCache<int, int> cache(3, "testing"); // capacity = 3; in TEST() local
79 LegacyLruCache<int, int> cache(2, "testing"); // size = 2; in TEST() local
130 LegacyLruCache<int, int> cache(10, "testing"); in TEST() local
147 LegacyLruCache<int, int> cache(10, "testing"); in TEST() local
161 LegacyLruCache<int, int> cache(10, "testing"); in TEST() local
180 LegacyLruCache<int, int> cache(10, "testing"); in TEST() local
203 LegacyLruCache<int, int> cache(static_cast<size_t>(max_size), "testing"); in TEST() local
243 LegacyLruCache<int, int> cache(100, "testing"); in TEST() local
/aosp12/packages/apps/Gallery/tests/src/com/android/camera/gallery/
H A 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
/aosp12/frameworks/base/core/java/android/net/
H A DSSLSessionCache.java59 public static void install(SSLSessionCache cache, SSLContext context) { in install()
76 public SSLSessionCache(Object cache) { in SSLSessionCache()
100 SSLClientSessionCache cache = null; in SSLSessionCache() local
H A DSSLCertificateSocketFactory.java144 int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) { in SSLCertificateSocketFactory()
170 public static SSLSocketFactory getDefault(int handshakeTimeoutMillis, SSLSessionCache cache) { in getDefault()
186 public static SSLSocketFactory getInsecure(int handshakeTimeoutMillis, SSLSessionCache cache) { in getInsecure()
208 int handshakeTimeoutMillis, SSLSessionCache cache) { in getHttpSocketFactory()
/aosp12/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
H A 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
/aosp12/system/logging/liblog/
H A Dproperties.cpp56 struct cache { struct
62 struct cache cache; argument
66 static int check_cache(struct cache* cache) { in check_cache()
73 static void refresh_cache(struct cache_char* cache, const char* key) { in refresh_cache()
165 cache_char* cache = &tag_cache[i]; in __android_log_level() local
200 cache_char* cache = &global_cache[i]; in __android_log_level() local
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiRestrictionsCache.java58 WifiRestrictionsCache cache; in getInstance() local
66 sInstances.put(context.getUserId(), cache); in getInstance() local
78 WifiRestrictionsCache cache = sInstances.get(key); in clearInstance() local
/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DRegisteredServicesCacheTest.java79 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesHappyPath() local
91 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesReplaceUid() local
113 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesServiceRemoved() local
128 TestServicesCache cache = new TestServicesCache(); in testGetAllServicesMultiUser() local
146 TestServicesCache cache = new TestServicesCache(); in testOnRemove() local
173 TestServicesCache cache = new TestServicesCache(); in testMigration() local
200 private void assertNotEmptyFileCreated(TestServicesCache cache, int userId) { in assertNotEmptyFileCreated()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DMemoryCacheManager.java45 public void registerMemoryCache(final MemoryCache cache) { in registerMemoryCache()
54 public void unregisterMemoryCache(final MemoryCache cache) { in unregisterMemoryCache()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DMediaCacheManager.java50 MediaCache<?> cache = mCaches.get(id); in getOrCreateMediaCacheById() local
61 final MediaCache<?> cache = getOrCreateMediaCacheById(cacheId); in getOrCreateBitmapPoolForCache() local
/aosp12/system/bt/gd/storage/
H A Dlegacy_config_file.cc43 ConfigCache cache(temp_devices_capacity, Device::kLinkKeyProperties); in Read() local
73 bool LegacyConfigFile::Write(const ConfigCache& cache) { in Write()
/aosp12/packages/apps/Dialer/java/com/android/dialer/util/
H A 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()
/aosp12/system/extras/simpleperf/
H A DCallChainJoiner_test.cpp26 static bool JoinCallChain(LRUCache& cache, uint32_t tid, const std::vector<uint64_t>& input_ip, in JoinCallChain()
37 LRUCache cache(sizeof(CacheNode) * 2, 1); in TEST() local
97 LRUCache cache(sizeof(CacheNode) * 2, 1); in TEST() local
108 LRUCache cache(sizeof(CacheNode) * 4, 1); in TEST() local
129 LRUCache cache(sizeof(CacheNode) * 12, 1); in TEST() local
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/pm/
H A 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()
/aosp12/art/test/667-jit-jni-stub/
H A Djit_jni_stub_test.cc33 jit::JitCodeCache* cache = Runtime::Current()->GetJit()->GetCodeCache(); in isNextJitGcFull() local
52 jit::JitCodeCache* cache = Runtime::Current()->GetJit()->GetCodeCache(); in Java_Main_jitGc() local
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DBuffer.java37 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in Buffer() local
91 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in remove() local
H A 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
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A 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
/aosp12/art/runtime/verifier/
H A Dreg_type_test.cc41 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
65 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
91 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
366 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
383 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
401 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
425 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
453 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
475 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
722 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
[all …]

12345678910