Searched refs:PhoneMetadata (Results 1 – 8 of 8) sorted by relevance
292 public static class PhoneMetadata implements Externalizable { class in Phonemetadata294 public PhoneMetadata() {} in PhoneMetadata() method in Phonemetadata.PhoneMetadata301 public static final class Builder extends PhoneMetadata {302 public PhoneMetadata build() { in build()315 public PhoneMetadata setGeneralDesc(PhoneNumberDesc value) { in setGeneralDesc()329 public PhoneMetadata setFixedLine(PhoneNumberDesc value) { in setFixedLine()343 public PhoneMetadata setMobile(PhoneNumberDesc value) { in setMobile()357 public PhoneMetadata setTollFree(PhoneNumberDesc value) { in setTollFree()371 public PhoneMetadata setPremiumRate(PhoneNumberDesc value) { in setPremiumRate()385 public PhoneMetadata setSharedCost(PhoneNumberDesc value) { in setSharedCost()[all …]
19 import com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata;47 private static final Map<Integer, PhoneMetadata> callingCodeToAlternateFormatsMap =48 Collections.synchronizedMap(new HashMap<Integer, PhoneMetadata>());49 private static final Map<String, PhoneMetadata> regionCodeToShortNumberMetadataMap =50 Collections.synchronizedMap(new HashMap<String, PhoneMetadata>());82 for (PhoneMetadata metadata : alternateFormats.getMetadataList()) { in loadAlternateFormatsMetadataFromFile()92 static PhoneMetadata getAlternateFormatsForCountry(int countryCallingCode) { in getAlternateFormatsForCountry()112 for (PhoneMetadata metadata : shortNumberMetadata.getMetadataList()) { in loadShortNumberMetadataFromFile()127 static PhoneMetadata getShortNumberMetadataForRegion(String regionCode) { in getShortNumberMetadataForRegion()
21 import com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata;119 PhoneMetadata phoneMetadata = in isPossibleShortNumberForRegion()136 PhoneMetadata phoneMetadata = in isPossibleShortNumberForRegion()158 PhoneMetadata phoneMetadata = MetadataManager.getShortNumberMetadataForRegion(region); in isPossibleShortNumber()182 PhoneMetadata phoneMetadata = in isValidShortNumberForRegion()205 PhoneMetadata phoneMetadata = in isValidShortNumberForRegion()269 PhoneMetadata phoneMetadata = MetadataManager.getShortNumberMetadataForRegion( in getExpectedCostForRegion()318 PhoneMetadata phoneMetadata = MetadataManager.getShortNumberMetadataForRegion( in getExpectedCostForRegion()409 PhoneMetadata phoneMetadata = MetadataManager.getShortNumberMetadataForRegion(regionCode); in getRegionCodeForShortNumberFromRegionList()435 PhoneMetadata phoneMetadata = MetadataManager.getShortNumberMetadataForRegion(regionCode); in getExampleShortNumber()[all …]
20 import com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata;552 private final Map<String, PhoneMetadata> regionToMetadataMap =553 Collections.synchronizedMap(new HashMap<String, PhoneMetadata>());560 private final Map<Integer, PhoneMetadata> countryCodeToNonGeographicalMetadataMap =561 Collections.synchronizedMap(new HashMap<Integer, PhoneMetadata>());628 List<PhoneMetadata> metadataList = metadataCollection.getMetadataList();636 PhoneMetadata metadata = metadataList.get(0);850 PhoneMetadata metadata = getMetadataForRegion(getRegionCodeForNumber(number));1145 PhoneMetadata metadata =1176 PhoneMetadata metadata =[all …]
20 import com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata;64 private static final PhoneMetadata EMPTY_METADATA =65 new PhoneMetadata().setInternationalPrefix("NA");66 private PhoneMetadata defaultMetadata;67 private PhoneMetadata currentMetadata;135 private PhoneMetadata getMetadataForRegion(String regionCode) { in getMetadataForRegion()138 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(mainCountry); in getMetadataForRegion()
23 import com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata;585 PhoneMetadata alternateFormats = in checkNumberGroupingIsValid()661 PhoneMetadata metadata = util.getMetadataForRegion(phoneNumberRegion); in isNationalPrefixPresentIfRequired()
19 import com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata;30 PhoneMetadata germanyAlternateFormats = MetadataManager.getAlternateFormatsForCountry(49); in testAlternateFormatsContainsData()37 PhoneMetadata franceShortNumberMetadata = MetadataManager.getShortNumberMetadataForRegion("FR"); in testShortNumberMetadataContainsData()43 PhoneMetadata noAlternateFormats = MetadataManager.getAlternateFormatsForCountry(999); in testAlternateFormatsFailsGracefully()48 PhoneMetadata noShortNumberMetadata = MetadataManager.getShortNumberMetadataForRegion("XXX"); in testShortNumberMetadataFailsGracefully()
21 import com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata;156 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.US); in testGetInstanceLoadUSMetadata()177 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.DE); in testGetInstanceLoadDEMetadata()197 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.AR); in testGetInstanceLoadARMetadata()213 PhoneMetadata metadata = phoneUtil.getMetadataForNonGeographicalRegion(800); in testGetInstanceLoadInternationalTollFreeMetadata()1453 PhoneMetadata metadata = new PhoneMetadata(); in testMaybeStripNationalPrefix()1562 PhoneMetadata metadata = phoneUtil.getMetadataForRegion(RegionCode.US); in testMaybeExtractCountryCode()