Searched refs:Evictor (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/accounts/
H A DTokenCache.java85 private class Evictor { class in class:TokenCache.TokenLruCache
88 public Evictor() { method in class:TokenCache.TokenLruCache.Evictor
104 * Map associated tokens with an Evictor that will manage evicting the token from the
108 private HashMap<Pair<String, String>, Evictor> mTokenEvictors = new HashMap<>();
109 private HashMap<Account, Evictor> mAccountEvictors = new HashMap<>();
122 // When a token has been removed, clean up the associated Evictor.
126 * thread safe and the Evictor can only be removed once.
128 Evictor evictor = mTokenEvictors.remove(oldVal.token);
137 Evictor tokenEvictor = mTokenEvictors.get(v.token);
139 tokenEvictor = new Evictor();
[all...]

Completed in 84 milliseconds