/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
D | TintContextWrapper.java | 43 private static ArrayList<WeakReference<TintContextWrapper>> sCache; field in TintContextWrapper 48 if (sCache == null) { in wrap() 49 sCache = new ArrayList<>(); in wrap() 52 for (int i = sCache.size() - 1; i >= 0; i--) { in wrap() 53 final WeakReference<TintContextWrapper> ref = sCache.get(i); in wrap() 55 sCache.remove(i); in wrap() 59 for (int i = sCache.size() - 1; i >= 0; i--) { in wrap() 60 final WeakReference<TintContextWrapper> ref = sCache.get(i); in wrap() 70 sCache.add(new WeakReference<>(wrapper)); in wrap()
|
/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/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
D | GenerationalClassUtil.java | 48 private static List[] sCache = null; field in GenerationalClassUtil 50 if (sCache == null) { in loadObjects() 54 return sCache[filter.ordinal()]; in loadObjects() 64 sCache = new List[ExtensionFilter.values().length]; in buildCache() 66 sCache[filter.ordinal()] = new ArrayList(); in buildCache() 102 sCache[filter.ordinal()].add(item); in loadFromDirectory() 135 sCache[filter.ordinal()].add(item); in loadFomZipFile()
|
/frameworks/base/core/java/android/os/ |
D | ServiceManager.java | 38 private static HashMap<String, IBinder> sCache = new HashMap<String, IBinder>(); field in ServiceManager 120 IBinder service = sCache.get(name); in getService() 196 IBinder service = sCache.get(name); in checkService() 231 if (sCache.size() != 0) { in initServiceCache() 234 sCache.putAll(cache); in initServiceCache()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 132 private static final SparseArray<WeakReference<ColorStateList>> sCache = new SparseArray<>(); field in ColorStateList 165 synchronized (sCache) { in valueOf() 166 final int index = sCache.indexOfKey(color); in valueOf() 168 final ColorStateList cached = sCache.valueAt(index).get(); in valueOf() 174 sCache.removeAt(index); in valueOf() 178 final int N = sCache.size(); in valueOf() 180 if (sCache.valueAt(i).get() == null) { in valueOf() 181 sCache.removeAt(i); in valueOf() 186 sCache.put(color, new WeakReference<>(csl)); in valueOf()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 38 ShaderCache ShaderCache::sCache; member in android::uirenderer::skiapipeline::ShaderCache 41 return sCache; in get()
|
D | ShaderCache.h | 141 static ShaderCache sCache; variable
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_cache.cpp | 73 egl_cache_t egl_cache_t::sCache; member in android::egl_cache_t 76 return &sCache; in get()
|
D | egl_cache.h | 117 static egl_cache_t sCache; variable
|
/frameworks/support/compat/src/main/java/androidx/core/content/ |
D | FileProvider.java | 360 private static HashMap<String, PathStrategy> sCache = new HashMap<String, PathStrategy>(); field in FileProvider 575 synchronized (sCache) { in getPathStrategy() 576 strat = sCache.get(authority); in getPathStrategy() 587 sCache.put(authority, strat); in getPathStrategy()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 52 NNCache NNCache::sCache; member in android::NNCache 55 return &sCache; in get()
|
D | nnCache.h | 152 static NNCache sCache; variable
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 76 private static final Map<String, FontInfo> sCache = field in FontFamily_Delegate 390 FontInfo fontInfo = sCache.get(path); 393 sCache.put(path, fontInfo);
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 42 private static Object[] sCache = new Object[CACHE_SIZE]; field in ArrayUtils 118 Object cache = sCache[bucket]; in emptyArray() 122 sCache[bucket] = cache; in emptyArray()
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 4212 Landroid/os/ServiceManager;->sCache:Ljava/util/HashMap;
|