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

/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/services/core/java/com/android/server/accounts/
H A DTokenCache.java121 protected void entryRemoved(boolean evicted, Key k, Value oldVal, Value newVal) { argument
/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/support/v4/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/utils/
H A DClientManager.h201 * LRU descriptor being evicted (this means the incoming descriptor be added in this case).
207 * priority, and a different owner will be evicted in LRU order until either the cost is less
208 * than the max cost, or all descriptors meeting this criteria have been evicted and the
223 * are evicted by this action are returned in a vector.
225 * This may return the ClientDescriptor passed in if it would be evicted.
252 * Return a vector of the ClientDescriptors that would be evicted by adding the given
255 * This may return the ClientDescriptor passed in if it would be evicted.
309 * The onClientRemoved method will be called when the client has been removed or evicted
322 * Return a vector of the ClientDescriptors that would be evicted by adding the given
418 // Find evicted client
468 auto evicted = wouldEvictLocked(client); local
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java1258 protected void entryRemoved(boolean evicted, String key, argument
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp324 ALOGI("%s: Client for camera ID %s evicted due to device status change from HAL",
943 auto evicted = mActiveClientManager.addAndEvict(clientDescriptor); local
948 if (evicted.size() > 0) {
950 for (auto& i : evicted) {
955 LOG_ALWAYS_FATAL("%s: Invalid state for CameraService, clients not evicted properly",
982 // should be returned rather than evicted to allow MediaRecorder to work properly.
1041 // Find clients that would be evicted
1042 auto evicted = mActiveClientManager.wouldEvict(clientDescriptor); local
1044 // If the incoming client was 'evicted,' higher priority clients have the camera in the
1046 if (std::find(evicted
1528 std::vector<sp<BasicClient>> evicted; local
1667 std::vector<sp<BasicClient>> evicted; local
[all...]

Completed in 298 milliseconds