Searched refs:underlyingCursor (Results 1 – 1 of 1) sorted by relevance
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ContentCacheTests.java | 268 Cursor underlyingCursor = getOneRowCursor(); in testCloseCachedCursor() local 269 Cursor cachedCursor1 = new CachedCursor(underlyingCursor, cache, "1"); in testCloseCachedCursor() 270 Cursor cachedCursor2 = new CachedCursor(underlyingCursor, cache, "1"); in testCloseCachedCursor() 271 assertEquals(2, ContentCache.sActiveCursors.getCount(underlyingCursor)); in testCloseCachedCursor() 275 assertFalse(underlyingCursor.isClosed()); in testCloseCachedCursor() 278 assertEquals(0, ContentCache.sActiveCursors.getCount(underlyingCursor)); in testCloseCachedCursor() 280 assertTrue(underlyingCursor.isClosed()); in testCloseCachedCursor() 282 underlyingCursor = getOneRowCursor(); in testCloseCachedCursor() 284 underlyingCursor, "2", SIMPLE_PROJECTION, cache.getCacheToken("2")); in testCloseCachedCursor() 285 cachedCursor2 = new CachedCursor(underlyingCursor, cache, "2"); in testCloseCachedCursor() [all …]
|