HomeSort by relevance Sort by last modified time
    Searched refs:CachedCursor (Results 1 - 2 of 2) sorted by null

  /packages/apps/Email/tests/src/com/android/email/provider/
ContentCacheTests.java 20 import com.android.email.provider.ContentCache.CachedCursor;
142 // CachedCursor)
148 // The wrappedCursor should be a CachedCursor
150 assertTrue(wrappedCursor instanceof CachedCursor);
151 CachedCursor cachedCursor = (CachedCursor)wrappedCursor;
152 // The cursor wrapped in cachedCursor is the underlying cursor
153 Cursor activeCursor = cachedCursor.getWrappedCursor();
176 assertTrue(cachedCursor.isClosed())
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
ContentCache.java 74 * the ContentCache instance (e.g. CachedCursor.close())
277 * Multiple CachedCursor's can use the same underlying cursor, so we override the various
278 * moveX methods such that each CachedCursor can have its own position information
280 public static final class CachedCursor extends CursorWrapper implements CrossProcessCursor {
292 public CachedCursor(Cursor cursor, ContentCache cache, String id) {
477 // CachedCursor.invalidate)
501 return new CachedCursor(c, this, id);
527 private CachedCursor getCachedCursorImpl(String id) {
531 return new CachedCursor(c, this, id);
698 if (c instanceof CachedCursor) {
    [all...]

Completed in 1188 milliseconds