Home | History | Annotate | Download | only in phone

Lines Matching refs:CacheEntry

74     public static class CacheEntry {
77 public CacheEntry(String customRingtone, boolean shouldSendToVoicemail) {
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 entry = newNumberToEntry.get(numberOrSipAddress);
267 new CacheEntry(customRingtone, sendToVoicemail));
271 new CacheEntry(customRingtone, sendToVoicemail));
276 * Returns CacheEntry for the given number (PSTN number or SIP address).
279 * @return CacheEntry to be used. Maybe null if there's no cache here. Note that this may
283 public CacheEntry getCacheEntry(String number) {
291 CacheEntry entry;