HomeSort by relevance Sort by last modified time
    Searched defs:mCache (Results 1 - 25 of 60) sorted by null

1 2 3

  /frameworks/base/libs/hwui/
FboCache.h 72 SortedVector<GLuint> mCache;
ProgramCache.h 59 KeyedVector<programid, Program*> mCache;
LayerCache.h 133 SortedList<LayerEntry> mCache;
RenderBufferCache.h 121 SortedList<RenderBufferEntry> mCache;
TextureCache.h 133 LruCache<SkBitmap*, Texture*> mCache;
ResourceCache.h 123 KeyedVector<void*, ResourceReference*>* mCache;
  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
MultiUserAvatarCache.java 25 private final HashMap<Integer, Drawable> mCache;
28 mCache = new HashMap<Integer, Drawable>();
32 mCache.remove(userId);
36 return mCache.get(userId);
40 mCache.put(userId, image);
  /frameworks/volley/src/com/android/volley/toolbox/
ClearCacheRequest.java 31 private final Cache mCache;
42 mCache = cache;
49 mCache.clear();
ImageLoader.java 51 private final ImageCache mCache;
87 mCache = imageCache;
157 return mCache.getBitmap(cacheKey) != null;
194 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
255 mCache.putBitmap(cacheKey, response);
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
ContactPhotoBinder.java 46 private final HashMap<Long, Drawable> mCache;
57 mCache = new HashMap<Long, Drawable>();
67 Drawable d = mCache.get(id);
89 mCache.put(id, d);
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
CalendarColorCache.java 34 private HashSet<String> mCache = new HashSet<String>();
85 mCache.add(generateKey(accountName, accountType));
92 return mCache.contains(generateKey(accountName, accountType));
99 mCache.clear();
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
FastScrollingIndexCacheTest.java 33 private FastScrollingIndexCache mCache;
57 mCache = FastScrollingIndexCache.getInstanceForTest(mPrefs);
94 assertNull(mCache.get(null, null, null, null, null));
95 assertNull(mCache.get(URI_A, "*s*", PROJECTION_0, "*so*", "*ce*"));
96 assertNull(mCache.get(URI_A, "*s*", PROJECTION_1, "*so*", "*ce*"));
97 assertNull(mCache.get(URI_B, "s", PROJECTION_2, "so", "ce"));
101 b = putAndGetBundle(mCache, null, null, null, null, null, TITLES_0, COUNTS_0);
104 b = putAndGetBundle(mCache, URI_A, "*s*", PROJECTION_0, "*so*", "*ce*", TITLES_1, COUNTS_1);
107 b = putAndGetBundle(mCache, URI_A, "*s*", PROJECTION_1, "*so*", "*ce*", TITLES_2, COUNTS_2);
110 b = putAndGetBundle(mCache, URI_B, "s", PROJECTION_2, "so", "ce", TITLES_3, COUNTS_3)
    [all...]
  /frameworks/volley/src/com/android/volley/
CacheDispatcher.java 44 private final Cache mCache;
66 mCache = cache;
85 mCache.initialize();
101 Cache.Entry entry = mCache.get(request.getCacheKey());
  /packages/apps/Dialer/src/com/android/dialer/util/
ExpirableCache.java 143 private LruCache<K, CachedValue<V>> mCache;
156 mCache = cache;
174 return mCache.get(key);
218 mCache.put(key, newCachedValue(value));
  /packages/apps/Dialer/tests/src/com/android/dialer/util/
