Home
last modified time | relevance | path

Searched refs:isValidNumber (Results 1 – 11 of 11) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1213 assertTrue(phoneUtil.isValidNumber(US_NUMBER)); in testIsValidNumber()
1214 assertTrue(phoneUtil.isValidNumber(IT_NUMBER)); in testIsValidNumber()
1215 assertTrue(phoneUtil.isValidNumber(GB_MOBILE)); in testIsValidNumber()
1216 assertTrue(phoneUtil.isValidNumber(INTERNATIONAL_TOLL_FREE)); in testIsValidNumber()
1217 assertTrue(phoneUtil.isValidNumber(UNIVERSAL_PREMIUM_RATE)); in testIsValidNumber()
1220 assertTrue(phoneUtil.isValidNumber(nzNumber)); in testIsValidNumber()
1225 assertTrue(phoneUtil.isValidNumber(BS_NUMBER)); in testIsValidForRegion()
1231 assertFalse(phoneUtil.isValidNumber(bsInvalidNumber)); in testIsValidForRegion()
1236 assertTrue(phoneUtil.isValidNumber(reNumber)); in testIsValidForRegion()
1247 assertFalse(phoneUtil.isValidNumber(reNumber)); in testIsValidForRegion()
[all …]
DExampleNumbersTest.java60 if (!phoneNumberUtil.isValidNumber(exampleNumber)) { in checkNumbersValidAndCorrectType()
172 if (!phoneNumberUtil.isValidNumber(exampleNumber)) { in testGlobalNetworkNumbers()
DPhoneNumberMatcherTest.java951 if (phoneUtil.isValidNumber(parsed)) { in doTestFindInContext()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js1698 assertTrue(phoneUtil.isValidNumber(US_NUMBER));
1699 assertTrue(phoneUtil.isValidNumber(IT_NUMBER));
1700 assertTrue(phoneUtil.isValidNumber(GB_MOBILE));
1701 assertTrue(phoneUtil.isValidNumber(INTERNATIONAL_TOLL_FREE));
1702 assertTrue(phoneUtil.isValidNumber(UNIVERSAL_PREMIUM_RATE));
1708 assertTrue(phoneUtil.isValidNumber(nzNumber));
1713 assertTrue(phoneUtil.isValidNumber(BS_NUMBER));
1721 assertFalse(phoneUtil.isValidNumber(bsInvalidNumber));
1728 assertTrue(phoneUtil.isValidNumber(reNumber));
1739 assertFalse(phoneUtil.isValidNumber(reNumber));
[all …]
Ddemo.js71 var isNumberValid = phoneUtil_.isValidNumber(number);
Dphonenumberutil.js1980 var isValidNumber = (numberType != i18n.phonenumbers.PhoneNumberType.UNKNOWN);
2058 } else if (isValidNumber && this.canBeInternationallyDialled(numberNoExt)) {
2340 return this.isValidNumber(
3053 i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumber = function(number) { method in i18n.phonenumbers.PhoneNumberUtil
3629 if (this.isValidNumber(number)) {
3644 } while (!this.isValidNumber(numberCopy));
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java557 if (!util.isValidNumber(number) in verify()
584 if (!util.isValidNumber(number) in verify()
621 if (!util.isValidNumber(number) in verify()
1468 boolean isValidNumber = (numberType != PhoneNumberType.UNKNOWN);
1525 } else if (isValidNumber && canBeInternationallyDialled(numberNoExt)) {
1738 return isValidNumber(
2069 if (!isValidNumber(possiblyValidNumber)) {
2346 public boolean isValidNumber(PhoneNumber number) {
2769 if (isValidNumber(number)) {
2782 } while (!isValidNumber(numberCopy));
/third_party/libphonenumber/java/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java162 boolean isNumberValid = phoneUtil.isValidNumber(number); in getOutputForFile()
277 boolean isNumberValid = phoneUtil.isValidNumber(number); in getOutputForSingleNumber()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_i18n.js210 this.isValidNumber = function(...args) {
/third_party/libphonenumber/
DREADME.md39 * `isValidNumber` - full validation of a phone number for a region using
149 boolean isValid = phoneUtil.isValidNumber(swissNumberProto); // returns true
DFAQ.md95 ### What is the difference between isPossibleNumber and isValidNumber?