OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PhoneNumberMatcher
(Results
1 - 4
of
4
) sorted by null
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
MetadataManager.java
68
InputStream source =
PhoneNumberMatcher
.class.getResourceAsStream(
PhoneNumberUtil.java
477
!
PhoneNumberMatcher
.containsOnlyValidXChars(number, candidate, util)) {
480
return
PhoneNumberMatcher
.isNationalPrefixPresentIfRequired(number, util);
498
!
PhoneNumberMatcher
.containsOnlyValidXChars(number, candidate, util) ||
499
PhoneNumberMatcher
.containsMoreThanOneSlash(candidate) ||
500
!
PhoneNumberMatcher
.isNationalPrefixPresentIfRequired(number, util)) {
503
return
PhoneNumberMatcher
.checkNumberGroupingIsValid(
504
number, candidate, util, new
PhoneNumberMatcher
.NumberGroupingChecker() {
508
return
PhoneNumberMatcher
.allNumberGroupsRemainGrouped(
529
!
PhoneNumberMatcher
.containsOnlyValidXChars(number, candidate, util) ||
530
PhoneNumberMatcher
.containsMoreThanOneSlash(candidate) |
[
all
...]
PhoneNumberMatcher.java
45
final class
PhoneNumberMatcher
implements Iterator<PhoneNumberMatch> {
165
/** The potential states of a
PhoneNumberMatcher
. */
206
PhoneNumberMatcher
(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency,
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
PhoneNumberMatcherTest.java
29
* Tests for {@link
PhoneNumberMatcher
}. This only tests basic functionality based on test metadata.
224
assertTrue(
PhoneNumberMatcher
.isLatinLetter('c'));
225
assertTrue(
PhoneNumberMatcher
.isLatinLetter('C'));
226
assertTrue(
PhoneNumberMatcher
.isLatinLetter('\u00C9'));
227
assertTrue(
PhoneNumberMatcher
.isLatinLetter('\u0301')); // Combining acute accent
229
assertFalse(
PhoneNumberMatcher
.isLatinLetter(':'));
230
assertFalse(
PhoneNumberMatcher
.isLatinLetter('5'));
231
assertFalse(
PhoneNumberMatcher
.isLatinLetter('-'));
232
assertFalse(
PhoneNumberMatcher
.isLatinLetter('.'));
233
assertFalse(
PhoneNumberMatcher
.isLatinLetter(' '))
[
all
...]
Completed in 337 milliseconds