HomeSort by relevance Sort by last modified time
    Searched defs:PhoneNumberUtil (Results 1 - 5 of 5) sorted by null

  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/
TestMetadataTestCase.java 22 * Root class for PhoneNumberUtil tests that depend on the test metadata file.
34 protected final PhoneNumberUtil phoneUtil;
40 static PhoneNumberUtil initializePhoneUtilForTesting() {
41 PhoneNumberUtil.resetInstance();
42 PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance(
ExampleNumbersTest.java 19 import com.android.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType;
40 private PhoneNumberUtil phoneNumberUtil;
45 PhoneNumberUtil.resetInstance();
46 phoneNumberUtil = PhoneNumberUtil.getInstance();
68 for (String regionCode : phoneNumberUtil.getSupportedRegions()) {
70 phoneNumberUtil.getExampleNumberForType(regionCode, exampleNumberRequestedType);
72 if (!phoneNumberUtil.isValidNumber(exampleNumber)) {
77 PhoneNumberType exampleNumberType = phoneNumberUtil.getNumberType(exampleNumber)
    [all...]
  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/
phonenumberutil.h 62 class PhoneNumberUtil : public Singleton<PhoneNumberUtil> {
72 friend class Singleton<PhoneNumberUtil>;
75 ~PhoneNumberUtil();
165 // Gets a PhoneNumberUtil instance to carry out international phone number
170 // The PhoneNumberUtil is implemented as a singleton. Therefore, calling
172 static PhoneNumberUtil* GetInstance();
207 // const PhoneNumberUtil& phone_util(*PhoneNumberUtil::GetInstance());
250 // const PhoneNumberUtil& phone_util(*PhoneNumberUtil::GetInstance())
    [all...]
phonenumberutil.cc 18 #include "phonenumbers/phonenumberutil.h"
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) {
126 case PhoneNumberUtil::PREMIUM_RATE:
128 case PhoneNumberUtil::TOLL_FREE:
130 case PhoneNumberUtil::MOBILE:
132 case PhoneNumberUtil::FIXED_LINE
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
PhoneNumberUtil.java 58 public class PhoneNumberUtil {
73 private static final Logger LOGGER = Logger.getLogger(PhoneNumberUtil.class.getName());
356 private static PhoneNumberUtil instance = null;
453 * Leniency when {@linkplain PhoneNumberUtil#findNumbers finding} potential phone numbers in text
458 * Phone numbers accepted are {@linkplain PhoneNumberUtil#isPossibleNumber(PhoneNumber)
459 * possible}, but not necessarily {@linkplain PhoneNumberUtil#isValidNumber(PhoneNumber) valid}.
463 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) {
468 * Phone numbers accepted are {@linkplain PhoneNumberUtil#isPossibleNumber(PhoneNumber)
469 * possible} and {@linkplain PhoneNumberUtil#isValidNumber(PhoneNumber) valid}. Numbers written
475 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util)
    [all...]

Completed in 543 milliseconds