/frameworks/support/collection/ktx/src/main/java/androidx/collection/ |
H A D | LruCache.kt | 30 * @param onEntryRemoved a function called for entries that have been evicted or removed. 41 crossinline onEntryRemoved: (evicted: Boolean, key: K, oldValue: V, newValue: V?) -> Unit = 47 override fun entryRemoved(evicted: Boolean, key: K, oldValue: V, newValue: V?) { 48 onEntryRemoved(evicted, key, oldValue, newValue)
|
/frameworks/support/core/ktx/src/main/java/androidx/core/util/ |
H A D | LruCache.kt | 32 * @param onEntryRemoved a function called for entries that have been evicted or removed. 43 crossinline onEntryRemoved: (evicted: Boolean, key: K, oldValue: V, newValue: V?) -> Unit = 49 override fun entryRemoved(evicted: Boolean, key: K, oldValue: V, newValue: V?) { 50 onEntryRemoved(evicted, key, oldValue, newValue)
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 40 * added to a cache. If the fragment is evicted from the cache, it will be deleted. 183 protected void entryRemoved(boolean evicted, String key, argument 185 // remove the fragment if it's evicted OR it's replaced by a new fragment 186 if (evicted || (newValue != null && oldValue != newValue)) {
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
H A D | TaskKeyLruCache.java | 27 * recently referenced key/values will be evicted as more values than the given cache size are 51 protected void entryRemoved(boolean evicted, Integer taskId, V oldV, V newV) {
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | LruCacheTest.java | 60 expectedEvictionCount++; // a should have been evicted 72 expectedEvictionCount++; // d should have been evicted 97 expectedEvictionCount++; // aa will be evicted 101 expectedEvictionCount++; // bb will be evicted 373 boolean evicted, String key, String oldValue, String newValue) { 411 boolean evicted, String key, String oldValue, String newValue) { 438 boolean evicted, String key, Integer oldValue, Integer newValue) { 458 boolean evicted, String key, String oldValue, String newValue) { 459 String message = evicted
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | ClientManager.h | 239 * LRU descriptor being evicted (this means the incoming descriptor be added in this case). 245 * priority, and a different owner will be evicted in LRU order until either the cost is less 246 * than the max cost, or all descriptors meeting this criteria have been evicted and the 261 * are evicted by this action are returned in a vector. 263 * This may return the ClientDescriptor passed in if it would be evicted. 290 * Return a vector of the ClientDescriptors that would be evicted by adding the given 293 * This may return the ClientDescriptor passed in if it would be evicted. 347 * The onClientRemoved method will be called when the client has been removed or evicted 360 * Return a vector of the ClientDescriptors that would be evicted by adding the given 456 // Find evicted client 506 auto evicted = wouldEvictLocked(client); local [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LruCache.java | 25 * added to a full cache, the value at the end of that queue is evicted and may 250 * Called for entries that have been evicted or removed. This method is 251 * invoked when a value is evicted to make space, removed by a call to 258 * @param evicted true if the entry is being removed to make space, false 264 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument 360 * Returns the number of values that have been evicted.
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pGroupList.java | 55 protected void entryRemoved(boolean evicted, Integer netId,
|
/frameworks/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 29 * added to a full cache, the value at the end of that queue is evicted and may 261 * Called for entries that have been evicted or removed. This method is 262 * invoked when a value is evicted to make space, removed by a call to 269 * @param evicted true if the entry is being removed to make space, false 275 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument 371 * Returns the number of values that have been evicted.
|
/frameworks/support/collection/src/main/java/androidx/collection/ |
H A D | LruCache.java | 214 * Called for entries that have been evicted or removed. This method is 215 * invoked when a value is evicted to make space, removed by a call to 222 * @param evicted true if the entry is being removed to make space, false 228 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument 324 * Returns the number of values that have been evicted.
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 321 ALOGI("%s: Client for camera ID %s evicted due to device status change from HAL", 967 auto evicted = mActiveClientManager.addAndEvict(clientDescriptor); local 972 if (evicted.size() > 0) { 974 for (auto& i : evicted) { 979 LOG_ALWAYS_FATAL("%s: Invalid state for CameraService, clients not evicted properly", 1006 // should be returned rather than evicted to allow MediaRecorder to work properly. 1067 // Find clients that would be evicted 1068 auto evicted = mActiveClientManager.wouldEvict(clientDescriptor); local 1070 // If the incoming client was 'evicted,' higher priority clients have the camera in the 1072 if (std::find(evicted 1750 std::vector<sp<BasicClient>> evicted; local 1841 std::vector<sp<BasicClient>> evicted; local [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | TokenCache.java | 121 protected void entryRemoved(boolean evicted, Key k, Value oldVal, Value newVal) { argument
|
/frameworks/support/content/src/main/java/androidx/contentpager/content/ |
H A D | ContentPager.java | 576 * LruCache holding at most {@code maxSize} cursors. Once evicted a cursor 590 boolean evicted, Uri uri, Cursor oldCursor, Cursor newCursor) { 589 entryRemoved( boolean evicted, Uri uri, Cursor oldCursor, Cursor newCursor) argument
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 1274 protected void entryRemoved(boolean evicted, String key, argument
|