Home
last modified time | relevance | path

Searched refs:CacheKey (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DTypefaceCache.kt34 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/
DLockSettingsStorage.java842 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/
DStatusBarContentInsetsProvider.kt166 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/
DMediaViewController.kt109 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/
Dpreloaded-classes15369 java.lang.reflect.WeakCache$CacheKey
16217 java.util.ResourceBundle$CacheKey
/frameworks/base/services/
Dart-profile2115 HSPLcom/android/server/locksettings/LockSettingsStorage$Cache$CacheKey;->equals(Ljava/lang/Object;)Z
2116 HSPLcom/android/server/locksettings/LockSettingsStorage$Cache$CacheKey;->hashCode()I
Dart-wear-profile11425 PLcom/android/server/locksettings/LockSettingsStorage$Cache$CacheKey;->equals(Ljava/lang/Object;)Z
11426 PLcom/android/server/locksettings/LockSettingsStorage$Cache$CacheKey;->hashCode()I