Searched refs:cachedCursor (Results 1 – 2 of 2) sorted by relevance
151 CachedCursor cachedCursor = (CachedCursor)wrappedCursor; in testCachedCursors() local153 Cursor activeCursor = cachedCursor.getWrappedCursor(); in testCachedCursors()176 assertTrue(cachedCursor.isClosed()); in testCachedCursors()224 Cursor cachedCursor = cache.getCachedCursor("1", SIMPLE_PROJECTION); in testContentCacheRemoveEldestEntry() local225 assertNotNull(cachedCursor); in testContentCacheRemoveEldestEntry()226 assertTrue(cachedCursor instanceof CachedCursor); in testContentCacheRemoveEldestEntry()227 cachedCursor = cache.getCachedCursor("2", SIMPLE_PROJECTION); in testContentCacheRemoveEldestEntry()228 assertNotNull(cachedCursor); in testContentCacheRemoveEldestEntry()229 assertTrue(cachedCursor instanceof CachedCursor); in testContentCacheRemoveEldestEntry()245 cachedCursor = cache.getCachedCursor("1", SIMPLE_PROJECTION); in testContentCacheRemoveEldestEntry()[all …]
513 Cursor cachedCursor = query(ContentUris.withAppendedId( in preCacheTable() local515 if (cachedCursor != null) { in preCacheTable()520 cachedCursor.close(); in preCacheTable()