Searched refs:evicted (Results 1 - 11 of 11) 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/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskKeyLruCache.java25 * recently referenced key/values will be evicted as more values than the given cache size are
49 protected void entryRemoved(boolean evicted, Integer taskId, V oldV, V newV) {
/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/av/services/camera/libcameraservice/utils/
H A DClientManager.h239 * 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 DLruCache.java25 * 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/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.java55 protected void entryRemoved(boolean evicted, Integer netId,
/frameworks/support/compat/java/android/support/v4/util/
H A DLruCache.java213 * Called for entries that have been evicted or removed. This method is
214 * invoked when a value is evicted to make space, removed by a call to
221 * @param evicted true if the entry is being removed to make space, false
227 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
323 * Returns the number of values that have been evicted.
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp345 ALOGI("%s: Client for camera ID %s evicted due to device status change from HAL",
969 auto evicted = mActiveClientManager.addAndEvict(clientDescriptor); local
974 if (evicted.size() > 0) {
976 for (auto& i : evicted) {
981 LOG_ALWAYS_FATAL("%s: Invalid state for CameraService, clients not evicted properly",
1008 // should be returned rather than evicted to allow MediaRecorder to work properly.
1069 // Find clients that would be evicted
1070 auto evicted = mActiveClientManager.wouldEvict(clientDescriptor); local
1072 // If the incoming client was 'evicted,' higher priority clients have the camera in the
1074 if (std::find(evicted
1747 std::vector<sp<BasicClient>> evicted; local
1839 std::vector<sp<BasicClient>> evicted; local
[all...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DTokenCache.java121 protected void entryRemoved(boolean evicted, Key k, Value oldVal, Value newVal) { argument
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java1260 protected void entryRemoved(boolean evicted, String key, argument

Completed in 485 milliseconds