Home
last modified time | relevance | path

Searched refs:getExampleNumberForType (Results 1 – 8 of 8) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DExampleNumbersTest.java58 phoneNumberUtil.getExampleNumberForType(regionCode, exampleNumberRequestedType); in checkNumbersValidAndCorrectType()
199 PhoneNumber exampleNumber = phoneNumberUtil.getExampleNumberForType(type); in testEveryTypeHasAnExampleNumber()
DPhoneNumberUtilTest.java403 DE_NUMBER, phoneUtil.getExampleNumberForType(RegionCode.DE, PhoneNumberType.FIXED_LINE)); in testGetExampleNumber()
406 phoneUtil.getExampleNumberForType(RegionCode.DE, PhoneNumberType.FIXED_LINE_OR_MOBILE)); in testGetExampleNumber()
407 assertNotNull(phoneUtil.getExampleNumberForType(RegionCode.US, PhoneNumberType.FIXED_LINE)); in testGetExampleNumber()
408 assertNotNull(phoneUtil.getExampleNumberForType(RegionCode.US, PhoneNumberType.MOBILE)); in testGetExampleNumber()
411 assertNull(phoneUtil.getExampleNumberForType(RegionCode.US, PhoneNumberType.VOICEMAIL)); in testGetExampleNumber()
413 assertNull(phoneUtil.getExampleNumberForType(RegionCode.CS, PhoneNumberType.MOBILE)); in testGetExampleNumber()
436 assertNotNull(phoneUtil.getExampleNumberForType(PhoneNumberType.FIXED_LINE)); in testGetExampleNumberWithoutRegion()
437 assertNotNull(phoneUtil.getExampleNumberForType(PhoneNumberType.MOBILE)); in testGetExampleNumberWithoutRegion()
438 assertNotNull(phoneUtil.getExampleNumberForType(PhoneNumberType.PREMIUM_RATE)); in testGetExampleNumberWithoutRegion()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java2022 return getExampleNumberForType(regionCode, PhoneNumberType.FIXED_LINE);
2091 public PhoneNumber getExampleNumberForType(String regionCode, PhoneNumberType type) {
2116 public PhoneNumber getExampleNumberForType(PhoneNumberType type) {
2118 PhoneNumber exampleNumber = getExampleNumberForType(regionCode, type);
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js558 phoneUtil.getExampleNumberForType(RegionCode.DE, PNT.FIXED_LINE)));
561 assertTrue(DE_NUMBER.equals(phoneUtil.getExampleNumberForType(
564 assertNull(phoneUtil.getExampleNumberForType(RegionCode.US, PNT.VOICEMAIL));
567 phoneUtil.getExampleNumberForType(RegionCode.US, PNT.FIXED_LINE));
568 assertNotNull(phoneUtil.getExampleNumberForType(RegionCode.US, PNT.MOBILE));
570 assertNull(phoneUtil.getExampleNumberForType(RegionCode.CS, PNT.MOBILE));
Dphonenumberutil.js2738 return this.getExampleNumberForType(regionCode,
2755 i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForType = method in i18n.phonenumbers.PhoneNumberUtil
/third_party/libphonenumber/
DREADME.md33 * `getExampleNumber` and `getExampleNumberForType` - provide valid example
DFAQ.md447 - `getExampleNumber`, `getInvalidExampleNumber`, `getExampleNumberForType`,
Drelease_notes.txt1672 - Added getExampleNumberForType that doesn't take in a region, and