Searched defs:CacheEntry (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Email/src/com/android/email/mail/internet/
H A DAuthenticationCache.java26 private final Map<Long, CacheEntry> mCache;
29 private class CacheEntry { class in class:AuthenticationCache
30 CacheEntry(long accountId, String providerId, String accessToken, String refreshToken, method in class:AuthenticationCache.CacheEntry
56 mCache = new HashMap<Long, CacheEntry>();
67 CacheEntry entry = null;
85 CacheEntry entry = getEntry(context, account);
92 private CacheEntry getEntry(Context context, Account account) {
93 CacheEntry entry;
100 entry = new CacheEntry(account.mId, credential.mProviderId, credential.mAccessToken,
109 entry = new CacheEntry(accoun
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DIconCache.java45 private static class CacheEntry { class in class:IconCache
75 private final HashMap<CacheKey, CacheEntry> mCache =
76 new HashMap<CacheKey, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY);
184 CacheEntry entry = cacheLocked(application.componentName, info, labelCache,
205 CacheEntry entry = cacheLocked(component, launcherActInfo, null, user);
217 CacheEntry entry = cacheLocked(component, info, labelCache, info.getUser());
226 private CacheEntry cacheLocked(ComponentName componentName, LauncherActivityInfo info,
229 CacheEntry entry = mCache.get(cacheKey);
231 entry = new CacheEntry();
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFileCache.java52 private final LruCache<String, CacheEntry> mEntryMap =
53 new LruCache<String, CacheEntry>(LRU_CAPACITY);
62 public static final class CacheEntry { class in class:FileCache
67 private CacheEntry(long id, String contentUrl, File cacheFile) { method in class:FileCache.CacheEntry
129 public CacheEntry lookup(String downloadUrl) {
131 CacheEntry entry;
146 entry = new CacheEntry(
/packages/apps/Launcher3/src/com/android/launcher3/
H A DIconCache.java68 private static class CacheEntry { class in class:IconCache
101 private final HashMap<CacheKey, CacheEntry> mCache =
102 new HashMap<CacheKey, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY);
230 Iterator<Entry<CacheKey, CacheEntry>> it = mCache.entrySet().iterator();
232 final CacheEntry e = it.next().getValue();
247 CacheEntry entry = cacheLocked(application.componentName, info, labelCache,
270 CacheEntry entry = cacheLocked(component, launcherActInfo, null, user, usePkgIcon);
295 CacheEntry entry = cacheLocked(component, launcherActInfo, null, user, usePkgIcon);
319 CacheEntry entry = cacheLocked(component, info, labelCache, info.getUser(), false);
328 private CacheEntry cacheLocke
[all...]
/packages/services/Telephony/src/com/android/phone/
H A DCallerInfoCache.java74 public static class CacheEntry { class in class:CallerInfoCache
77 public CacheEntry(String customRingtone, boolean shouldSendToVoicemail) { method in class:CallerInfoCache.CacheEntry
136 * The mapping from number to CacheEntry.
147 private volatile HashMap<String, CacheEntry> mNumberToEntry;
164 mNumberToEntry = new HashMap<String, CacheEntry>();
194 final HashMap<String, CacheEntry> newNumberToEntry =
195 new HashMap<String, CacheEntry>(cursor.getCount());
232 for (Entry<String, CacheEntry> entry : newNumberToEntry.entrySet()) {
259 private void putNewEntryWhenAppropriate(HashMap<String, CacheEntry> newNumberToEntry,
264 final CacheEntry entr
[all...]

Completed in 526 milliseconds