Searched refs:CacheToken (Results 1 – 2 of 2) sorted by relevance
179 /*package*/ static class TokenList extends ArrayList<CacheToken> {191 ArrayList<CacheToken> removeList = new ArrayList<CacheToken>(); in invalidateTokens()193 for (CacheToken token: this) { in invalidateTokens()200 for (CacheToken token: removeList) { in invalidateTokens()210 for (CacheToken token: this) { in invalidate()216 /*package*/ boolean remove(CacheToken token) { in remove()228 public CacheToken add(String id) { in add()229 CacheToken token = new CacheToken(id); in add()243 public static final class CacheToken { class in ContentCache247 /*package*/ CacheToken(String id) { in CacheToken() method in ContentCache.CacheToken[all …]
29 import com.android.email.provider.ContentCache.CacheToken;95 CacheToken token1a = list.add("1"); in testTokenList()99 CacheToken token1b = list.add("1"); in testTokenList()106 CacheToken token2 = list.add("2"); in testTokenList()121 CacheToken token3a = list.add("3"); in testTokenList()122 CacheToken token3b = list.add("3"); in testTokenList()123 CacheToken token3c = list.add("3"); in testTokenList()213 CacheToken token = cache.getCacheToken("1"); in testContentCacheRemoveEldestEntry()