ExpirableCacheTest.java 31 private ExpirableCache<String, Integer> mCache;
38 mCache = ExpirableCache.create(lruCache);
43 mCache = null;
48 mCache.put("a", 1);
49 mCache.put("b", 2);
50 assertEquals(1, mCache.getPossiblyExpired("a").intValue());
51 assertEquals(2, mCache.getPossiblyExpired("b").intValue());
52 mCache.put("a", 3);
53 assertEquals(3, mCache.getPossiblyExpired("a").intValue());
57 assertNull(mCache.getPossiblyExpired("a"))
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ImageCacheService.java 40 private BlobCache mCache;
43 mCache = CacheManager.getCache(context, IMAGE_CACHE_FILE,
64 synchronized (mCache) {
65 if (!mCache.lookup(request)) return false;
85 synchronized (mCache) {
87 mCache.insert(cacheKey, buffer.array());
97 synchronized (mCache) {
99 mCache.clearEntry(cacheKey);
  /frameworks/native/include/binder/
PermissionCache.h 55 SortedVector< Entry > mCache;
  /frameworks/native/opengl/tests/EGLTest/
egl_cache_test.cpp 32 mCache = egl_cache_t::get();
36 mCache->setCacheFilename("");
37 mCache->terminate();
40 egl_cache_t* mCache;
45 mCache->setBlob("abcd", 4, "efgh", 4);
46 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4));
55 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY));
56 mCache->setBlob("abcd", 4, "efgh", 4);
57 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4));
66 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY))
    [all...]
  /packages/apps/Mms/src/com/android/mms/util/
ImageCacheService.java 33 private BlobCache mCache;
42 mCache = CacheManager.getCache(context, IMAGE_CACHE_FILE,
62 synchronized (mCache) {
63 value = mCache.lookup(cacheKey);
82 synchronized (mCache) {
84 mCache.insert(cacheKey, buffer.array());
  /frameworks/base/graphics/java/android/renderscript/
ScriptIntrinsicLUT.java 30 private final byte mCache[] = new byte[1024];
37 mCache[ct] = (byte)ct;
38 mCache[ct + 256] = (byte)ct;
39 mCache[ct + 512] = (byte)ct;
40 mCache[ct + 768] = (byte)ct;
79 mCache[index] = (byte)value;
91 mCache[index+256] = (byte)value;
103 mCache[index+512] = (byte)value;
115 mCache[index+768] = (byte)value;
130 mTables.copyFromUnchecked(mCache);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
ResolveCache.java 111 private HashMap<String, Entry> mCache = new HashMap<String, Entry>();
125 Entry entry = mCache.get(mimeType);
156 mCache.put(mimeType, entry);
233 mCache.clear();
  /packages/apps/Gallery/src/com/android/camera/gallery/
BaseImageList.java 37 private final LruCache<Integer, BaseImage> mCache =
63 mCache.clear();
119 BaseImage result = mCache.get(i);
127 mCache.put(i, result);
163 mCache.clear();
203 BaseImage image = mCache.get(i);
206 mCache.put(i, image);
  /packages/apps/Launcher2/src/com/android/launcher2/
IconCache.java 50 private final HashMap<ComponentName, CacheEntry> mCache =
135 synchronized (mCache) {
136 mCache.remove(componentName);
144 synchronized (mCache) {
145 mCache.clear();
154 synchronized (mCache) {
163 synchronized (mCache) {
178 synchronized (mCache) {
194 CacheEntry entry = mCache.get(componentName);
198 mCache.put(componentName, entry)
    [all...]
  /packages/apps/Mms/src/com/android/mms/data/
RecipientIdCache.java 39 private final Map<Long, String> mCache;
63 mCache = new HashMap<Long, String>();
84 sInstance.mCache.clear();
89 sInstance.mCache.put(id, number);
116 String number = sInstance.mCache.get(longId);
125 number = sInstance.mCache.get(longId);
157 String number2 = sInstance.mCache.get(recipientId);
163 ", sInstance.mCache.get(recipientId)=" + number2);
169 sInstance.mCache.put(recipientId, number1);
208 for (Long id : sInstance.mCache.keySet())
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
FastScrollingIndexCache.java 38 * It's a cache from "keys" and "bundles" (see {@link #mCache} for what they are). The cache
86 private final Map<String, String> mCache = Maps.newHashMap();
200 synchronized (mCache) {
204 final String value = mCache.get(key);
215 mCache.remove(key);
232 synchronized (mCache) {
236 mCache.put(key, buildCacheValue(
248 synchronized (mCache) {
250 mCache.clear();
266 for (String key : mCache.keySet())
    [all...]

Completed in 2013 milliseconds

1 2 3