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

  /packages/apps/Email/tests/src/com/android/email/provider/
ContentCacheTests.java 156 int activeCount = ContentCache.sActiveCursors.getCount(activeCursor);
181 assertFalse(ContentCache.sActiveCursors.contains(activeCursor));
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));
  /packages/apps/Email/src/com/android/email/provider/
ContentCache.java 97 /*package*/ static final CounterMap<Cursor> sActiveCursors = new CounterMap<Cursor>(24);
299 sActiveCursors.add(cursor);
310 int count = sActiveCursors.subtract(mCursor);
418 if (evicted && !sActiveCursors.contains(oldValue)) {
653 if (!sActiveCursors.contains(c)) {

Completed in 461 milliseconds