Home
last modified time | relevance | path

Searched refs:normalizeNumber (Results 1 – 17 of 17) sorted by relevance

/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerPhoneNumberUtilsTest.java47 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in testFormatNational_originalFormat1()
58 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in testFormatNational_originalFormat2()
69 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in testFormatNational_originalFormat3()
80 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in testFormatNational_originalFormat4()
91 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in testFormatNational_originalFormat5()
102 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in testFormatNational_withCountryCode_us()
113 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in testFormatNational_withCountryCode_cn()
124 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in testFormatNational_withoutCountryCode()
135 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in testCreateFormatNational_withRightCountryCode()
146 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in testCreateFormatNational_withoutCountryCodePassedIn()
/packages/apps/Contacts/src/com/android/contacts/compat/
DPhoneNumberUtilsCompat.java41 public static String normalizeNumber(String phoneNumber) { in normalizeNumber() method in PhoneNumberUtilsCompat
43 return PhoneNumberUtils.normalizeNumber(phoneNumber); in normalizeNumber()
67 return normalizeNumber(PhoneNumberUtils.convertKeypadLettersToDigits(phoneNumber)); in normalizeNumberInternal()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneNumberHelper.java58 public static String normalizeNumber(String phoneNumber) { in normalizeNumber() method in PhoneNumberHelper
70 return normalizeNumber(PhoneNumberUtils.convertKeypadLettersToDigits(phoneNumber)); in normalizeNumber()
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialNameMatcher.java57 public static String normalizeNumber(Context context, String number) { in normalizeNumber() method in SmartDialNameMatcher
58 return normalizeNumber(context, number, /* offset = */ 0); in normalizeNumber()
68 public static String normalizeNumber(Context context, String number, int offset) { in normalizeNumber() method in SmartDialNameMatcher
DSmartDialPrefix.java204 result.add(SmartDialNameMatcher.normalizeNumber(context, number)); in parseToNumberTokens()
213 SmartDialNameMatcher.normalizeNumber( in parseToNumberTokens()
219 SmartDialNameMatcher.normalizeNumber( in parseToNumberTokens()
238 String normalizedNumber = SmartDialNameMatcher.normalizeNumber(context, number); in parsePhoneNumber()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefix.java114 return "*" + PhoneNumberUtils.normalizeNumber( in normalizeNumberWithStar()
117 return PhoneNumberUtils.normalizeNumber(phoneNumber); in normalizeNumberWithStar()
DDataRowHandlerForPhoneNumber.java127 String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); in updatePhoneLookup()
174 String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); in appendSearchableData()
DContactsProvider2.java6758 final String number = PhoneNumberUtils.normalizeNumber(filterParam); in queryLocal()
7042 final String number = PhoneNumberUtils.normalizeNumber(filterParam); in queryLocal()
7222 String normalizedNumber = PhoneNumberUtils.normalizeNumber(number); in queryLocal()
8512 phoneNumber = PhoneNumberUtils.normalizeNumber(filter); in appendSearchIndexJoin()
DContactsDatabaseHelper.java3026 final String normalized = PhoneNumberUtils.normalizeNumber(phoneNumber); in upgradeToVersion702()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DContactsIndexerPhoneNumberUtils.java78 String phoneNumberNormalized = PhoneNumberUtils.normalizeNumber(phoneNumberOriginal); in createPhoneNumberVariants()
95 phoneNumberInE164 = PhoneNumberUtils.normalizeNumber(phoneNumberInE164); in createPhoneNumberVariants()
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DUkRegionPrefixInInternationalFormatHandler.java45 if (!PhoneNumberUtils.normalizeNumber(number).startsWith(MALFORMED_PREFIX)) { in handle()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomCallUtil.java91 return Optional.of(PhoneNumberUtils.normalizeNumber(rawNumber)); in getNormalizedNumber()
/packages/apps/Dialer/java/com/android/dialer/smartdial/
DSmartDialCursorLoader.java63 this.query = SmartDialNameMatcher.normalizeNumber(context, query); in configureQuery()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DMainSearchController.java450 String normalizedQuery = SmartDialNameMatcher.normalizeNumber(/* context = */ activity, query); in onDialpadQueryChanged()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java476 String normalizedNumber = PhoneNumberUtils.normalizeNumber(callNumber); in isUnloggableNumber()
DCallsManager.java1809 final String number1 = PhoneNumberUtils.normalizeNumber(handle1.getSchemeSpecificPart()); in areHandlesEqual()
1810 final String number2 = PhoneNumberUtils.normalizeNumber(handle2.getSchemeSpecificPart()); in areHandlesEqual()
/packages/apps/Dialer/java/com/android/dialer/app/
DDialtactsActivity.java1260 SmartDialNameMatcher.normalizeNumber(/* context = */ this, query); in onDialpadQueryChanged()