Home
last modified time | relevance | path

Searched refs:sCache (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/java/android/media/
DCameraProfile.java47 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/os/
DServiceManager.java41 private static Map<String, IBinder> sCache = new ArrayMap<String, IBinder>(); field in ServiceManager
125 IBinder service = sCache.get(name); in getService()
205 IBinder service = sCache.get(name); in checkService()
241 if (sCache.size() != 0) { in initServiceCache()
244 sCache.putAll(cache); in initServiceCache()
/frameworks/base/core/java/android/content/res/
DColorStateList.java133 private static final SparseArray<WeakReference<ColorStateList>> sCache = new SparseArray<>(); field in ColorStateList
171 synchronized (sCache) { in valueOf()
172 final int index = sCache.indexOfKey(color); in valueOf()
174 final ColorStateList cached = sCache.valueAt(index).get(); in valueOf()
180 sCache.removeAt(index); in valueOf()
184 final int N = sCache.size(); in valueOf()
186 if (sCache.valueAt(i).get() == null) { in valueOf()
187 sCache.removeAt(i); in valueOf()
192 sCache.put(color, new WeakReference<>(csl)); in valueOf()
/frameworks/base/core/java/com/android/internal/util/
DMimeIconUtils.java37 private static final ArrayMap<String, MimeTypeInfo> sCache = new ArrayMap<>(); field in MimeIconUtils
259 synchronized (sCache) { in getTypeInfo()
260 MimeTypeInfo res = sCache.get(mimeType); in getTypeInfo()
263 sCache.put(mimeType, res); in getTypeInfo()
DArrayUtils.java45 private static Object[] sCache = new Object[CACHE_SIZE]; field in ArrayUtils
126 Object cache = sCache[bucket]; in emptyArray()
130 sCache[bucket] = cache; in emptyArray()
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp73 egl_cache_t egl_cache_t::sCache; member in android::egl_cache_t
76 return &sCache; in get()
Degl_cache.h117 static egl_cache_t sCache; variable
/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.cpp41 ShaderCache ShaderCache::sCache; member in android::uirenderer::skiapipeline::ShaderCache
44 return sCache; in get()
DShaderCache.h206 static ShaderCache sCache; variable
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache.cpp52 NNCache NNCache::sCache; member in android::NNCache
55 return &sCache; in get()
DnnCache.h152 static NNCache sCache; variable
/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java80 private static final Map<String, FontInfo> sCache = field in FontFamily_Delegate
398 FontInfo fontInfo = sCache.get(path);
401 sCache.put(path, fontInfo);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt17616 Landroid/content/res/ColorStateList;->sCache:Landroid/util/SparseArray;
37737 Landroid/media/CameraProfile;->sCache:Ljava/util/HashMap;