/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
TargetPackageInfoGetterTask.java | 30 private static final LruCache<String, PackageInfo> sCache = new LruCache<>(MAX_CACHE_ENTRIES); 34 return sCache.get(packageName); 38 sCache.remove(packageName); 56 sCache.put(packageName[0], packageInfo);
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
RenderScriptSingleton.java | 36 private static AllocationCache sCache; 59 sCache = new AllocationCache(sRS); 70 sCache.close(); 71 sCache = null; 101 if (sCache == null) { 105 return sCache;
|
/frameworks/base/core/java/android/os/ |
ServiceManager.java | 31 private static HashMap<String, IBinder> sCache = new HashMap<String, IBinder>(); 51 IBinder service = sCache.get(name); 101 IBinder service = sCache.get(name); 136 if (sCache.size() != 0) { 139 sCache.putAll(cache);
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
GenerationalClassUtil.java | 48 private static List[] sCache = null; 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/media/java/android/media/ |
CameraProfile.java | 47 private static final HashMap<Integer, int[]> sCache = new HashMap<Integer, int[]>(); 81 synchronized (sCache) { 82 int[] levels = sCache.get(cameraId); 85 sCache.put(cameraId, levels);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
TintContextWrapper.java | 38 private static final ArrayList<WeakReference<TintContextWrapper>> sCache = new ArrayList<>(); 43 for (int i = 0, count = sCache.size(); i < count; i++) { 44 final WeakReference<TintContextWrapper> ref = sCache.get(i); 53 sCache.add(new WeakReference<>(wrapper));
|
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
AuthenticationCache.java | 20 private static AuthenticationCache sCache; 48 if (sCache == null) { 49 sCache = new AuthenticationCache(); 51 return sCache;
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
cpu-info.h | 55 struct cache_desc scache; member in struct:cpuinfo_mips
|
/frameworks/base/core/java/android/content/res/ |
ColorStateList.java | 132 private static final SparseArray<WeakReference<ColorStateList>> sCache = new SparseArray<>(); 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));
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/asm/ |
cpu-info.h | 55 struct cache_desc scache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/asm/ |
cpu-info.h | 55 struct cache_desc scache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/asm/ |
cpu-info.h | 55 struct cache_desc scache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/asm/ |
cpu-info.h | 55 struct cache_desc scache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-16/arch-mips/usr/include/asm/ |
cpu-info.h | 55 struct cache_desc scache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-17/arch-mips/usr/include/asm/ |
cpu-info.h | 55 struct cache_desc scache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-18/arch-mips/usr/include/asm/ |
cpu-info.h | 55 struct cache_desc scache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-19/arch-mips/usr/include/asm/ |
cpu-info.h | 55 struct cache_desc scache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-9/arch-mips/usr/include/asm/ |
cpu-info.h | 55 struct cache_desc scache; member in struct:cpuinfo_mips
|
/frameworks/native/opengl/libs/EGL/ |
egl_cache.h | 122 // sCache is the singleton egl_cache_t object. 123 static egl_cache_t sCache;
|
egl_cache.cpp | 84 egl_cache_t egl_cache_t::sCache; 87 return &sCache;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/ |
pulseaudio.h | 33 #include <pulse/scache.h> 53 * scache.h, \ref version.h, \ref error.h, \ref channelmap.h, \ref
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/pulse/ |
pulseaudio.h | 34 #include <pulse/scache.h> 54 * scache.h, \ref version.h, \ref error.h, \ref channelmap.h, \ref
|
scache.h | 33 /** \page scache Sample Cache 79 * See also \subpage scache
|
/frameworks/base/core/java/com/android/internal/util/ |
ArrayUtils.java | 41 private static Object[] sCache = new Object[CACHE_SIZE]; 117 Object cache = sCache[bucket]; 121 sCache[bucket] = cache;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
FontFamily_Delegate.java | 73 private static final Map<String, FontInfo> sCache = 330 FontInfo fontInfo = sCache.get(path); 333 sCache.put(path, fontInfo);
|