/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
D | phonenumberutil.cc | 61 const char PhoneNumberUtil::kPlusChars[] = "+\xEF\xBC\x8B"; /* "++" */ 68 const char PhoneNumberUtil::kValidPunctuation[] = 75 const char PhoneNumberUtil::kCaptureUpToSecondNumberStart[] = "(.*)[\\\\/] *x"; 78 const char PhoneNumberUtil::kRegionCodeForNonGeoEntity[] = "001"; 124 PhoneNumberUtil::PhoneNumberType type) { in GetNumberDescByType() 126 case PhoneNumberUtil::PREMIUM_RATE: in GetNumberDescByType() 128 case PhoneNumberUtil::TOLL_FREE: in GetNumberDescByType() 130 case PhoneNumberUtil::MOBILE: in GetNumberDescByType() 132 case PhoneNumberUtil::FIXED_LINE: in GetNumberDescByType() 133 case PhoneNumberUtil::FIXED_LINE_OR_MOBILE: in GetNumberDescByType() [all …]
|
D | phonenumbermatcher.h | 47 class PhoneNumberUtil; variable 77 PhoneNumberMatcher(const PhoneNumberUtil& util, 135 ResultCallback4<bool, const PhoneNumberUtil&, const PhoneNumber&, 144 const PhoneNumberUtil& util, 156 const PhoneNumberUtil& util); 171 const PhoneNumberUtil& phone_util_;
|
D | phonenumbermatcher.cc | 81 const PhoneNumberUtil& util) { in ContainsOnlyValidXChars() 101 != PhoneNumberUtil::NSN_MATCH) { in ContainsOnlyValidXChars() 118 const PhoneNumberUtil& util, in AllNumberGroupsRemainGrouped() 273 digit_block_limit_(PhoneNumberUtil::kMaxLengthForNsn + in PhoneNumberMatcherRegExps() 274 PhoneNumberUtil::kMaxLengthCountryCode), in PhoneNumberMatcherRegExps() 276 punctuation_(StrCat("[", PhoneNumberUtil::kValidPunctuation, "]", in PhoneNumberMatcherRegExps() 279 lead_class_chars_(StrCat(opening_parens_, PhoneNumberUtil::kPlusChars)), in PhoneNumberMatcherRegExps() 284 PhoneNumberUtil::GetInstance()->GetExtnPatternsForMatching(), in PhoneNumberMatcherRegExps() 307 PhoneNumberUtil::kCaptureUpToSecondNumberStart)), in PhoneNumberMatcherRegExps() 357 PhoneNumberMatcher::PhoneNumberMatcher(const PhoneNumberUtil& util, in PhoneNumberMatcher() [all …]
|
D | phonenumberutil.h | 62 class PhoneNumberUtil : public Singleton<PhoneNumberUtil> { 72 friend class Singleton<PhoneNumberUtil>; 75 ~PhoneNumberUtil(); 172 static PhoneNumberUtil* GetInstance(); 642 PhoneNumberUtil(); 699 PhoneNumberUtil::PhoneNumberFormat number_format, 706 PhoneNumberUtil::PhoneNumberFormat number_format, 794 DISALLOW_COPY_AND_ASSIGN(PhoneNumberUtil);
|
D | asyoutypeformatter.h | 52 class PhoneNumberUtil; variable 199 const PhoneNumberUtil& phone_util_; 230 friend class PhoneNumberUtil; variable
|
D | shortnumberinfo.h | 35 class PhoneNumberUtil; variable 59 const PhoneNumberUtil& phone_util_;
|
D | shortnumberinfo.cc | 48 : phone_util_(*PhoneNumberUtil::GetInstance()), in ShortNumberInfo()
|
D | asyoutypeformatter.cc | 138 phone_util_(*PhoneNumberUtil::GetInstance()), in AsYouTypeFormatter() 693 if (PhoneNumberUtil::kRegionCodeForNonGeoEntity == new_region_code) { in AttemptToExtractCountryCode()
|
/external/chromium_org/components/autofill/core/browser/ |
D | phone_number_i18n.cc | 17 using i18n::phonenumbers::PhoneNumberUtil; 33 PhoneNumberUtil* phone_util = PhoneNumberUtil::GetInstance(); in IsValidPhoneNumber() 59 PhoneNumberUtil::PhoneNumberFormat format = in FormatValidatedNumber() 61 PhoneNumberUtil::NATIONAL : in FormatValidatedNumber() 62 PhoneNumberUtil::INTERNATIONAL; in FormatValidatedNumber() 64 PhoneNumberUtil* phone_util = PhoneNumberUtil::GetInstance(); in FormatValidatedNumber() 98 PhoneNumberUtil* phone_util = PhoneNumberUtil::GetInstance(); in ParsePhoneNumber() 103 PhoneNumberUtil::NO_PARSING_ERROR) { in ParsePhoneNumber() 199 PhoneNumberUtil* phone_util = PhoneNumberUtil::GetInstance(); in PhoneNumbersMatch() 204 PhoneNumberUtil::NO_PARSING_ERROR) { in PhoneNumbersMatch() [all …]
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
D | PhoneNumberMatcher.java | 19 import com.android.i18n.phonenumbers.PhoneNumberUtil.Leniency; 20 import com.android.i18n.phonenumbers.PhoneNumberUtil.MatchType; 21 import com.android.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat; 134 PhoneNumberUtil.MAX_LENGTH_FOR_NSN + PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE; 140 String punctuation = "[" + PhoneNumberUtil.VALID_PUNCTUATION + "]" + punctuationLimit; 144 String leadClassChars = openingParens + PhoneNumberUtil.PLUS_CHARS; 153 "(?:" + PhoneNumberUtil.EXTN_PATTERNS_FOR_MATCHING + ")?", 154 PhoneNumberUtil.REGEX_FLAGS); 171 private final PhoneNumberUtil phoneUtil; 206 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, in PhoneNumberMatcher() [all …]
|
D | ShortNumberUtil.java | 31 private final PhoneNumberUtil phoneUtil; 34 phoneUtil = PhoneNumberUtil.getInstance(); in ShortNumberUtil() 38 ShortNumberUtil(PhoneNumberUtil util) { in ShortNumberUtil() 73 number = PhoneNumberUtil.extractPossibleNumber(number); in matchesEmergencyNumberHelper() 74 if (PhoneNumberUtil.PLUS_CHARS_PATTERN.matcher(number).lookingAt()) { in matchesEmergencyNumberHelper() 86 String normalizedNumber = PhoneNumberUtil.normalizeDigitsOnly(number); in matchesEmergencyNumberHelper()
|
D | AsYouTypeFormatter.java | 58 private final PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance(); 85 Pattern.compile("[" + PhoneNumberUtil.VALID_PUNCTUATION + "]*" + 86 "(\\$\\d" + "[" + PhoneNumberUtil.VALID_PUNCTUATION + "]*)+"); 411 PhoneNumberUtil.PLUS_CHARS_PATTERN.matcher(Character.toString(nextChar)).matches()); in isDigitOrLeadingPlusSign() 550 regexCache.getPatternForRegex("\\" + PhoneNumberUtil.PLUS_SIGN + "|" + in attemptToExtractIdd() 561 if (accruedInputWithoutFormatting.charAt(0) != PhoneNumberUtil.PLUS_SIGN) { in attemptToExtractIdd() 588 if (PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY.equals(newRegionCode)) { in attemptToExtractCountryCallingCode() 605 if (nextChar == PhoneNumberUtil.PLUS_SIGN) { in normalizeAndAccrueDigitsAndPlusSign()
|
D | PhoneNumberUtil.java | 58 public class PhoneNumberUtil { class 73 private static final Logger LOGGER = Logger.getLogger(PhoneNumberUtil.class.getName()); 356 private static PhoneNumberUtil instance = null; 463 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 475 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 496 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 505 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 527 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 536 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 547 abstract boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util); [all …]
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 19 import com.android.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat; 137 "no/such/file", PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY, 123); in testMissingMetadataFileThrowsRuntimeException() 312 PhoneNumberUtil.PhoneNumberType.FIXED_LINE)); in testGetExampleNumber() 315 PhoneNumberUtil.PhoneNumberType.MOBILE)); in testGetExampleNumber() 319 PhoneNumberUtil.PhoneNumberType.FIXED_LINE)); in testGetExampleNumber() 321 PhoneNumberUtil.PhoneNumberType.MOBILE)); in testGetExampleNumber() 324 PhoneNumberUtil.PhoneNumberType.MOBILE)); in testGetExampleNumber() 339 assertEquals(expectedOutput, PhoneNumberUtil.convertAlphaCharactersInNumber(input)); in testConvertAlphaCharactersInNumber() 347 PhoneNumberUtil.normalize(inputNumber)); in testNormaliseRemovePunctuation() 355 PhoneNumberUtil.normalize(inputNumber)); in testNormaliseReplaceAlphaCharacters() [all …]
|
D | TestMetadataTestCase.java | 34 protected final PhoneNumberUtil phoneUtil; 40 static PhoneNumberUtil initializePhoneUtilForTesting() { in initializePhoneUtilForTesting() 41 PhoneNumberUtil.resetInstance(); in initializePhoneUtilForTesting() 42 PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance( in initializePhoneUtilForTesting()
|
D | ExampleNumbersTest.java | 19 import com.android.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType; 40 private PhoneNumberUtil phoneNumberUtil; 45 PhoneNumberUtil.resetInstance(); in ExampleNumbersTest() 46 phoneNumberUtil = PhoneNumberUtil.getInstance(); in ExampleNumbersTest()
|
D | PhoneNumberMatcherTest.java | 19 import com.android.i18n.phonenumbers.PhoneNumberUtil.Leniency; 520 PhoneNumberUtil.Leniency leniency) { in doTestNumberMatchesForLeniency() 543 PhoneNumberUtil.Leniency leniency) { in doTestNumberNonMatchesForLeniency() 959 String text, String defaultCountry, PhoneNumberUtil.Leniency leniency) { in findNumbersForLeniency()
|
/external/chromium_org/content/renderer/android/ |
D | phone_number_detector.cc | 20 using i18n::phonenumbers::PhoneNumberUtil; 71 PhoneNumberUtil* phone_util = PhoneNumberUtil::GetInstance(); in FindContent()
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoder.java | 19 import com.android.i18n.phonenumbers.PhoneNumberUtil; 20 import com.android.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType; 43 private final PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance(); 142 regionCode.equals(PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY)) in getRegionDisplayName()
|
D | AreaCodeMap.java | 19 import com.android.i18n.phonenumbers.PhoneNumberUtil; 39 private final PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance();
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/ |
D | area_code_map.h | 34 class PhoneNumberUtil; variable 66 const PhoneNumberUtil& phone_util_;
|
D | phonenumber_offline_geocoder.h | 37 class PhoneNumberUtil; variable 144 const PhoneNumberUtil* phone_util_;
|
D | phonenumber_offline_geocoder.cc | 70 phone_util_ = PhoneNumberUtil::GetInstance(); in Init() 132 PhoneNumberUtil::kRegionCodeForNonGeoEntity) == 0) { in GetRegionDisplayName()
|
D | area_code_map.cc | 30 : phone_util_(*PhoneNumberUtil::GetInstance()) { in AreaCodeMap()
|
/external/chromium_org/third_party/libphonenumber/ |
D | README.chromium | 33 PhoneNumberUtil and the other singletons should be accessed from a single
|