/third_party/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberToCarrierMapper.java | 119 || numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE in isMobile()
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
H A D | ExampleNumbersTest.java | 52 * 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 D | PhoneNumberUtilTest.java | 176 // 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 D | RangesTableSchema.java | 110 /** Maps to {@link ValidNumberType#FIXED_LINE_OR_MOBILE}. */ 111 FIXED_LINE_OR_MOBILE, enum constant 131 ExtType.FIXED_LINE_OR_MOBILE,
|
H A D | NumberingScheme.java | 566 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 D | CsvTableTest.java | 24 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 D | PhoneNumberUtil.java | 91 // 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 D | phonenumberutil.js | 1064 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 D | phonenumberutil_test.js | 497 // 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 D | demo.js | 184 case i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE: 185 return 'FIXED_LINE_OR_MOBILE';
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | phonenumberutil_test.cc | 219 // 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 D | phonenumberutil.cc | 149 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 D | phonenumberutil.h | 100 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
|