Searched refs:CachedCursor (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ContentCacheTests.java | 30 import com.android.email.provider.ContentCache.CachedCursor; 153 assertTrue(wrappedCursor instanceof CachedCursor); in testCachedCursors() 154 CachedCursor cachedCursor = (CachedCursor)wrappedCursor; in testCachedCursors() 229 assertTrue(cachedCursor instanceof CachedCursor); in testContentCacheRemoveEldestEntry() 232 assertTrue(cachedCursor instanceof CachedCursor); in testContentCacheRemoveEldestEntry() 253 assertTrue(cachedCursor instanceof CachedCursor); in testContentCacheRemoveEldestEntry() 256 assertTrue(cachedCursor instanceof CachedCursor); in testContentCacheRemoveEldestEntry() 269 Cursor cachedCursor1 = new CachedCursor(underlyingCursor, cache, "1"); in testCloseCachedCursor() 270 Cursor cachedCursor2 = new CachedCursor(underlyingCursor, cache, "1"); in testCloseCachedCursor() 285 cachedCursor2 = new CachedCursor(underlyingCursor, cache, "2"); in testCloseCachedCursor() [all …]
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | ContentCache.java | 281 public static final class CachedCursor extends CursorWrapper implements CrossProcessCursor { class in ContentCache 293 public CachedCursor(Cursor cursor, ContentCache cache, String id) { in CachedCursor() method in ContentCache.CachedCursor 502 return new CachedCursor(c, this, id); in putCursorImpl() 528 private CachedCursor getCachedCursorImpl(String id) { in getCachedCursorImpl() 532 return new CachedCursor(c, this, id); in getCachedCursorImpl() 699 if (c instanceof CachedCursor) { in recordQueryTime()
|