/frameworks/base/core/java/android/content/pm/ |
D | UserPackage.java | 56 private static final SparseArrayMap<String, UserPackage> sCache = new SparseArrayMap<>(); field in UserPackage 109 UserPackage up = sCache.get(userId, packageName); in of() 114 sCache.add(userId, packageName, up); in of() 127 sCache.delete(userId, packageName); in removeFromCache() 141 for (int u = sCache.numMaps() - 1; u >= 0; --u) { in setValidUserIds() 142 final int userId = sCache.keyAt(u); in setValidUserIds() 144 sCache.deleteAt(u); in setValidUserIds() 153 return sCache.numElementsForKey(userId); in numEntriesForUser() 160 final int uIdx = sCache.indexOfKey(userId); in maybePurgeRandomEntriesLocked() 164 int numCached = sCache.numElementsForKeyAt(uIdx); in maybePurgeRandomEntriesLocked() [all …]
|
/frameworks/base/core/java/android/os/ |
D | ServiceManager.java | 56 private static Map<String, IBinder> sCache = new ArrayMap<String, IBinder>(); field in ServiceManager 61 private static Map<String, IBinder> sCache$ravenwood; 135 sCache$ravenwood = new ArrayMap<>(); in init$ravenwood() 143 sCache$ravenwood.clear(); in reset$ravenwood() 144 sCache$ravenwood = null; in reset$ravenwood() 171 IBinder service = sCache.get(name); in getService() 187 return Preconditions.requireNonNullViaRavenwoodRule(sCache$ravenwood).get(name); in getService$ravenwood() 264 Preconditions.requireNonNullViaRavenwoodRule(sCache$ravenwood).put(name, service); in addService$ravenwood() 276 IBinder service = sCache.get(name); in checkService() 405 if (sCache.size() != 0) { in initServiceCache() [all …]
|
/frameworks/base/media/java/android/media/ |
D | CameraProfile.java | 47 private static final HashMap<Integer, int[]> sCache = new HashMap<Integer, int[]>(); field in CameraProfile 81 synchronized (sCache) { in getJpegEncodingQualityParameter() 82 int[] levels = sCache.get(cameraId); in getJpegEncodingQualityParameter() 85 sCache.put(cameraId, levels); in getJpegEncodingQualityParameter()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 148 private static final SparseArray<WeakReference<ColorStateList>> sCache = new SparseArray<>(); field in ColorStateList 186 synchronized (sCache) { in valueOf() 187 final int index = sCache.indexOfKey(color); in valueOf() 189 final ColorStateList cached = sCache.valueAt(index).get(); in valueOf() 195 sCache.removeAt(index); in valueOf() 199 final int N = sCache.size(); in valueOf() 201 if (sCache.valueAt(i).refersTo(null)) { in valueOf() 202 sCache.removeAt(i); in valueOf() 207 sCache.put(color, new WeakReference<>(csl)); in valueOf()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | MimeIconUtils.java | 37 private static final ArrayMap<String, MimeTypeInfo> sCache = new ArrayMap<>(); field in MimeIconUtils 260 synchronized (sCache) { in getTypeInfo() 261 MimeTypeInfo res = sCache.get(mimeType); in getTypeInfo() 264 sCache.put(mimeType, res); in getTypeInfo()
|
D | Parcelling.java | 61 private static ArrayMap<Class, Parcelling> sCache = new ArrayMap<>(); field in Parcelling.Cache 67 return (P) sCache.get(clazz); in get() 76 sCache.put(parcelling.getClass(), parcelling); in put()
|
D | ArrayUtils.java | 46 private static Object[] sCache = new Object[CACHE_SIZE]; field in ArrayUtils 167 Object cache = sCache[bucket]; in emptyArray() 171 sCache[bucket] = cache; in emptyArray()
|
/frameworks/layoutlib/bridge/src/com/android/internal/util/ |
D | ArrayUtils_Delegate.java | 25 Arrays.fill(ArrayUtils.sCache, null); in clearCache()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_cache.h | 138 static egl_cache_t sCache; variable
|
D | egl_cache.cpp | 76 egl_cache_t egl_cache_t::sCache; member in android::egl_cache_t 79 return &sCache; in get()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 47 ShaderCache ShaderCache::sCache; member in android::uirenderer::skiapipeline::ShaderCache 50 return sCache; in get()
|
D | ShaderCache.h | 211 static ShaderCache sCache; variable
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodec.cpp | 3169 static std::map<std::string, IntfCache> sCache; in GetIntfCache() local 3171 auto it = sCache.find(name); in GetIntfCache() 3172 if (it == sCache.end()) { in GetIntfCache() 3180 it = sCache.insert({name, std::move(intfCache)}).first; in GetIntfCache()
|
/frameworks/base/config/ |
D | dirty-image-objects | 178 Lcom/android/internal/util/Parcelling$Cache;.sCache:Landroid/util/ArrayMap;.mArray:[Ljava/lang/Obje… 198 Lcom/android/internal/util/Parcelling$Cache;.sCache:Landroid/util/ArrayMap;.mHashes:[I 11 253 Landroid/content/pm/UserPackage;.sCache:Landroid/util/SparseArrayMap;.mData:Landroid/util/SparseArr… 258 Lcom/android/internal/util/Parcelling$Cache;.sCache:Landroid/util/ArrayMap; 11 572 Landroid/content/res/ColorStateList;.sCache:Landroid/util/SparseArray; 83 597 Lcom/android/internal/util/ArrayUtils;.sCache:[Ljava/lang/Object; 105
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 2087 static CodecListCache sCache{}; in GetCodecListCache() local 2088 return sCache; in GetCodecListCache()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 13600 Landroid/content/res/ColorStateList;->sCache:Landroid/util/SparseArray; 25100 Landroid/media/CameraProfile;->sCache:Ljava/util/HashMap;
|