HomeSort by relevance Sort by last modified time
    Searched refs: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 96 /*package*/ static final CounterMap<Cursor> sActiveCursors = new CounterMap<Cursor>(24);
298 sActiveCursors.add(cursor);
309 int count = sActiveCursors.subtract(mCursor);
417 if (evicted && !sActiveCursors.contains(oldValue)) {
652 if (!sActiveCursors.contains(c)) {

Completed in 125 milliseconds