/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForPhoneNumber.java | 49 final String normalizedNumber = values.getAsString(Phone.NORMALIZED_NUMBER); in insert() local 50 updatePhoneLookup(db, rawContactId, dataId, number, normalizedNumber); in insert() 119 String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); in updatePhoneLookup() local 120 if (!TextUtils.isEmpty(normalizedNumber)) { in updatePhoneLookup() 124 phoneValues.put(PhoneLookupColumns.NORMALIZED_NUMBER, normalizedNumber); in updatePhoneLookup() 126 PhoneNumberUtils.toCallerIDMinMatch(normalizedNumber)); in updatePhoneLookup() 129 if (numberE164 != null && !numberE164.equals(normalizedNumber)) { in updatePhoneLookup() 166 String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); in appendSearchableData() local 167 if (TextUtils.isEmpty(normalizedNumber)) { in appendSearchableData() 171 builder.appendToken(normalizedNumber); in appendSearchableData() [all …]
|
D | ContactsDatabaseHelper.java | 3504 String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); in upgradeToVersion405() local 3505 if (!TextUtils.isEmpty(normalizedNumber)) { in upgradeToVersion405() 3509 phoneValues.put(PhoneLookupColumns.NORMALIZED_NUMBER, normalizedNumber); in upgradeToVersion405() 3511 PhoneNumberUtils.toCallerIDMinMatch(normalizedNumber)); in upgradeToVersion405() 4740 SQLiteQueryBuilder qb, String normalizedNumber, String numberE164) { in buildPhoneLookupAndContactQuery() argument 4741 String minMatch = PhoneNumberUtils.toCallerIDMinMatch(normalizedNumber); in buildPhoneLookupAndContactQuery() 4747 appendPhoneLookupSelection(sb, normalizedNumber, numberE164); in buildPhoneLookupAndContactQuery()
|
D | ContactsProvider2.java | 6163 String normalizedNumber = in queryLocal() local 6166 qb, normalizedNumber, numberE164); in queryLocal()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallerInfoCache.java | 223 String normalizedNumber = cursor.getString(INDEX_NORMALIZED_NUMBER); in refreshCacheEntry() local 224 if (normalizedNumber == null) { in refreshCacheEntry() 227 normalizedNumber = PhoneNumberUtils.normalizeNumber(number); in refreshCacheEntry() 245 final int length = normalizedNumber.length(); in refreshCacheEntry() 247 ? normalizedNumber.substring(length - 7, length) in refreshCacheEntry() 248 : normalizedNumber; in refreshCacheEntry() 321 final String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); in getCacheEntry() local 322 final int length = normalizedNumber.length(); in getCacheEntry() 324 (length > 7 ? normalizedNumber.substring(length - 7, length) in getCacheEntry() 325 : normalizedNumber); in getCacheEntry()
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
D | SmartDialPrefix.java | 266 String normalizedNumber = SmartDialNameMatcher.normalizeNumber(number, mMap); in parsePhoneNumber() local 283 if ((normalizedNumber.length() == 11) && (normalizedNumber.charAt(0) == '1') && in parsePhoneNumber() 286 countryCodeOffset = number.indexOf(normalizedNumber.charAt(1)); in parsePhoneNumber() 296 if (countryCode.equals("") && normalizedNumber.length() == 10){ in parsePhoneNumber() 300 areaCode = normalizedNumber.substring(0, 3); in parsePhoneNumber() 301 } else if (countryCode.equals("1") && normalizedNumber.length() == 11) { in parsePhoneNumber() 305 areaCode = normalizedNumber.substring(1, 4); in parsePhoneNumber()
|
D | DialpadFragment.java | 586 private void setFormattedDigits(String data, String normalizedNumber) { in setFormattedDigits() argument 590 PhoneNumberUtils.formatNumber(dialString, normalizedNumber, mCurrentCountryIso); in setFormattedDigits()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | ContactInfo.java | 36 public String normalizedNumber; field in ContactInfo 72 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false; in equals() 82 formattedNumber).add("normalizedNumber", normalizedNumber).add("photoId", photoId) in toString()
|
D | CallLogAdapter.java | 806 if (!TextUtils.equals(updatedInfo.normalizedNumber, callLogInfo.normalizedNumber)) { 807 values.put(Calls.CACHED_NORMALIZED_NUMBER, updatedInfo.normalizedNumber); 829 values.put(Calls.CACHED_NORMALIZED_NUMBER, updatedInfo.normalizedNumber); 857 info.normalizedNumber = c.getString(CallLogQuery.CACHED_NORMALIZED_NUMBER);
|
D | ContactInfoHelper.java | 165 info.normalizedNumber = phonesCursor.getString(PhoneQuery.NORMALIZED_NUMBER); in lookupContactFromUri() 246 private String formatPhoneNumber(String number, String normalizedNumber, String countryIso) { in formatPhoneNumber() argument 257 return PhoneNumberUtils.formatNumber(number, normalizedNumber, countryIso); in formatPhoneNumber()
|
/packages/apps/Mms/src/com/android/mms/data/ |
D | Contact.java | 847 String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); in getContactInfoForPhoneNumber() local 848 String minMatch = PhoneNumberUtils.toCallerIDMinMatch(normalizedNumber); in getContactInfoForPhoneNumber() 849 if (!TextUtils.isEmpty(normalizedNumber) && !TextUtils.isEmpty(minMatch)) { in getContactInfoForPhoneNumber() 850 String numberLen = String.valueOf(normalizedNumber.length()); in getContactInfoForPhoneNumber() 857 args = new String[] {minMatch, numberLen, normalizedNumber, numberLen}; in getContactInfoForPhoneNumber() 861 minMatch, numberE164, numberLen, normalizedNumber, numberLen}; in getContactInfoForPhoneNumber()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | CallerInfo.java | 79 public String normalizedNumber; field in CallerInfo 188 info.normalizedNumber = cursor.getString(columnIndex); in getCallerInfo() 600 .append("\nnormalizedNumber: " + normalizedNumber) in toString()
|
D | CallerInfoAsyncQuery.java | 272 mCallerInfo.normalizedNumber, in onQueryComplete()
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | CallLogFragmentTest.java | 504 contactInfo.normalizedNumber = number; in insertWithCachedValues()
|