Home
last modified time | relevance | path

Searched refs:mCacheMap (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DAbstractCache.java29 private final SimpleArrayMap<K, CacheEntry<V>> mCacheMap; field in AbstractCache
32 mCacheMap = new SimpleArrayMap<K, CacheEntry<V>>(); in AbstractCache()
40 if (mCacheMap.size() >= MAX_CACHED_ITEMS) { in put()
52 mCacheMap.put(key, cacheEntry); in put()
55 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total."); in put()
68 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get()
85 CacheEntry<V> v = mCacheMap.remove(key); in purge()
88 Log.v(TAG, mCacheMap.size() + " items cached."); in purge()
96 Log.v(TAG, "Purging cache, " + mCacheMap.size() in purgeAll()
99 mCacheMap.clear(); in purgeAll()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java118 private final HashMap<String, ContentValues> mCacheMap = new HashMap<String, ContentValues>(); field in ConversationCursor
668 mCacheMap.entrySet().iterator(); in resetCursor()
743 mCacheMap.entrySet().iterator(); in getDeletedItems()
785 mCacheMap.entrySet().iterator(); in getConversationPosition()
922 ContentValues map = mCacheMap.get(uriString); in cacheValue()
926 mCacheMap.put(uriString, map); in cacheValue()
974 ContentValues uriMap = mCacheMap.get(uri); in getCachedValue()
1112 mCacheMap.clear(); in disable()
1355 final ContentValues values = mCacheMap.get(mUnderlyingCursor.getInnerUri()); in getCachedConversation()
2371 sb.append(mCacheMap); in toString()