Searched refs:LruCache (Results 1 - 2 of 2) sorted by relevance

/system/core/include/utils/
H A DLruCache.h36 class LruCache { class in namespace:android
38 explicit LruCache(uint32_t maxCapacity);
55 Iterator(const LruCache<TKey, TValue>& cache): mCache(cache), mIndex(-1) { argument
75 const LruCache<TKey, TValue>& mCache;
80 LruCache(const LruCache& that); // disallow copy constructor
107 LruCache<TKey, TValue>::LruCache(uint32_t maxCapacity) function in class:android::LruCache
117 void LruCache<K, V>::setOnEntryRemovedListener(OnEntryRemoved<K, V>* listener) {
122 size_t LruCache<TKe
[all...]
/system/core/libutils/tests/
H A DLruCache_test.cpp19 #include <utils/LruCache.h>
80 typedef LruCache<ComplexKey, ComplexValue> ComplexCache;
117 LruCache<SimpleKey, StringValue> cache(100);
124 LruCache<SimpleKey, StringValue> cache(100);
136 LruCache<SimpleKey, StringValue> cache(2);
148 LruCache<SimpleKey, StringValue> cache(100);
161 LruCache<SimpleKey, StringValue> cache(100);
180 LruCache<SimpleKey, StringValue> cache(512);
264 LruCache<SimpleKey, StringValue> cache(100);
279 LruCache<SimpleKe
[all...]

Completed in 23 milliseconds