Home
last modified time | relevance | path

Searched refs:metadataCollection (Results 1 – 5 of 5) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DMetadataManager.java190 PhoneMetadataCollection metadataCollection = loadMetadataAndCloseInput(source); in getMetadataFromSingleFileName() local
191 List<PhoneMetadata> metadataList = metadataCollection.getMetadataList(); in getMetadataFromSingleFileName()
213 PhoneMetadataCollection metadataCollection = new PhoneMetadataCollection(); in loadMetadataAndCloseInput() local
215 metadataCollection.readExternal(ois); in loadMetadataAndCloseInput()
219 return metadataCollection; in loadMetadataAndCloseInput()
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/
DBuildMetadataJsonFromXml.java105 PhoneMetadataCollection metadataCollection = in start() local
108 BuildMetadataFromXml.buildCountryCodeToRegionCodeMap(metadataCollection); in start()
125 writeCountryToMetadataMap(metadataCollection, writer); in start()
139 private static void writeCountryToMetadataMap(PhoneMetadataCollection metadataCollection, in writeCountryToMetadataMap() argument
143 for (PhoneMetadata metadata : metadataCollection.getMetadataList()) { in writeCountryToMetadataMap()
DBuildMetadataProtoFromXml.java166 PhoneMetadataCollection metadataCollection = in start() local
172 metadataCollection.writeExternal(out); in start()
175 for (PhoneMetadata metadata : metadataCollection.getMetadataList()) { in start()
192 BuildMetadataFromXml.buildCountryCodeToRegionCodeMap(metadataCollection); in start()
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java485 PhoneMetadataCollection metadataCollection = BuildMetadataFromXml.buildPhoneMetadataCollection( in testBuildPhoneMetadataCollection_liteBuild() local
492 assertTrue(metadataCollection.getMetadataCount() == 1); in testBuildPhoneMetadataCollection_liteBuild()
493 PhoneMetadata metadata = metadataCollection.getMetadataList().get(0); in testBuildPhoneMetadataCollection_liteBuild()
531 PhoneMetadataCollection metadataCollection = BuildMetadataFromXml.buildPhoneMetadataCollection( in testBuildPhoneMetadataCollection_specialBuild() local
538 assertTrue(metadataCollection.getMetadataCount() == 1); in testBuildPhoneMetadataCollection_specialBuild()
539 PhoneMetadata metadata = metadataCollection.getMetadataList().get(0); in testBuildPhoneMetadataCollection_specialBuild()
578 PhoneMetadataCollection metadataCollection = BuildMetadataFromXml.buildPhoneMetadataCollection( in testBuildPhoneMetadataCollection_fullBuild() local
585 assertTrue(metadataCollection.getMetadataCount() == 1); in testBuildPhoneMetadataCollection_fullBuild()
586 PhoneMetadata metadata = metadataCollection.getMetadataList().get(0); in testBuildPhoneMetadataCollection_fullBuild()
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java117 PhoneMetadataCollection.Builder metadataCollection = PhoneMetadataCollection.newBuilder(); in buildPhoneMetadataCollection() local
132 metadataCollection.addMetadata(metadata.build()); in buildPhoneMetadataCollection()
134 return metadataCollection.build(); in buildPhoneMetadataCollection()
142 PhoneMetadataCollection metadataCollection) { in buildCountryCodeToRegionCodeMap() argument
144 for (PhoneMetadata metadata : metadataCollection.getMetadataList()) { in buildCountryCodeToRegionCodeMap()