Searched defs:cache (Results 1 - 7 of 7) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | ExpirableCache.java | 29 * An LRU cache in which all items can be marked as expired at a given time and it is possible to 35 * Consider a cache for contact information: 41 * the cache: 56 * and insert it back into the cache when the fetch completes. 58 * At a certain point we want to expire the content of the cache because we know the content may 68 * The values will be still available from the cache, but they will be expired. 75 * for evicting items when the cache is full. It is possible to supply your own subclass of LruCache 77 * Since the underlying cache maps keys to cached values it can determine which items are expired 89 * A cached value stored inside the cache. 91 * It provides access to the value stored in the cache bu 155 ExpirableCache(LruCache<K, CachedValue<V>> cache) argument 252 create(LruCache<K, CachedValue<V>> cache) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MediaObject.java | 47 // These are flags for cache() and return values for getCacheFlag(): 123 public void cache(int flag) { method in class:MediaObject
|
H A D | DataManager.java | 247 public void cache(Path path, int flag) { method in class:DataManager 248 getMediaObject(path).cache(flag);
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | ContentCache.java | 39 * An LRU cache for EmailContent (Account, HostAuth, Mailbox, and Message, thus far). The intended 40 * user of this cache is EmailProvider itself; caching is entirely transparent to users of the 46 * To create a cache: 47 * ContentCache cache = new ContentCache(name, projection, max); 49 * To (try to) get a cursor from a cache: 50 * Cursor cursor = cache.getCursor(id, projection); 52 * To read from a table and cache the resulting cursor: 53 * 1. Get a CacheToken: CacheToken token = cache.getToken(id); 55 * 3. Put the cursor in the cache: cache 292 CachedCursor(Cursor cursor, ContentCache cache, String id) argument 789 Statistics(ContentCache cache) argument 799 addCacheStatistics(ContentCache cache) argument [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherModel.java | 1361 Log.d(TAG, "bound all " + list.size() + " apps from cache in " 1893 boolean queueIconToBeChecked(HashMap<Object, byte[]> cache, ShortcutInfo info, Cursor c, argument 1906 cache.put(info, c.getBlob(iconIndex));
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 105 // In memory cache of path<->id mappings, to speed up inserts during media scan 251 // We could remove only the deleted entry from the cache, but that 253 // clear the entire cache. 255 // entry from the cache 345 * An LRU cache system is used to clean up databases for old external 4137 * @param cacheName The string that will be inserted in to the cache 4141 * @param cache The cache to add this entry to 4148 String artist, HashMap<String, Long> cache, Uri srcuri) { 4232 if (cache ! 4146 getKeyIdForName(SQLiteDatabase db, String table, String keyField, String nameField, String rawName, String cacheName, String path, int albumHash, String artist, HashMap<String, Long> cache, Uri srcuri) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactsDatabaseHelper.java | 649 /** In-memory cache of previously found MIME-type mappings */ 651 /** In-memory cache of previously found package name mappings */ 762 // in the cache 3798 * created. All new, uncached answers are added to the cache automatically. 3802 * existing one is found in cache or from query. 3804 * @param cache In-memory cache of previous answers. 3808 String value, HashMap<String, Long> cache) { 3821 cache.put(value, id); 3835 // Try an in-memory cache looku 3807 lookupAndCacheId(SQLiteStatement query, SQLiteStatement insert, String value, HashMap<String, Long> cache) argument [all...] |
Completed in 517 milliseconds