Home
last modified time | relevance | path

Searched refs:FIXED_LINE_OR_MOBILE (Results 1 - 13 of 13) sorted by relevance

/third_party/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/
H A DPhoneNumberToCarrierMapper.java119 || numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE in isMobile()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
H A DExampleNumbersTest.java52 * FIXED_LINE and FIXED_LINE_OR_MOBILE for a fixed line example number.
83 PhoneNumberType.FIXED_LINE_OR_MOBILE); in testFixedLine()
91 PhoneNumberType.FIXED_LINE_OR_MOBILE); in testMobile()
H A DPhoneNumberUtilTest.java176 // In the US, many numbers are classified as FIXED_LINE_OR_MOBILE; but we don't want to expose in testGetSupportedTypesForRegion()
183 .contains(PhoneNumberType.FIXED_LINE_OR_MOBILE)); in testGetSupportedTypesForRegion()
406 // Should return the same response if asked for FIXED_LINE_OR_MOBILE too. in testGetExampleNumber()
408 phoneUtil.getExampleNumberForType(RegionCode.DE, PhoneNumberType.FIXED_LINE_OR_MOBILE)); in testGetExampleNumber()
1186 assertEquals(PhoneNumberType.FIXED_LINE_OR_MOBILE, phoneUtil.getNumberType(US_NUMBER)); in testIsFixedLineAndMobile()
1191 PhoneNumberType.FIXED_LINE_OR_MOBILE, phoneUtil.getNumberType(fixedLineAndMobileNumber)); in testIsFixedLineAndMobile()
1454 assertTrue(phoneUtil.isPossibleNumberForType(number, PhoneNumberType.FIXED_LINE_OR_MOBILE)); in testIsPossibleNumberForType_NumberTypeNotSupportedForRegion()
1461 assertFalse(phoneUtil.isPossibleNumberForType(number, PhoneNumberType.FIXED_LINE_OR_MOBILE)); in testIsPossibleNumberForType_NumberTypeNotSupportedForRegion()
1617 phoneUtil.isPossibleNumberForTypeWithReason(number, PhoneNumberType.FIXED_LINE_OR_MOBILE)); in testIsPossibleNumberForTypeWithReason_NumberTypeNotSupportedForRegion()
1625 phoneUtil.isPossibleNumberForTypeWithReason(number, PhoneNumberType.FIXED_LINE_OR_MOBILE)); in testIsPossibleNumberForTypeWithReason_NumberTypeNotSupportedForRegion()
[all...]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
H A DRangesTableSchema.java110 /** Maps to {@link ValidNumberType#FIXED_LINE_OR_MOBILE}. */
111 FIXED_LINE_OR_MOBILE, enum constant
131 ExtType.FIXED_LINE_OR_MOBILE,
H A DNumberingScheme.java566 regionTable.getRanges(XmlRangesSchema.TYPE, ValidNumberType.FIXED_LINE_OR_MOBILE)); in checkExampleNumbers()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
H A DCsvTableTest.java24 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.ExtType.FIXED_LINE_OR_MOBILE;
76 .apply(row(columns, key("2x[34]", 7, 8), FIXED_LINE_OR_MOBILE, 0, true, null, "Foo Bar")) in testRangeTableExport()
84 "2x[34] ; 7,8 ; FIXED_LINE_OR_MOBILE ; 0 ; \"CA\" ; \"Foo Bar\"", in testRangeTableExport()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DPhoneNumberUtil.java91 // fixed-line or mobile numbers, are not listed here, since we consider FIXED_LINE_OR_MOBILE to be
478 FIXED_LINE_OR_MOBILE, enum constant
1112 if (type == PhoneNumberType.FIXED_LINE_OR_MOBILE || type == PhoneNumberType.UNKNOWN) { in getSupportedTypesForMetadata()
1113 // Never return FIXED_LINE_OR_MOBILE (it is a convenience type, and represents that a in getSupportedTypesForMetadata()
1126 * FIXED_LINE_OR_MOBILE (if numbers in this region could be classified as FIXED_LINE_OR_MOBILE,
1142 * has metadata for. Will not include FIXED_LINE_OR_MOBILE (if numbers for this non-geographical
1143 * entity could be classified as FIXED_LINE_OR_MOBILE, both FIXED_LINE and MOBILE would be
1244 || phoneNumberType == PhoneNumberType.FIXED_LINE_OR_MOBILE in isNumberGeographical()
1487 || (numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE); in formatNumberForMobileDialing()
[all...]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
H A Dphonenumberutil.js1064 FIXED_LINE_OR_MOBILE: 2,
1580 if (type == i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE ||
1582 // Never return FIXED_LINE_OR_MOBILE (it is a convenience type, and
1600 * Will not include FIXED_LINE_OR_MOBILE (if numbers for this non-geographical
1601 * entity could be classified as FIXED_LINE_OR_MOBILE, both FIXED_LINE and
1623 * which the library has metadata for. Will not include FIXED_LINE_OR_MOBILE
1624 * (instead both FIXED_LINE and FIXED_LINE_OR_MOBILE (if numbers for this
1625 * non-geographical entity could be classified as FIXED_LINE_OR_MOBILE, both
1718 numberType == i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE ||
2060 (numberType == i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE);
[all...]
H A Dphonenumberutil_test.js497 // In the US, many numbers are classified as FIXED_LINE_OR_MOBILE; but we
503 assertFalse(types.includes(PNT.FIXED_LINE_OR_MOBILE));
564 // Should return the same response if asked for FIXED_LINE_OR_MOBILE too.
566 RegionCode.DE, PNT.FIXED_LINE_OR_MOBILE)));
1660 assertEquals(PNT.FIXED_LINE_OR_MOBILE, phoneUtil.getNumberType(US_NUMBER));
1667 PNT.FIXED_LINE_OR_MOBILE,
1993 phoneUtil.isPossibleNumberForType(number, PNT.FIXED_LINE_OR_MOBILE));
2002 phoneUtil.isPossibleNumberForType(number, PNT.FIXED_LINE_OR_MOBILE));
2189 number, PNT.FIXED_LINE_OR_MOBILE));
2199 number, PNT.FIXED_LINE_OR_MOBILE));
[all...]
H A Ddemo.js184 case i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:
185 return 'FIXED_LINE_OR_MOBILE';
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dphonenumberutil_test.cc219 // In the US, many numbers are classified as FIXED_LINE_OR_MOBILE; but we in TEST_F()
225 EXPECT_EQ(types.find(PhoneNumberUtil::FIXED_LINE_OR_MOBILE), types.end()); in TEST_F()
424 // Should return the same response if asked for FIXED_LINE_OR_MOBILE too. in TEST_F()
426 RegionCode::DE(), PhoneNumberUtil::FIXED_LINE_OR_MOBILE, &test_number); in TEST_F()
1967 number, PhoneNumberUtil::FIXED_LINE_OR_MOBILE)); in TEST_F()
1978 number, PhoneNumberUtil::FIXED_LINE_OR_MOBILE)); in TEST_F()
2165 number, PhoneNumberUtil::FIXED_LINE_OR_MOBILE)); in TEST_F()
2173 number, PhoneNumberUtil::FIXED_LINE_OR_MOBILE)); in TEST_F()
2185 number, PhoneNumberUtil::FIXED_LINE_OR_MOBILE)); in TEST_F()
2202 number, PhoneNumberUtil::FIXED_LINE_OR_MOBILE)); in TEST_F()
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumberutil.cc149 case PhoneNumberUtil::FIXED_LINE_OR_MOBILE: in GetNumberDescByType()
391 if (type == PhoneNumberUtil::FIXED_LINE_OR_MOBILE || in GetSupportedTypesForMetadata()
393 // Never return FIXED_LINE_OR_MOBILE (it is a convenience type, and in GetSupportedTypesForMetadata()
423 if (type == PhoneNumberUtil::FIXED_LINE_OR_MOBILE) { in TestNumberLength()
1305 (number_type == FIXED_LINE_OR_MOBILE); in FormatNumberForMobileDialing()
2506 phone_number_type == PhoneNumberUtil::FIXED_LINE_OR_MOBILE || in IsNumberGeographical()
2593 return PhoneNumberUtil::FIXED_LINE_OR_MOBILE; in GetNumberTypeHelper()
2597 return PhoneNumberUtil::FIXED_LINE_OR_MOBILE; in GetNumberTypeHelper()
H A Dphonenumberutil.h100 FIXED_LINE_OR_MOBILE, enumerator
196 // Will not include FIXED_LINE_OR_MOBILE (if numbers for this non-geographical
197 // entity could be classified as FIXED_LINE_OR_MOBILE, both FIXED_LINE and
206 // which the library has metadata for. Will not include FIXED_LINE_OR_MOBILE
207 // (instead both FIXED_LINE and FIXED_LINE_OR_MOBILE (if numbers for this
208 // non-geographical entity could be classified as FIXED_LINE_OR_MOBILE, both

Completed in 25 milliseconds