Searched refs:PhoneNumberMatcher (Results 1 – 7 of 7) sorted by relevance
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 42 assertTrue(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 50 assertTrue(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 57 assertFalse(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 63 assertFalse(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 66 assertFalse(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 69 assertTrue(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 77 assertTrue(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 298 assertTrue(PhoneNumberMatcher.isLatinLetter('c')); in testIsLatinLetter() 299 assertTrue(PhoneNumberMatcher.isLatinLetter('C')); in testIsLatinLetter() 300 assertTrue(PhoneNumberMatcher.isLatinLetter('\u00C9')); in testIsLatinLetter() [all …]
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 498 || !PhoneNumberMatcher.containsOnlyValidXChars(number, candidate.toString(), util)) { in verify() 501 return PhoneNumberMatcher.isNationalPrefixPresentIfRequired(number, util); in verify() 521 || !PhoneNumberMatcher.containsOnlyValidXChars(number, candidateString, util) in verify() 522 || PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidateString) in verify() 523 || !PhoneNumberMatcher.isNationalPrefixPresentIfRequired(number, util)) { in verify() 526 return PhoneNumberMatcher.checkNumberGroupingIsValid( in verify() 527 number, candidate, util, new PhoneNumberMatcher.NumberGroupingChecker() { in verify() 532 return PhoneNumberMatcher.allNumberGroupsRemainGrouped( in verify() 554 || !PhoneNumberMatcher.containsOnlyValidXChars(number, candidateString, util) in verify() 555 || PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidateString) in verify() [all …]
|
D | PhoneNumberMatcher.java | 43 final class PhoneNumberMatcher implements Iterator<PhoneNumberMatch> { class 225 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, in PhoneNumberMatcher() method in PhoneNumberMatcher
|
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 531 || !PhoneNumberMatcher.containsOnlyValidXChars(number, candidate.toString(), util)) { in verify() 534 return PhoneNumberMatcher.isNationalPrefixPresentIfRequired(number, util); in verify() 554 || !PhoneNumberMatcher.containsOnlyValidXChars(number, candidateString, util) in verify() 555 || PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidateString) in verify() 556 || !PhoneNumberMatcher.isNationalPrefixPresentIfRequired(number, util)) { in verify() 559 return PhoneNumberMatcher.checkNumberGroupingIsValid( in verify() 560 number, candidate, util, new PhoneNumberMatcher.NumberGroupingChecker() { in verify() 565 return PhoneNumberMatcher.allNumberGroupsRemainGrouped( in verify() 587 || !PhoneNumberMatcher.containsOnlyValidXChars(number, candidateString, util) in verify() 588 || PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidateString) in verify() [all …]
|
D | PhoneNumberMatcher.java | 44 final class PhoneNumberMatcher implements Iterator<PhoneNumberMatch> { class 226 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, in PhoneNumberMatcher() method in PhoneNumberMatcher
|
/external/libphonenumber/ |
D | build.gradle | 16 'com/google/i18n/phonenumbers/PhoneNumberMatcher.java',
|
D | release_notes.txt | 1037 * Refactoring of matching functions, including moving them to PhoneNumberMatcher. 1057 - PhoneNumberMatcher doesn't match timestamps as phone-numbers 1091 - Improve PhoneNumberMatcher to not match numbers ending with '%'. 1103 - Improvement to PhoneNumberMatcher: requires national prefix to be present when matching 1170 - PhoneNumberMatcher improvements - added STRICT_GROUPING and EXACT_GROUPING levels, numbers 1229 - Fixes for PhoneNumberMatcher to be more restrictive in valid mode and not match numbers 1259 - Improved PhoneNumberMatcher for cases with other numbers before or after the phone number. 1269 - Adding date exclusion pattern in PhoneNumberMatcher.
|