Searched refs:mCacheMap (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
D | AbstractCache.java | 29 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/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/ |
D | CacheManager.java | 64 private final Map<String, SortedMap<Long, SampleCache>> mCacheMap = new ArrayMap<>(); field in CacheManager 305 mCacheMap.clear(); in clearCache() 330 SortedMap<Long, SampleCache> map = mCacheMap.get(id); in createNewWriteFile() 333 mCacheMap.put(id, map); in createNewWriteFile() 353 SortedMap<Long, SampleCache> map = mCacheMap.get(trackId); in loadTrackFormStorage() 356 mCacheMap.put(trackId, map); in loadTrackFormStorage() 375 SortedMap<Long, SampleCache> map = mCacheMap.get(id); in getReadFile() 400 for (Map.Entry<String, SortedMap<Long, SampleCache>> entry : mCacheMap.entrySet()) { in maybeEvictCache() 467 SortedMap<Long, SampleCache> map = mCacheMap.get(audio.first); in writeMetaFiles() 475 SortedMap<Long, SampleCache> map = mCacheMap.get(video.first); in writeMetaFiles() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationCursor.java | 118 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()
|