Searched refs:phoneNumberUtil (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/ |
D | DialerPhoneNumberUtil.java | 41 private final PhoneNumberUtil phoneNumberUtil; field in DialerPhoneNumberUtil 47 this.phoneNumberUtil = PhoneNumberUtil.getInstance(); in DialerPhoneNumberUtil() 87 PhoneNumber phoneNumber = phoneNumberUtil.parse(networkPortion, defaultRegion); in parse() 88 if (phoneNumberUtil.isValidNumber(phoneNumber)) { in parse() 89 String validNumber = phoneNumberUtil.format(phoneNumber, PhoneNumberFormat.E164); in parse() 142 phoneNumberUtil.parse(firstNumberIn.getNormalizedNumber(), firstNumberIn.getCountryIso()); in isMatch() 150 phoneNumberUtil.parse( in isMatch() 173 MatchType matchType = phoneNumberUtil.isNumberMatch(phoneNumber1, phoneNumber2); in isMatch()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | PhoneUtils.java | 45 final PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance(); in getNationalNumber() local 46 final Phonenumber.PhoneNumber parsed = getParsedNumber(phoneNumberUtil, phoneText, country); in getNationalNumber() 50 return phoneNumberUtil in getNationalNumber() 56 private static Phonenumber.PhoneNumber getParsedNumber(PhoneNumberUtil phoneNumberUtil, in getParsedNumber() argument 59 final Phonenumber.PhoneNumber phoneNumber = phoneNumberUtil.parse(phoneText, country); in getParsedNumber() 60 if (phoneNumberUtil.isValidNumber(phoneNumber)) { in getParsedNumber()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 746 final PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance(); in getValidE164Number() local 748 final PhoneNumber phoneNumber = phoneNumberUtil.parse(phoneText, country); in getValidE164Number() 749 if (phoneNumber != null && phoneNumberUtil.isValidNumber(phoneNumber)) { in getValidE164Number() 750 return phoneNumberUtil.format(phoneNumber, PhoneNumberFormat.E164); in getValidE164Number() 841 final PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance(); in getSimNumberNoCountryCode() local 843 final PhoneNumber phoneNumber = phoneNumberUtil.parse(selfNumber, country); in getSimNumberNoCountryCode() 844 if (phoneNumber != null && phoneNumberUtil.isValidNumber(phoneNumber)) { in getSimNumberNoCountryCode() 845 return phoneNumberUtil in getSimNumberNoCountryCode() 871 final PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance(); in formatForDisplay() local 873 final int systemCountryCode = phoneNumberUtil.getCountryCodeForRegion(systemCountry); in formatForDisplay() [all …]
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | PhoneNumberHelper.java | 40 final PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance(); in getNumberNoCountryCode() local 42 final Phonenumber.PhoneNumber phoneNumber = phoneNumberUtil.parse(number, country); in getNumberNoCountryCode() 43 if (phoneNumber != null && phoneNumberUtil.isValidNumber(phoneNumber)) { in getNumberNoCountryCode() 44 return phoneNumberUtil in getNumberNoCountryCode()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ |
D | NumberTransformer.java | 30 private final PhoneNumberUtil phoneNumberUtil; field in NumberTransformer 35 this.phoneNumberUtil = StrictModeUtils.bypass(PhoneNumberUtil::getInstance); in NumberTransformer() 60 return phoneNumberUtil.parse(numbertoTransform, userHomeCountryCode); in doAssistedDialingTransformation() 75 phoneNumberUtil.formatNumberForMobileDialing( in doAssistedDialingTransformation()
|
D | Constraints.java | 37 private final PhoneNumberUtil phoneNumberUtil; field in Constraints 58 this.phoneNumberUtil = StrictModeUtils.bypass(() -> PhoneNumberUtil.getInstance()); in Constraints() 151 phoneNumberUtil.parseAndKeepRawInput(numberToParse, userHomeCountryCode)); in parsePhoneNumber() 197 StrictModeUtils.bypass(() -> phoneNumberUtil.isValidNumber(parsedPhoneNumber.get()));
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | GeoUtil.java | 50 final PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance(); in getGeocodedLocationFor() local 53 phoneNumberUtil.parse(phoneNumber, getCurrentCountryIso(context)); in getGeocodedLocationFor()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | PhoneNumberUtilsCompat.java | 143 final PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance(); in createTtsSpanLollipop() local 149 phoneNumber = phoneNumberUtil.parse(phoneNumberString, /* defaultRegion */ null); in createTtsSpanLollipop()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogAdapter.java | 1489 PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance(); in logCp2Metrics() local 1491 PhoneNumber phoneNumber = phoneNumberUtil.parse(inputNumber, details.countryIso); in logCp2Metrics() 1492 matchInfo.setInputNumberValid(phoneNumberUtil.isValidNumber(phoneNumber)); in logCp2Metrics()
|