OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sActiveCursors
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Email/tests/src/com/android/email/provider/
ContentCacheTests.java
159
int activeCount = ContentCache.
sActiveCursors
.getCount(activeCursor);
184
assertFalse(ContentCache.
sActiveCursors
.contains(activeCursor));
271
assertEquals(2, ContentCache.
sActiveCursors
.getCount(underlyingCursor));
278
assertEquals(0, ContentCache.
sActiveCursors
.getCount(underlyingCursor));
286
assertEquals(2, ContentCache.
sActiveCursors
.getCount(underlyingCursor));
289
assertEquals(0, ContentCache.
sActiveCursors
.getCount(underlyingCursor));
294
assertEquals(1, ContentCache.
sActiveCursors
.getCount(underlyingCursor));
299
assertEquals(0, ContentCache.
sActiveCursors
.getCount(underlyingCursor));
/packages/apps/Email/provider_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 3681 milliseconds