Home
last modified time | relevance | path

Searched refs:metadataParser (Results 1 – 6 of 6) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/metadata/source/
DBlockingMetadataBootstrappingGuard.java37 private final MetadataParser metadataParser; field in BlockingMetadataBootstrappingGuard
42 MetadataLoader metadataLoader, MetadataParser metadataParser, T metadataContainer) { in BlockingMetadataBootstrappingGuard() argument
44 this.metadataParser = metadataParser; in BlockingMetadataBootstrappingGuard()
73 return metadataParser.parse(metadataStream); in read()
DFormattingMetadataSourceImpl.java44 MetadataParser metadataParser) { in FormattingMetadataSourceImpl() argument
48 metadataLoader, metadataParser, MapBackedMetadataContainer.byCountryCallingCode())); in FormattingMetadataSourceImpl()
DRegionMetadataSourceImpl.java46 MetadataParser metadataParser) { in RegionMetadataSourceImpl() argument
50 metadataLoader, metadataParser, MapBackedMetadataContainer.byRegionCode())); in RegionMetadataSourceImpl()
DMetadataSourceImpl.java45 MetadataParser metadataParser) { in MetadataSourceImpl() argument
49 metadataLoader, metadataParser, new CompositeMetadataContainer())); in MetadataSourceImpl()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/metadata/init/
DMetadataParserTest.java34 private static final MetadataParser metadataParser = MetadataParser.newStrictParser(); field in MetadataParserTest
42 metadataParser.parse(null); in test_parse_shouldThrowExceptionForNullInput()
55 metadataParser.parse(emptyInput); in test_parse_shouldThrowExceptionForEmptyInput()
68 metadataParser.parse(invalidInput); in test_parse_shouldThrowExceptionForInvalidInput()
78 Collection<PhoneMetadata> actual = metadataParser.parse(input); in test_parse_shouldParseValidInput()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/metadata/
DDefaultMetadataDependenciesProvider.java46 private final MetadataParser metadataParser = MetadataParser.newLenientParser(); field in DefaultMetadataDependenciesProvider
56 metadataParser);
65 metadataParser);
74 metadataParser);
77 return metadataParser; in getMetadataParser()