Home
last modified time | relevance | path

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

/aosp12/system/bt/gd/common/
H A Dmetric_id_manager.cc76 auto evicted = paired_device_cache_.insert_or_assign(p.first, p.second); in Init() local
77 if (evicted) { in Init()
78 ForgetDevicePostprocess(evicted->first, evicted->second); in Init()
142 auto evicted = temporary_device_cache_.insert_or_assign(mac_address, id); in AllocateId() local
143 if (evicted) { in AllocateId()
144 this->id_set_.extract(evicted->second); in AllocateId()
170 auto evicted = paired_device_cache_.insert_or_assign(mac_address, id); in SaveDevice() local
171 if (evicted) { in SaveDevice()
172 ForgetDevicePostprocess(evicted->first, evicted->second); in SaveDevice()
H A Dlru_cache_test.cc198 EXPECT_TRUE(evicted); in TEST()
211 evicted = cache.insert_or_assign(5, 50); in TEST()
214 EXPECT_TRUE(evicted); in TEST()
234 evicted = cache.insert_or_assign(7, 70); in TEST()
236 EXPECT_TRUE(evicted); in TEST()
248 EXPECT_TRUE(evicted); in TEST()
262 evicted = cache.insert_or_assign(4, 40); in TEST()
264 EXPECT_TRUE(evicted); in TEST()
295 evicted = cache.insert_or_assign(6, 2000); in TEST()
297 EXPECT_TRUE(evicted); in TEST()
[all …]
/aosp12/system/bt/common/
H A Dmetric_id_allocator.cc70 auto evicted = paired_device_cache_.Put(p.first, p.second); in Init() local
71 if (evicted) { in Init()
72 ForgetDevicePostprocess(evicted->first, evicted->second); in Init()
135 auto evicted = temporary_device_cache_.Put(mac_address, id); in AllocateId() local
136 if (evicted) { in AllocateId()
137 this->id_set_.erase(evicted->second); in AllocateId()
164 auto evicted = paired_device_cache_.Put(mac_address, id); in SaveDevice() local
165 if (evicted) { in SaveDevice()
166 ForgetDevicePostprocess(evicted->first, evicted->second); in SaveDevice()
/aosp12/frameworks/av/services/camera/libcameraservice/tests/
H A DClientManagerTest.cpp68 auto evicted = cm.addAndEvict(cam0Desc); in TEST() local
69 ASSERT_EQ(evicted.size(), 0u) << "Evicted list must be empty"; in TEST()
87 evicted = cm.addAndEvict(cam2Desc); in TEST()
88 ASSERT_EQ(evicted.size(), 0u) << "Evicted list must be empty"; in TEST()
103 evicted = cm.addAndEvict(cam0Desc); in TEST()
104 ASSERT_EQ(evicted.size(), 0u) << "Evicted list must be empty"; in TEST()
124 evicted = cm.addAndEvict(camDeadDesc); in TEST()
127 ASSERT_EQ(evicted.size(), 0u) << "Evicted list must be empty"; in TEST()
139 evicted = cm.addAndEvict(cam0Desc); in TEST()
142 ASSERT_EQ(evicted.size(), 0u); in TEST()
/aosp12/frameworks/base/core/tests/coretests/src/android/util/
H A DLruCacheTest.java374 boolean evicted, String key, String oldValue, String newValue) { in testEntryRemovedIsCalledWithoutSynchronization()
412 boolean evicted, String key, String oldValue, String newValue) { in testCreateWithConcurrentPut()
439 boolean evicted, String key, Integer oldValue, Integer newValue) { in testCreateWithConcurrentCreate()
459 boolean evicted, String key, String oldValue, String newValue) {
460 String message = evicted
/aosp12/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h592 auto evicted = wouldEvictLocked(client); in addAndEvict() local
593 auto it = evicted.begin(); in addAndEvict()
594 if (it != evicted.end() && *it == client) { in addAndEvict()
595 return evicted; in addAndEvict()
598 auto iter = evicted.cbegin(); in addAndEvict()
600 if (iter != evicted.cend()) { in addAndEvict()
619 return evicted; in addAndEvict()
/aosp12/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseFragmentPagerAdapter.java183 protected void entryRemoved(boolean evicted, String key, in entryRemoved() argument
186 if (evicted || (newValue != null && oldValue != newValue)) { in entryRemoved()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DMediaCache.java98 protected synchronized void entryRemoved(final boolean evicted, final String key, in entryRemoved() argument
H A DPoolableImageCache.java74 protected synchronized void entryRemoved(final boolean evicted, final String key, in entryRemoved() argument
77 super.entryRemoved(evicted, key, oldValue, newValue); in entryRemoved()
/aosp12/frameworks/base/core/java/android/service/autofill/
H A DInlineSuggestionRenderService.java80 public void entryRemoved(boolean evicted, InlineSuggestionUiImpl key,
83 if (evicted) {
/aosp12/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp1295 if (evicted.size() > 0) { in finishConnectLocked()
1297 for (auto& i : evicted) { in finishConnectLocked()
1403 if (std::find(evicted.begin(), evicted.end(), clientDescriptor) != evicted.end()) { in handleEvictionsLocked()
1442 for (auto& i : evicted) { in handleEvictionsLocked()
1943 if (evicted.size() > 0) { in addOfflineClient()
1944 for (auto& i : evicted) { in addOfflineClient()
2615 evicted.push_back(clientSp); in evictClientIdByRemote()
2630 for (auto& i : evicted) { in evictClientIdByRemote()
2696 std::vector<sp<BasicClient>> evicted; in doUserSwitch() local
2712 evicted.push_back(clientSp); in doUserSwitch()
[all …]
/aosp12/frameworks/av/media/bufferpool/1.0/
H A DBufferPoolClient.cpp575 size_t evicted = 0; in evictCaches() local
579 ++evicted; in evictCaches()
585 (long long)mConnectionId, mCache.mBuffers.size(), mCache.mActive, evicted); in evictCaches()
/aosp12/frameworks/base/core/java/android/util/
H A DLruCache.java267 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
H A DWifiP2pGroupList.java64 protected void entryRemoved(boolean evicted, Integer netId, in WifiP2pGroupList()
/aosp12/frameworks/av/media/bufferpool/2.0/
H A DBufferPoolClient.cpp679 size_t evicted = 0; in evictCaches() local
684 ++evicted; in evictCaches()
690 (long long)mConnectionId, mCache.mBuffers.size(), mCache.mActive, evicted); in evictCaches()
H A DAccessorImpl.cpp913 int evicted = 0; in evictorThread() local
936 ++evicted; in evictorThread()
940 ALOGD("evictor expired: %d, evicted: %d", expired, evicted); in evictorThread()
/aosp12/frameworks/base/services/core/java/com/android/server/accounts/
H A DTokenCache.java121 protected void entryRemoved(boolean evicted, Key k, Value oldVal, Value newVal) { in entryRemoved() argument
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java311 boolean evicted, CacheKey key, Entry oldValue, Entry newValue) { in entryRemoved() argument
/aosp12/packages/apps/Dialer/java/com/android/dialer/contactphoto/
H A DContactPhotoManagerImpl.java166 boolean evicted, Object key, Bitmap oldValue, Bitmap newValue) { in ContactPhotoManagerImpl()
182 boolean evicted, Object key, BitmapHolder oldValue, BitmapHolder newValue) { in ContactPhotoManagerImpl()
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DContactPhotoManager.java723 boolean evicted, Object key, Bitmap oldValue, Bitmap newValue) { in ContactPhotoManagerImpl()
734 boolean evicted, Object key, BitmapHolder oldValue, BitmapHolder newValue) { in ContactPhotoManagerImpl()
/aosp12/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java1420 protected void entryRemoved(boolean evicted, String key, in entryRemoved() argument
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
H A Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
H A Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...