/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
CallLogNotificationsHelperTest.java | 54 assertEquals(TEST_E164_NUMBER, contactInfo.normalizedNumber); 61 assertEquals(TEST_E164_NUMBER, contactInfo.normalizedNumber); 69 assertEquals(TEST_E164_NUMBER, contactInfo.normalizedNumber); 77 assertEquals(TEST_E164_NUMBER, contactInfo.normalizedNumber); 85 assertNull(contactInfo.normalizedNumber); 92 assertNull(contactInfo.normalizedNumber); 99 assertNull(contactInfo.normalizedNumber); 106 assertNull(contactInfo.normalizedNumber); 113 assertEquals(null, contactInfo.normalizedNumber);
|
CallLogAdapterTest.java | 786 info.normalizedNumber = TEST_NUMBER; [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForPhoneNumber.java | 49 final String normalizedNumber = values.getAsString(Phone.NORMALIZED_NUMBER); 50 updatePhoneLookup(db, rawContactId, dataId, number, normalizedNumber); 119 String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); 120 if (!TextUtils.isEmpty(normalizedNumber)) { 124 phoneValues.put(PhoneLookupColumns.NORMALIZED_NUMBER, normalizedNumber); 126 PhoneNumberUtils.toCallerIDMinMatch(normalizedNumber)); 129 if (numberE164 != null && !numberE164.equals(normalizedNumber)) { 166 String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); 167 if (TextUtils.isEmpty(normalizedNumber)) { 171 builder.appendToken(normalizedNumber); [all...] |
DefaultCallLogInsertionHelper.java | 83 String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); 84 if (!TextUtils.isEmpty(normalizedNumber)) { 85 values.put(Calls.CACHED_NORMALIZED_NUMBER, normalizedNumber);
|
ContactsDatabaseHelper.java | [all...] |
ContactsProvider2.java | [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallerInfoCache.java | 199 String normalizedNumber = cursor.getString(INDEX_NORMALIZED_NUMBER); 200 if (normalizedNumber == null) { 203 normalizedNumber = PhoneNumberUtils.normalizeNumber(number); 221 final int length = normalizedNumber.length(); 223 ? normalizedNumber.substring(length - 7, length) 224 : normalizedNumber; 297 final String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); 298 final int length = normalizedNumber.length(); 300 (length > 7 ? normalizedNumber.substring(length - 7, length) 301 : normalizedNumber); [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfo.java | 44 * ContactInfo.normalizedNumber is a column value returned by PhoneLookup query. By definition, 52 public String normalizedNumber; 90 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false; 104 .add("normalizedNumber", normalizedNumber).add("photoId", photoId)
|
ContactInfoHelper.java | 111 updatedInfo.normalizedNumber = PhoneNumberUtils.formatNumberToE164( 202 info.normalizedNumber = phoneLookupCursor.getString(PhoneQuery.NORMALIZED_NUMBER); 272 * @param normalizedNumber the normalized number of the given number. 278 private String formatPhoneNumber(String number, String normalizedNumber, String countryIso) { 289 return PhoneNumberUtils.formatNumber(number, normalizedNumber, countryIso); 331 if (!TextUtils.isEmpty(updatedInfo.normalizedNumber) && 332 !TextUtils.equals(updatedInfo.normalizedNumber, callLogInfo.normalizedNumber)) { 333 values.put(Calls.CACHED_NORMALIZED_NUMBER, updatedInfo.normalizedNumber); 367 values.put(Calls.CACHED_NORMALIZED_NUMBER, updatedInfo.normalizedNumber); [all...] |
CallLogNotificationsHelper.java | 127 // contactInfo.normalizedNumber is not PhoneNumberUtils.normalizeNumber. Read ContactInfo. 128 contactInfo.normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso);
|
/packages/apps/Dialer/src/com/android/dialer/filterednumber/ |
FilteredNumbersUtil.java | 191 final String normalizedNumber = phoneCursor.getString( 195 if (normalizedNumber != null) { 198 null, normalizedNumber, number, null); 238 final String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); 239 if (TextUtils.isEmpty(normalizedNumber)) { 253 new String[] { normalizedNumber }, 352 final String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); 353 return !TextUtils.isEmpty(normalizedNumber) 354 && !PhoneNumberUtils.isEmergencyNumber(normalizedNumber);
|
BlockedNumbersAdapter.java | 58 final String normalizedNumber = cursor.getString(cursor.getColumnIndex(
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CallLogInteractionsLoader.java | 110 final String normalizedNumber = PhoneNumberUtilsCompat.normalizeNumber(phoneNumber); 112 if (TextUtils.isEmpty(normalizedNumber)) { 116 Uri.encode(normalizedNumber));
|
/frameworks/base/core/java/android/provider/ |
CallLog.java | 678 if (ci.normalizedNumber != null) { 679 final String normalizedPhoneNumber = ci.normalizedNumber; 704 && TextUtils.isEmpty(ci.normalizedNumber)) { [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialPrefix.java | 266 String normalizedNumber = SmartDialNameMatcher.normalizeNumber(number, mMap); 283 if ((normalizedNumber.length() == 11) && (normalizedNumber.charAt(0) == '1') && 286 countryCodeOffset = number.indexOf(normalizedNumber.charAt(1)); 296 if (countryCode.equals("") && normalizedNumber.length() == 10){ 300 areaCode = normalizedNumber.substring(0, 3); 301 } else if (countryCode.equals("1") && normalizedNumber.length() == 11) { 305 areaCode = normalizedNumber.substring(1, 4);
|
DialpadFragment.java | 568 private void setFormattedDigits(String data, String normalizedNumber) { 569 final String formatted = getFormattedDigits(data, normalizedNumber, mCurrentCountryIso); 584 * @param normalizedNumber the E164 format number whose country code is used if the given 592 static String getFormattedDigits(String dialString, String normalizedNumber, String countryIso) { 602 number = PhoneNumberUtils.formatNumber(number, normalizedNumber, countryIso); [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
CallerInfoUtils.java | 111 info.normalizedNumber = ci.normalizedNumber;
|
CallerInfo.java | 121 public String normalizedNumber; 249 info.normalizedNumber = cursor.getString(columnIndex); 552 .append("\nnormalizedNumber: " + normalizedNumber)
|
CallerInfoAsyncQuery.java | 304 mCallerInfo.normalizedNumber, 543 if (ci.contactDisplayPhotoUri != null && ci.normalizedNumber != null) { 547 mCachedNumberLookupService.addPhoto(mContext, ci.normalizedNumber, in);
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
FilteredNumberAsyncQueryHandler.java | 203 @Nullable String normalizedNumber, 207 normalizedNumber, countryIso));
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfo.java | 88 public String normalizedNumber; 209 info.normalizedNumber = cursor.getString(columnIndex); 652 .append("\nnormalizedNumber: " + normalizedNumber)
|
CallerInfoAsyncQuery.java | 321 mCallerInfo.normalizedNumber,
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
ShortNumberInfo.java | 551 String normalizedNumber = PhoneNumberUtil.normalizeDigitsOnly(number); 555 return matcherApi.matchesNationalNumber(normalizedNumber, emergencyDesc,
|
PhoneNumberUtil.java | [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberUtils.java | [all...] |