Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DServiceManager.java31 private static HashMap<String, IBinder> sCache = new HashMap<String, IBinder>(); field in ServiceManager
51 IBinder service = sCache.get(name); in getService()
101 IBinder service = sCache.get(name); in checkService()
134 if (sCache.size() != 0) { in initServiceCache()
137 sCache.putAll(cache); in initServiceCache()
/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/data-binding/compiler/src/main/java/android/databinding/tool/util/
DGenerationalClassUtil.java48 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()
100 sCache[filter.ordinal()].add(item); in loadFromDirectory()
133 sCache[filter.ordinal()].add(item); in loadFomZipFile()
/frameworks/base/core/java/android/content/res/
DColorStateList.java79 private static final SparseArray<WeakReference<ColorStateList>> sCache = new SparseArray<>(); field in ColorStateList
112 synchronized (sCache) { in valueOf()
113 final int index = sCache.indexOfKey(color); in valueOf()
115 final ColorStateList cached = sCache.valueAt(index).get(); in valueOf()
121 sCache.removeAt(index); in valueOf()
125 final int N = sCache.size(); in valueOf()
127 if (sCache.valueAt(i).get() == null) { in valueOf()
128 sCache.removeAt(i); in valueOf()
133 sCache.put(color, new WeakReference<>(csl)); in valueOf()
/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java320 private static HashMap<String, PathStrategy> sCache = new HashMap<String, PathStrategy>(); field in FileProvider
530 synchronized (sCache) { in getPathStrategy()
531 strat = sCache.get(authority); in getPathStrategy()
542 sCache.put(authority, strat); in getPathStrategy()
/frameworks/native/opengl/libs/EGL/
Degl_cache.h123 static egl_cache_t sCache; variable
Degl_cache.cpp83 egl_cache_t egl_cache_t::sCache; member in android::egl_cache_t
86 return &sCache; in get()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java73 private static final Map<String, FontInfo> sCache = field in FontFamily_Delegate
328 FontInfo fontInfo = sCache.get(path);
331 sCache.put(path, fontInfo);
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java37 private static Object[] sCache = new Object[CACHE_SIZE]; field in ArrayUtils
113 Object cache = sCache[bucket]; in emptyArray()
117 sCache[bucket] = cache; in emptyArray()