Home | History | Annotate | Download | only in provider

Lines Matching refs:ContentCache

19 import com.android.email.provider.ContentCache.CacheToken;
20 import com.android.email.provider.ContentCache.CachedCursor;
21 import com.android.email.provider.ContentCache.TokenList;
36 * Tests of ContentCache
62 ContentCache.CounterMap<String> map = new ContentCache.CounterMap<String>(4);
156 int activeCount = ContentCache.sActiveCursors.getCount(activeCursor);
181 assertFalse(ContentCache.sActiveCursors.contains(activeCursor));
206 ContentCache cache = new ContentCache("Name", SIMPLE_PROJECTION, 2);
263 ContentCache cache = new ContentCache("Name", SIMPLE_PROJECTION, 2);
268 assertEquals(2, ContentCache.sActiveCursors.getCount(underlyingCursor));
275 assertEquals(0, ContentCache.sActiveCursors.getCount(underlyingCursor));
283 assertEquals(2, ContentCache.sActiveCursors.getCount(underlyingCursor));
286 assertEquals(0, ContentCache.sActiveCursors.getCount(underlyingCursor));
291 assertEquals(1, ContentCache.sActiveCursors.getCount(underlyingCursor));
296 assertEquals(0, ContentCache.sActiveCursors.getCount(underlyingCursor));