Searched refs:phoneNumberUtil (Results 1 – 7 of 7) sorted by relevance
/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/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/Dialer/java/com/android/dialer/phonenumberproto/ |
D | DialerPhoneNumberUtil.java | 38 private final PhoneNumberUtil phoneNumberUtil; field in DialerPhoneNumberUtil 41 public DialerPhoneNumberUtil(@NonNull PhoneNumberUtil phoneNumberUtil) { in DialerPhoneNumberUtil() argument 43 this.phoneNumberUtil = Assert.isNotNull(phoneNumberUtil); in DialerPhoneNumberUtil() 68 Converter.pojoToProto(phoneNumberUtil.parse(numberToParse, defaultRegion))); in parse() 104 return phoneNumberUtil.isNumberMatch( in isNumberMatch()
|
/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/location/ |
D | GeoUtil.java | 37 final PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance(); in getGeocodedLocationFor() local 40 phoneNumberUtil.parse(phoneNumber, getCurrentCountryIso(context)); in getGeocodedLocationFor()
|
/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()
|