Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/tests/
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()
/frameworks/base/core/tests/coretests/src/android/util/
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
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java183 protected void entryRemoved(boolean evicted, String key, in entryRemoved() argument
186 if (evicted || (newValue != null && oldValue != newValue)) { in entryRemoved()
/frameworks/av/services/camera/libcameraservice/utils/
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()
/frameworks/base/core/java/android/service/autofill/
DInlineSuggestionRenderService.java80 public void entryRemoved(boolean evicted, InlineSuggestionUiImpl key,
83 if (evicted) {
/frameworks/base/core/java/android/util/
DLruCache.java267 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
/frameworks/av/media/bufferpool/1.0/
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()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1290 auto evicted = mActiveClientManager.addAndEvict(clientDescriptor); in finishConnectLocked() local
1295 if (evicted.size() > 0) { in finishConnectLocked()
1297 for (auto& i : evicted) { in finishConnectLocked()
1399 auto evicted = mActiveClientManager.wouldEvict(clientDescriptor); in handleEvictionsLocked() local
1403 if (std::find(evicted.begin(), evicted.end(), clientDescriptor) != evicted.end()) { in handleEvictionsLocked()
1442 for (auto& i : evicted) { in handleEvictionsLocked()
1940 auto evicted = mActiveClientManager.addAndEvict(offlineClientDesc); in addOfflineClient() local
1941 if (evicted.size() > 0) { in addOfflineClient()
1942 for (auto& i : evicted) { in addOfflineClient()
2601 std::vector<sp<BasicClient>> evicted; in evictClientIdByRemote() local
[all …]
/frameworks/base/services/core/java/com/android/server/accounts/
DTokenCache.java121 protected void entryRemoved(boolean evicted, Key k, Value oldVal, Value newVal) { in entryRemoved() argument
/frameworks/av/media/bufferpool/2.0/
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()
DAccessorImpl.cpp913 int evicted = 0; in evictorThread() local
936 ++evicted; in evictorThread()
940 ALOGD("evictor expired: %d, evicted: %d", expired, evicted); in evictorThread()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java1420 protected void entryRemoved(boolean evicted, String key, in entryRemoved() argument