Home
last modified time | relevance | path

Searched refs:CountryCodeUtils (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DCountryCodeUtilsTest.java32 assertThat(CountryCodeUtils.COUNTRY_TO_REGIONAL_CODE).hasSize(original.size()); in testCountryToRegionalCode_generatedCorrectly()
33 assertThat(CountryCodeUtils.COUNTRY_DIALING_CODE).hasSize(original.size()); in testCountryToRegionalCode_generatedCorrectly()
35 for (String dialingCode : CountryCodeUtils.COUNTRY_DIALING_CODE) { in testCountryToRegionalCode_generatedCorrectly()
37 assertThat(CountryCodeUtils.COUNTRY_TO_REGIONAL_CODE.get(dialingCode)).isEqualTo( in testCountryToRegionalCode_generatedCorrectly()
44 for (String dialingCode : CountryCodeUtils.COUNTRY_DIALING_CODE) { in testCountryToRegionalCode_dialingCode_hasMaximum_threeDigits()
53 for (String dialingCode : CountryCodeUtils.COUNTRY_DIALING_CODE) { in testCountryToRegionalCode_dialingCode_noPrefixes()
55 assertThat(CountryCodeUtils.COUNTRY_DIALING_CODE).doesNotContain( in testCountryToRegionalCode_dialingCode_noPrefixes()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DCountryCodeUtils.java26 public class CountryCodeUtils { class
27 private CountryCodeUtils() {} in CountryCodeUtils() method in CountryCodeUtils
DContactsIndexerPhoneNumberUtils.java106 String isoCountryCode = CountryCodeUtils.COUNTRY_TO_REGIONAL_CODE.get(dialingCode); in createPhoneNumberVariants()
152 if (CountryCodeUtils.COUNTRY_DIALING_CODE.contains(possibleCodeWithPlusSign)) { in parsePhoneNumberInE164()