Home | History | Annotate | Download | only in phone

Lines Matching refs:CacheEntry

80     public static class CacheEntry {
83 public CacheEntry(String customRingtone, boolean shouldSendToVoicemail) {
142 * The mapping from number to CacheEntry.
153 private volatile HashMap<String, CacheEntry> mNumberToEntry;
171 mNumberToEntry = new HashMap<String, CacheEntry>();
218 final HashMap<String, CacheEntry> newNumberToEntry =
219 new HashMap<String, CacheEntry>(cursor.getCount());
256 for (Entry<String, CacheEntry> entry : newNumberToEntry.entrySet()) {
283 private void putNewEntryWhenAppropriate(HashMap<String, CacheEntry> newNumberToEntry,
288 final CacheEntry entry = newNumberToEntry.get(numberOrSipAddress);
291 new CacheEntry(customRingtone, sendToVoicemail));
295 new CacheEntry(customRingtone, sendToVoicemail));
300 * Returns CacheEntry for the given number (PSTN number or SIP address).
303 * @return CacheEntry to be used. Maybe null if there's no cache here. Note that this may
307 public CacheEntry getCacheEntry(String number) {
315 CacheEntry entry;