Home
last modified time | relevance | path

Searched refs:ContentCache (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/provider/
DContentCacheTests.java29 import com.android.email.provider.ContentCache.CacheToken;
30 import com.android.email.provider.ContentCache.CachedCursor;
31 import com.android.email.provider.ContentCache.TokenList;
65 ContentCache.CounterMap<String> map = new ContentCache.CounterMap<String>(4); in testCounterMap()
159 int activeCount = ContentCache.sActiveCursors.getCount(activeCursor); in testCachedCursors()
184 assertFalse(ContentCache.sActiveCursors.contains(activeCursor)); in testCachedCursors()
209 ContentCache cache = new ContentCache("Name", SIMPLE_PROJECTION, 2); in testContentCacheRemoveEldestEntry()
266 ContentCache cache = new ContentCache("Name", SIMPLE_PROJECTION, 2); in testCloseCachedCursor()
271 assertEquals(2, ContentCache.sActiveCursors.getCount(underlyingCursor)); in testCloseCachedCursor()
278 assertEquals(0, ContentCache.sActiveCursors.getCount(underlyingCursor)); in testCloseCachedCursor()
[all …]
DPolicyTests.java60 ContentCache.invalidateAllCaches(); in setUp()
DProviderTests.java128 ContentCache.invalidateAllCaches(); in setUp()
2283 ContentCache.invalidateAllCaches(); in testCleanupOrphans()
/packages/apps/Email/provider_src/com/android/email/provider/
DContentCache.java77 public final class ContentCache { class
94 private static final ArrayList<ContentCache> sContentCaches = new ArrayList<ContentCache>();
285 private final ContentCache mCache;
293 public CachedCursor(Cursor cursor, ContentCache cache, String id) { in CachedCursor()
411 public ContentCache(String name, String[] baseProjection, int maxSize) { in ContentCache() method in ContentCache
720 for (ContentCache cache: sContentCaches) { in invalidateAllCaches()
734 private final ContentCache mCache;
761 Statistics(ContentCache cache) { in Statistics()
771 private void addCacheStatistics(ContentCache cache) { in addCacheStatistics()
814 for (ContentCache cache: sContentCaches) { in dumpStats()
DDBHelper.java1549 ContentCache.invalidateAllCaches(); in upgradeFromVersion17ToVersion18()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DQuickResponseTests.java24 import com.android.email.provider.ContentCache;
46 ContentCache.invalidateAllCaches(); in setUp()
DMailboxTests.java29 import com.android.email.provider.ContentCache;
65 ContentCache.invalidateAllCaches(); in setUp()
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java23 import com.android.email.provider.ContentCache;
55 ContentCache.invalidateAllCaches(); in setUp()
DDBTestHelper.java35 import com.android.email.provider.ContentCache;
243 ContentCache.invalidateAllCaches(); in getProviderContext()
DSecurityPolicyTests.java27 import com.android.email.provider.ContentCache;
62 ContentCache.invalidateAllCaches(); in setUp()
/packages/apps/Email/
Dproguard-test.flags62 -keepclasseswithmembers class com.android.email.provider.ContentCache$CounterMap {