Searched refs:evicted (Results 1 - 8 of 8) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseFragmentPagerAdapter.java40 * 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/core/tests/coretests/src/android/util/
H A DLruCacheTest.java60 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/base/core/java/android/util/
H A DLruCache.java25 * added to a full cache, the value at the end of that queue is evicted and may
251 * Called for entries that have been evicted or removed. This method is
252 * invoked when a value is evicted to make space, removed by a call to
259 * @param evicted true if the entry is being removed to make space, false
265 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
361 * Returns the number of values that have been evicted.
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DLruCache.java29 * 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/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroupList.java53 protected void entryRemoved(boolean evicted, Integer netId,
/frameworks/support/v4/java/android/support/v4/util/
H A DLruCache.java197 * Called for entries that have been evicted or removed. This method is
198 * invoked when a value is evicted to make space, removed by a call to
205 * @param evicted true if the entry is being removed to make space, false
211 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
306 * Returns the number of values that have been evicted.
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java1112 protected void entryRemoved(boolean evicted, String key, Bundle oldValue, Bundle newValue) { argument
1113 if (evicted) {
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java1256 protected void entryRemoved(boolean evicted, String key, argument

Completed in 598 milliseconds