Home | History | Annotate | Download | only in phone

Lines Matching refs:number

61     // Assuming DATA.DATA1 corresponds to Phone.NUMBER and SipAddress.ADDRESS, we just use
142 * The mapping from number to CacheEntry.
144 * The number will be:
145 * - last 7 digits of each "normalized phone number when it is for PSTN phone call, or
222 final String number = cursor.getString(INDEX_NUMBER);
226 // it may become null sometimes. Try formatting the original number.
227 normalizedNumber = PhoneNumberUtils.normalizeNumber(number);
232 if (PhoneNumberUtils.isUriNumber(number)) {
235 newNumberToEntry, number, customRingtone, sendToVoicemail);
237 // PSTN number case
238 // Each normalized number may or may not have full content of the number.
239 // Contacts database may contain +15001234567 while a dialed number may be
257 Log.d(LOG_TAG, "Number: " + entry.getKey() + " -> " + entry.getValue());
300 * Returns CacheEntry for the given number (PSTN number or SIP address).
302 * @param number OK to be unformatted.
307 public CacheEntry getCacheEntry(String number) {
316 if (PhoneNumberUtils.isUriNumber(number)) {
317 if (VDBG) log("Trying to lookup " + number);
319 entry = mNumberToEntry.get(number);
321 final String normalizedNumber = PhoneNumberUtils.normalizeNumber(number);