/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
H A D | TestMetadataTestCase.java | 22 * Root class for PhoneNumberUtil tests that depend on the test metadata file. 33 protected final PhoneNumberUtil phoneUtil; 39 static PhoneNumberUtil initializePhoneUtilForTesting() { 40 PhoneNumberUtil phoneUtil = new PhoneNumberUtil( 42 PhoneNumberUtil.DEFAULT_METADATA_LOADER), 44 PhoneNumberUtil.setInstance(phoneUtil);
|
H A D | MultiFileMetadataSourceImplTest.java | 28 PhoneNumberUtil.DEFAULT_METADATA_LOADER); 37 "no/such/file", "XX", -1, PhoneNumberUtil.DEFAULT_METADATA_LOADER); 44 PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY, 123, 45 PhoneNumberUtil.DEFAULT_METADATA_LOADER);
|
H A D | PhoneNumberUtilTest.java | 19 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat; 31 * Unit tests for PhoneNumberUtil.java 287 assertEquals("1", PhoneNumberUtil.getCountryMobileToken(phoneUtil.getCountryCodeForRegion( 291 assertEquals("", PhoneNumberUtil.getCountryMobileToken(phoneUtil.getCountryCodeForRegion( 312 PhoneNumberUtil.PhoneNumberType.FIXED_LINE)); 315 PhoneNumberUtil.PhoneNumberType.MOBILE)); 319 PhoneNumberUtil.PhoneNumberType.FIXED_LINE)); 321 PhoneNumberUtil.PhoneNumberType.MOBILE)); 324 PhoneNumberUtil.PhoneNumberType.MOBILE)); 339 assertEquals(expectedOutput, PhoneNumberUtil [all...] |
H A D | ExampleNumbersTest.java | 19 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType; 38 private PhoneNumberUtil phoneNumberUtil = 39 PhoneNumberUtil.createInstance(PhoneNumberUtil.DEFAULT_METADATA_LOADER);
|
H A D | PhoneNumberMatcherTest.java | 19 import com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency; 212 // The next test differs from PhoneNumberUtil -> when matching we don't consider a lone comma to 940 * Tests numbers found by {@link PhoneNumberUtil#findNumbers(CharSequence, String)} in various
|
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberToCarrierMapper.java | 19 import com.google.i18n.phonenumbers.PhoneNumberUtil; 20 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType; 37 private final PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance();
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberMatcher.java | 19 import com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency; 20 import com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType; 21 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat; 35 * Instances can be created using the {@linkplain PhoneNumberUtil#findNumbers factory methods} in 36 * {@link PhoneNumberUtil}. 46 * {@code PhoneNumberUtil.VALID_PHONE_NUMBER}, but with the following differences: 154 PhoneNumberUtil.MAX_LENGTH_FOR_NSN + PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE; 160 String punctuation = "[" + PhoneNumberUtil.VALID_PUNCTUATION + "]" + punctuationLimit; 164 String leadClassChars = openingParens + PhoneNumberUtil [all...] |
H A D | AsYouTypeFormatter.java | 32 * {@link PhoneNumberUtil#getAsYouTypeFormatter}. After that, digits can be added by invoking 58 private final PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance(); 85 Pattern.compile("[" + PhoneNumberUtil.VALID_PUNCTUATION + "]*" + 86 "(\\$\\d" + "[" + PhoneNumberUtil.VALID_PUNCTUATION + "]*)+"); 123 * PhoneNumberUtil#getAsYouTypeFormatter}. 184 PhoneNumberUtil.formattingRuleHasFirstGroupOnly( 422 PhoneNumberUtil.PLUS_CHARS_PATTERN.matcher(Character.toString(nextChar)).matches()); 569 regexCache.getPatternForRegex("\\" + PhoneNumberUtil.PLUS_SIGN + "|" + 580 if (accruedInputWithoutFormatting.charAt(0) != PhoneNumberUtil [all...] |
H A D | MultiFileMetadataSourceImpl.java | 90 loadMetadataFromFile(currentFilePrefix, PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY, 100 boolean isNonGeoRegion = PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCode);
|
H A D | ShortNumberInfo.java | 39 * {@link PhoneNumberUtil}. 539 number = PhoneNumberUtil.extractPossibleNumber(number); 540 if (PhoneNumberUtil.PLUS_CHARS_PATTERN.matcher(number).lookingAt()) { 551 String normalizedNumber = PhoneNumberUtil.normalizeDigitsOnly(number); 584 * {@code PhoneNumberUtil}. Ultimately a canonical static version should exist in a separate 585 * utility class (to prevent {@code ShortNumberInfo} needing to depend on PhoneNumberUtil).
|
H A D | PhoneNumberUtil.java | 54 public class PhoneNumberUtil { class 59 return PhoneNumberUtil.class.getResourceAsStream(metadataFileName); 63 private static final Logger logger = Logger.getLogger(PhoneNumberUtil.class.getName()); 353 private static PhoneNumberUtil instance = null; 431 * Leniency when {@linkplain PhoneNumberUtil#findNumbers finding} potential phone numbers in text 436 * Phone numbers accepted are {@linkplain PhoneNumberUtil#isPossibleNumber(PhoneNumber) 437 * possible}, but not necessarily {@linkplain PhoneNumberUtil#isValidNumber(PhoneNumber) valid}. 441 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { 446 * Phone numbers accepted are {@linkplain PhoneNumberUtil#isPossibleNumber(PhoneNumber) 447 * possible} and {@linkplain PhoneNumberUtil#isValidNumbe 563 PhoneNumberUtil(MetadataSource metadataSource, method in class:PhoneNumberUtil [all...] |
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/ |
H A D | PhoneNumberOfflineGeocoder.java | 20 import com.google.i18n.phonenumbers.PhoneNumberUtil; 21 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType; 39 private final PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance(); 92 regionCode.equals(PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY)) 116 String mobileToken = PhoneNumberUtil.getCountryMobileToken(number.getCountryCode()); 219 * A similar method is implemented as PhoneNumberUtil.isNumberGeographical, which performs a
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
H A D | PrefixTimeZonesMap.java | 19 import com.google.i18n.phonenumbers.PhoneNumberUtil; 92 PhoneNumberUtil.getInstance().getNationalSignificantNumber(number));
|
H A D | PhonePrefixMap.java | 19 import com.google.i18n.phonenumbers.PhoneNumberUtil; 39 private final PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance();
|
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberToTimeZonesMapper.java | 19 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType; 137 PhoneNumberType numberType = PhoneNumberUtil.getInstance().getNumberType(number); 147 * A similar method is implemented as PhoneNumberUtil.isNumberGeographical, which performs a 150 * TODO: Remove duplication by completing the logic in the method in PhoneNumberUtil.
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
H A D | PhoneNumberParserServlet.java | 25 import com.google.i18n.phonenumbers.PhoneNumberUtil; 26 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat; 27 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType; 55 private PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance();
|
/external/robolectric/v3/runtime/ |
H A D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.3_r2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |