Searched refs:CacheKey (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/ |
D | TypefaceCache.kt | 34 private data class CacheKey(val res: String, val fvar: String?) class 36 private inner class WeakTypefaceRef(val key: CacheKey, typeface: Typeface) : 50 private val cache = mutableMapOf<CacheKey, WeakTypefaceRef>() 56 val key = CacheKey(res, null) in getTypeface() 76 val key = CacheKey(res, fvar) in getVariantCache() 90 private fun logHit(key: CacheKey) { in logHit() 99 private fun logMiss(key: CacheKey) { in logMiss() 107 private fun logEviction(key: CacheKey) { in logEviction()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 842 private final ArrayMap<CacheKey, Object> mCache = new ArrayMap<>(); 843 private final CacheKey mCacheKey = new CacheKey(); 847 Object cached = peek(CacheKey.TYPE_KEY_VALUE, key, userId); in peekKeyValue() 852 return contains(CacheKey.TYPE_KEY_VALUE, key, userId); in hasKeyValue() 856 put(CacheKey.TYPE_KEY_VALUE, key, value, userId); in putKeyValue() 860 putIfUnchanged(CacheKey.TYPE_KEY_VALUE, key, value, userId, version); in putKeyValueIfUnchanged() 864 remove(CacheKey.TYPE_KEY_VALUE, key, userId); in removeKey() 868 return copyOf((byte[]) peek(CacheKey.TYPE_FILE, path.toString(), -1 /* userId */)); in peekFile() 872 return contains(CacheKey.TYPE_FILE, path.toString(), -1 /* userId */); in hasFile() 876 put(CacheKey.TYPE_FILE, path.toString(), copyOf(data), -1 /* userId */); in putFile() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/layout/ |
D | StatusBarContentInsetsProvider.kt | 166 private val insetsCache = LruCache<CacheKey, Rect>(MAX_CACHE_SIZE) in create() 320 key: CacheKey, in getAndSetCalculatedAreaForRotation() 431 private fun getCacheKey(@Rotation rotation: Int, displayCutout: DisplayCutout?): CacheKey = in getCacheKey() 432 CacheKey( in getCacheKey() 438 private data class CacheKey( in getCacheKey() dataClass
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaViewController.kt | 109 private val viewStates: MutableMap<CacheKey, TransitionViewState?> = mutableMapOf() in <lambda>() 141 private val tmpKey = CacheKey() in <lambda>() 631 private fun getKey(state: MediaHostState, guts: Boolean, result: CacheKey): CacheKey { in <lambda>() 1248 private data class CacheKey( dataClass
|
/frameworks/base/config/ |
D | preloaded-classes | 15369 java.lang.reflect.WeakCache$CacheKey 16217 java.util.ResourceBundle$CacheKey
|
/frameworks/base/services/ |
D | art-profile | 2115 HSPLcom/android/server/locksettings/LockSettingsStorage$Cache$CacheKey;->equals(Ljava/lang/Object;)Z 2116 HSPLcom/android/server/locksettings/LockSettingsStorage$Cache$CacheKey;->hashCode()I
|
D | art-wear-profile | 11425 PLcom/android/server/locksettings/LockSettingsStorage$Cache$CacheKey;->equals(Ljava/lang/Object;)Z 11426 PLcom/android/server/locksettings/LockSettingsStorage$Cache$CacheKey;->hashCode()I
|