/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
D | RangeTableTest.java | 20 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.FIXED_LINE; 88 Assignment<ValidNumberType> fixedLine = Assignment.of(TYPE, FIXED_LINE); in testBasicAssign() 93 assertThat(table.getRanges(TYPE, FIXED_LINE)).isEqualTo(ranges("14xxxx")); in testBasicAssign() 98 assertThat(table.getRanges(TYPE, FIXED_LINE)).isEqualTo(ranges("1[34]xxxx")); in testBasicAssign() 107 assertThat(table.getRanges(TYPE, FIXED_LINE)).isEqualTo(ranges("1[3-5]xxxx")); in testBasicAssign() 128 .apply(assign(ranges("[1-3]xxxxxx"), TYPE, FIXED_LINE)) in testApplyChanges() 137 assertThat(table).assigned(TYPE, FIXED_LINE).containsExactly("[1-3]xxxxxx"); in testApplyChanges() 196 .apply(assign(ranges("[24]xxxxxx"), TYPE, FIXED_LINE)) in testTableImportExport() 205 assertThat(exported).containsCell(assigned("2xxxxxx", TYPE, FIXED_LINE)); in testTableImportExport() 209 assertThat(exported).containsCell(assigned("4xxxxxx", TYPE, FIXED_LINE)); in testTableImportExport() [all …]
|
D | ColumnTest.java | 19 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.FIXED_LINE; 80 assertThat(column.cast(FIXED_LINE)).isEqualTo(FIXED_LINE); in testEnumColumn() 84 assertThat(column.parse("FIXED_LINE")).isEqualTo(FIXED_LINE); in testEnumColumn() 85 assertThat(column.parse("fixed_line")).isEqualTo(FIXED_LINE); in testEnumColumn() 86 assertThat(column.parse("fixedLine")).isEqualTo(FIXED_LINE); in testEnumColumn()
|
D | CsvTableTest.java | 23 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.ExtType.FIXED_LINE; 77 .apply(row(columns, key("345", 8), FIXED_LINE, 3, true, null)) in testRangeTableExport() 78 .apply(row(columns, key("456x8", 8), FIXED_LINE, 3, null, true)) in testRangeTableExport()
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 167 .contains(PhoneNumberType.FIXED_LINE)); in testGetSupportedTypesForRegion() 177 .contains(PhoneNumberType.FIXED_LINE)); in testGetSupportedTypesForRegion() 403 DE_NUMBER, phoneUtil.getExampleNumberForType(RegionCode.DE, PhoneNumberType.FIXED_LINE)); in testGetExampleNumber() 407 assertNotNull(phoneUtil.getExampleNumberForType(RegionCode.US, PhoneNumberType.FIXED_LINE)); in testGetExampleNumber() 436 assertNotNull(phoneUtil.getExampleNumberForType(PhoneNumberType.FIXED_LINE)); in testGetExampleNumberWithoutRegion() 1174 assertEquals(PhoneNumberType.FIXED_LINE, phoneUtil.getNumberType(BS_NUMBER)); in testIsFixedLine() 1175 assertEquals(PhoneNumberType.FIXED_LINE, phoneUtil.getNumberType(IT_NUMBER)); in testIsFixedLine() 1176 assertEquals(PhoneNumberType.FIXED_LINE, phoneUtil.getNumberType(GB_NUMBER)); in testIsFixedLine() 1177 assertEquals(PhoneNumberType.FIXED_LINE, phoneUtil.getNumberType(DE_NUMBER)); in testIsFixedLine() 1383 assertFalse(phoneUtil.isPossibleNumberForType(number, PhoneNumberType.FIXED_LINE)); in testIsPossibleNumberForType_DifferentTypeLengths() [all …]
|
D | ExampleNumbersTest.java | 82 Set<PhoneNumberType> fixedLineTypes = EnumSet.of(PhoneNumberType.FIXED_LINE, in testFixedLine() 84 checkNumbersValidAndCorrectType(PhoneNumberType.FIXED_LINE, fixedLineTypes); in testFixedLine()
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonenumberutil_test.js | 487 assertTrue(types.includes(PNT.FIXED_LINE)); 497 assertTrue(types.includes(PNT.FIXED_LINE)); 558 phoneUtil.getExampleNumberForType(RegionCode.DE, PNT.FIXED_LINE))); 567 phoneUtil.getExampleNumberForType(RegionCode.US, PNT.FIXED_LINE)); 1645 assertEquals(PNT.FIXED_LINE, phoneUtil.getNumberType(BS_NUMBER)); 1646 assertEquals(PNT.FIXED_LINE, phoneUtil.getNumberType(IT_NUMBER)); 1647 assertEquals(PNT.FIXED_LINE, phoneUtil.getNumberType(GB_NUMBER)); 1648 assertEquals(PNT.FIXED_LINE, phoneUtil.getNumberType(DE_NUMBER)); 1908 assertFalse(phoneUtil.isPossibleNumberForType(number, PNT.FIXED_LINE)); 1914 assertTrue(phoneUtil.isPossibleNumberForType(number, PNT.FIXED_LINE)); [all …]
|
D | phonenumberutil.js | 986 FIXED_LINE: 0, property 1643 return numberType == i18n.phonenumbers.PhoneNumberType.FIXED_LINE || 1984 (numberType == i18n.phonenumbers.PhoneNumberType.FIXED_LINE) || 1989 numberType == i18n.phonenumbers.PhoneNumberType.FIXED_LINE) { 2739 i18n.phonenumbers.PhoneNumberType.FIXED_LINE); 2863 case i18n.phonenumbers.PhoneNumberType.FIXED_LINE: 2958 return i18n.phonenumbers.PhoneNumberType.FIXED_LINE; 3434 metadata, i18n.phonenumbers.PhoneNumberType.FIXED_LINE))) {
|
D | demo.js | 169 case i18n.phonenumbers.PhoneNumberType.FIXED_LINE:
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | phonenumberutil_test.cc | 202 EXPECT_NE(types.find(PhoneNumberUtil::FIXED_LINE), types.end()); in TEST_F() 213 EXPECT_NE(types.find(PhoneNumberUtil::FIXED_LINE), types.end()); in TEST_F() 410 RegionCode::DE(), PhoneNumberUtil::FIXED_LINE, &test_number); in TEST_F() 430 RegionCode::US(), PhoneNumberUtil::FIXED_LINE, &test_number); in TEST_F() 492 PhoneNumberUtil::FIXED_LINE, in TEST_F() 1852 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::FIXED_LINE)); in TEST_F() 1861 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::FIXED_LINE)); in TEST_F() 1874 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::FIXED_LINE)); in TEST_F() 1885 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::FIXED_LINE)); in TEST_F() 1898 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::FIXED_LINE)); in TEST_F() [all …]
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
D | Types.java | 22 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.FIXED_LINE; 64 .put(XML_FIXED_LINE, FIXED_LINE)
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 457 FIXED_LINE, enumConstant 1226 return phoneNumberType == PhoneNumberType.FIXED_LINE 1471 (numberType == PhoneNumberType.FIXED_LINE) || (numberType == PhoneNumberType.MOBILE) 1474 if (regionCode.equals("CO") && numberType == PhoneNumberType.FIXED_LINE) { 2022 return getExampleNumberForType(regionCode, PhoneNumberType.FIXED_LINE); 2046 PhoneNumberType.FIXED_LINE); 2200 case FIXED_LINE: 2273 return PhoneNumberType.FIXED_LINE; 2608 if (!descHasPossibleNumberData(getNumberDescByType(metadata, PhoneNumberType.FIXED_LINE))) {
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
D | RangesTableSchema.java | 106 FIXED_LINE, enumConstant 128 ExtType.FIXED_LINE,
|
D | NumberingScheme.java | 557 if (t == ValidNumberType.MOBILE || t == ValidNumberType.FIXED_LINE) { in checkExampleNumbers()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonenumberutil.cc | 146 case PhoneNumberUtil::FIXED_LINE: in GetNumberDescByType() 423 GetNumberDescByType(metadata, PhoneNumberUtil::FIXED_LINE); in TestNumberLength() 1269 (number_type == FIXED_LINE) || (number_type == MOBILE) || in FormatNumberForMobileDialing() 1272 if ((region_code == "CO") && (number_type == FIXED_LINE)) { in FormatNumberForMobileDialing() 1939 return GetExampleNumberForType(region_code, FIXED_LINE, number); in GetExampleNumber() 1956 GetNumberDescByType(*region_metadata, FIXED_LINE); in GetInvalidExampleNumber() 2474 return phone_number_type == PhoneNumberUtil::FIXED_LINE || in IsNumberGeographical() 2569 return PhoneNumberUtil::FIXED_LINE; in GetNumberTypeHelper()
|
D | phonenumberutil.h | 92 FIXED_LINE, enumerator
|
/third_party/libphonenumber/metadata/src/main/proto/ |
D | types.proto | 48 FIXED_LINE = 1; enumerator
|
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/ |
D | BuildMetadataFromXml.java | 56 private static final String FIXED_LINE = "fixedLine"; field in BuildMetadataFromXml 496 metadata.setFixedLine(processPhoneNumberDescElement(generalDesc, element, FIXED_LINE)); in setRelevantDescPatterns()
|
/third_party/libphonenumber/ |
D | FAQ.md | 148 `FIXED_LINE` number for a business matches the country it is in, to try and spot
|