/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.h | 124 // sCache is the singleton egl_cache_t object. 125 static egl_cache_t sCache; member in class:android::egl_cache_t
|
H A D | egl_cache.cpp | 81 egl_cache_t egl_cache_t::sCache; member in class:android::egl_cache_t 84 return &sCache;
|
/frameworks/base/media/java/android/media/ |
H A D | CameraProfile.java | 47 private static final HashMap<Integer, int[]> sCache = new HashMap<Integer, int[]>(); field in class:CameraProfile 81 synchronized (sCache) { 82 int[] levels = sCache.get(cameraId); 85 sCache.put(cameraId, levels);
|
/frameworks/base/core/java/android/os/ |
H A D | ServiceManager.java | 31 private static HashMap<String, IBinder> sCache = new HashMap<String, IBinder>(); field in class:ServiceManager 52 IBinder service = sCache.get(name); 117 IBinder service = sCache.get(name); 152 if (sCache.size() != 0) { 155 sCache.putAll(cache);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | TintContextWrapper.java | 42 private static ArrayList<WeakReference<TintContextWrapper>> sCache; field in class:TintContextWrapper 47 if (sCache == null) { 48 sCache = new ArrayList<>(); 51 for (int i = sCache.size() - 1; i >= 0; i--) { 52 final WeakReference<TintContextWrapper> ref = sCache.get(i); 54 sCache.remove(i); 58 for (int i = sCache.size() - 1; i >= 0; i--) { 59 final WeakReference<TintContextWrapper> ref = sCache.get(i); 69 sCache.add(new WeakReference<>(wrapper));
|
/frameworks/ml/nn/driver/cache/nnCache/ |
H A D | nnCache.h | 151 // sCache is the singleton NNCache object. 152 static NNCache sCache; member in class:android::NNCache
|
H A D | nnCache.cpp | 52 NNCache NNCache::sCache; member in class:android::NNCache 55 return &sCache;
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
H A D | GenerationalClassUtil.java | 48 private static List[] sCache = null; field in class:GenerationalClassUtil 50 if (sCache == null) { 54 return sCache[filter.ordinal()]; 64 sCache = new List[ExtensionFilter.values().length]; 66 sCache[filter.ordinal()] = new ArrayList(); 102 sCache[filter.ordinal()].add(item); 135 sCache[filter.ordinal()].add(item);
|
/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 132 private static final SparseArray<WeakReference<ColorStateList>> sCache = new SparseArray<>(); field in class:ColorStateList 165 synchronized (sCache) { 166 final int index = sCache.indexOfKey(color); 168 final ColorStateList cached = sCache.valueAt(index).get(); 174 sCache.removeAt(index); 178 final int N = sCache.size(); 180 if (sCache.valueAt(i).get() == null) { 181 sCache.removeAt(i); 186 sCache.put(color, new WeakReference<>(csl));
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 41 private static Object[] sCache = new Object[CACHE_SIZE]; field in class:ArrayUtils 117 Object cache = sCache[bucket]; 121 sCache[bucket] = cache;
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
H A D | FileProvider.java | 343 @GuardedBy("sCache") 344 private static HashMap<String, PathStrategy> sCache = new HashMap<String, PathStrategy>(); field in class:FileProvider 554 synchronized (sCache) { 555 strat = sCache.get(authority); 566 sCache.put(authority, strat);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | FontFamily_Delegate.java | 76 private static final Map<String, FontInfo> sCache = field in class:FontFamily_Delegate 350 FontInfo fontInfo = sCache.get(path); 353 sCache.put(path, fontInfo);
|