/frameworks/base/core/tests/coretests/src/android/util/ |
D | LruCacheTest.java | 35 LruCache<String, String> cache = new LruCache<String, String>(3); in testStatistics() 84 LruCache<String, String> cache = newCreatingCache(); in testStatisticsWithCreate() 108 LruCache<String, String> cache = newCreatingCache(); in testCreateOnCacheMiss() 114 LruCache<String, String> cache = newCreatingCache(); in testNoCreateOnCacheHit() 121 new LruCache<String, String>(0); in testConstructorDoesNotAllowZeroCacheSize() 128 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullKey() 137 LruCache<String, String> cache = new LruCache<String, String>(3); in testCannotPutNullValue() 146 LruCache<String, String> cache = new LruCache<String, String>(3); in testToString() 164 LruCache<String, String> cache = new LruCache<String, String>(1); in testEvictionWithSingletonCache() 172 LruCache<String, String> cache = newRemovalLogCache(log); in testEntryEvictedWhenFull() [all …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
D | BitmapLoader.java | 24 import androidx.collection.LruCache; 50 static LruCache<Long, Bitmap> sLruCache; 60 static LruCache<Long, Bitmap> getLruCache(Context context) { in getLruCache() 66 sLruCache = new LruCache<Long, Bitmap>(maxBytes) { in getLruCache()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | TaskKeyLruCache.java | 19 import android.util.LruCache; 39 private final LruCache<Integer, V> mCache; 48 mCache = new LruCache<Integer, V>(cacheSize) { in TaskKeyLruCache()
|
D | IconLoader.java | 33 import android.util.LruCache; 43 protected final LruCache<ComponentName, ActivityInfo> mActivityInfoCache; 45 public IconLoader(Context context, TaskKeyLruCache<Drawable> iconCache, LruCache<ComponentName, in IconLoader() 167 LruCache<ComponentName, ActivityInfo> activityInfoCache) { in DefaultIconLoader()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | UnrefedBitmapCache.java | 20 import android.util.LruCache; 40 private LruCache<RequestKey, NullReusableBitmap> mNullRequests; 50 mNullRequests = new LruCache<RequestKey, NullReusableBitmap>(nullCapacity); in UnrefedBitmapCache()
|
D | UnrefedPooledCache.java | 20 import android.util.LruCache; 49 private final LruCache<K, V> mNonPooledCache; 220 private class NonPooledCache extends LruCache<K, V> {
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | DefaultPhotoManager.java | 24 import androidx.collection.LruCache; 56 private final LruCache<Uri, byte[]> mPhotoCacheMap; 60 mPhotoCacheMap = new LruCache<Uri, byte[]>(PHOTO_CACHE_SIZE); in DefaultPhotoManager()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AttributeCache.java | 28 import android.util.LruCache; 44 private final LruCache<String, Package> mPackages = new LruCache<>(CACHE_SIZE);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | BaseFragmentPagerAdapter.java | 24 import androidx.collection.LruCache; 55 private LruCache<String, Fragment> mFragmentCache = new FragmentCache(DEFAULT_CACHE_SIZE); 177 private class FragmentCache extends LruCache<String, Fragment> {
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroupList.java | 24 import android.util.LruCache; 38 private final LruCache<Integer, WifiP2pGroup> mGroups; 56 mGroups = new LruCache<Integer, WifiP2pGroup>(CREDENTIAL_MAX_NUM) { in WifiP2pGroupList()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 29 import android.util.LruCache; 66 private final LruCache<String, ScoredNetwork> mCache; 86 mCache = new LruCache<>(maxCacheSize); in WifiNetworkScoreCache()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoader.java | 29 import android.util.LruCache; 70 private final LruCache<ComponentName, ActivityInfo> mActivityInfoCache; 114 mActivityInfoCache = new LruCache<>(numRecentTasks); in RecentsTaskLoader() 121 LruCache<ComponentName, ActivityInfo> activityInfoCache) { in createNewIconLoader()
|
/frameworks/base/core/java/android/util/ |
D | LruCache.java | 63 public class LruCache<K, V> { class 82 public LruCache(int maxSize) { in LruCache() method in LruCache
|
D | HashedStringCache.java | 53 private final LruCache<String, String> mHashes; 65 mHashes = new LruCache<>(HASH_CACHE_SIZE); in HashedStringCache()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | TokenCache.java | 20 import android.util.LruCache; 83 private static class TokenLruCache extends LruCache<Key, Value> {
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.h | 110 android::LruCache<ResourceName, std::shared_ptr<Symbol>> cache_; 111 android::LruCache<ResourceId, std::shared_ptr<Symbol>> id_cache_;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotCache.java | 22 import android.util.LruCache;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ValidateNotificationPeople.java | 38 import android.util.LruCache; 88 private LruCache<String, LookupResult> mPeopleCache; 100 mPeopleCache = new LruCache<String, LookupResult>(PEOPLE_CACHE_SIZE); in initialize()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 43 import android.util.LruCache; 165 private static final LruCache<String, Typeface> sTypefaceCache = new LruCache<>(16);
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 28 import android.util.LruCache; 102 private final LruCache<Long, SuggestionSpan> mSuggestionSpanCache = 103 new LruCache<Long, SuggestionSpan>(SUGGESTION_SPAN_CACHE_SIZE);
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 42 import android.util.LruCache; 124 private static final LruCache<String, Typeface> sDynamicTypefaceCache = new LruCache<>(16);
|
/frameworks/minikin/include/minikin/ |
D | LayoutCache.h | 208 android::LruCache<LayoutCacheKey, LayoutPiece*> mCache GUARDED_BY(mMutex);
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 41 import android.util.LruCache; 135 private final LruCache<ApkKey, ApkAssets> mLoadedApkAssets = 136 (ENABLE_APK_ASSETS_CACHE) ? new LruCache<>(3) : null;
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 60 import android.util.LruCache; 82 private static LruCache<String, Drawable.ConstantState> sDrawableCache = new LruCache<>(50);
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteConnection.java | 30 import android.util.LruCache; 1351 extends LruCache<String, PreparedStatement> {
|