/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
H A D | RangeTableTest.java | 21 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.MOBILE; 82 table.assign(TYPE, MOBILE, ranges("1[234]xxxx"), OverwriteMode.ALWAYS); in testBasicAssign() 83 assertThat(table.getRanges(TYPE, MOBILE)).isEqualTo(ranges("1[234]xxxx")); in testBasicAssign() 86 assertThat(table.getRanges(TYPE, MOBILE)).isEqualTo(ranges("1[24]xxxx")); in testBasicAssign() 92 assertThat(table.getRanges(TYPE, MOBILE)).isEqualTo(ranges("12xxxx")); in testBasicAssign() 97 assertThat(table.getRanges(TYPE, MOBILE)).isEqualTo(ranges("12xxxx")); in testBasicAssign() 106 assertThat(table.getRanges(TYPE, MOBILE)).isEqualTo(ranges("12xxxx")); in testBasicAssign() 126 ranges("[18]2xxxxx"), ImmutableMap.of(TYPE, MOBILE, AREA_CODE_LENGTH, 3))) in testApplyChanges() 127 .apply(assign(ranges("7xxxxxx"), TYPE, MOBILE)) in testApplyChanges() 138 assertThat(table).assigned(TYPE, MOBILE) in testApplyChanges() [all...] |
H A D | CsvTableTest.java | 25 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.ExtType.MOBILE; 75 .apply(row(columns, key("1", 7), MOBILE, 0, true, true)) in testRangeTableExport() 83 "1 ; 7 ; MOBILE ; 0 ; \"CA,US\"", in testRangeTableExport() 95 table.put(PhoneRegion.of("CA"), ValidNumberType.MOBILE, DigitSequence.of("555123456")); in testExampleNumberExport() 100 "CA ; MOBILE ; \"555123456\"", in testExampleNumberExport() 170 .apply(row(columns, key("4", 4), MOBILE)) in testOrdering() 179 "4 ; 4 ; MOBILE"); in testOrdering() 199 csv.putRow(2, ImmutableMap.of(TYPE, MOBILE)); in testOptionalRowOrdering() 207 "2 ; MOBILE"); in testOptionalRowOrdering()
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | phonenumberutil_test.cc | 214 EXPECT_NE(types.find(PhoneNumberUtil::MOBILE), types.end()); in TEST_F() 221 // and MOBILE are both present. in TEST_F() 224 EXPECT_NE(types.find(PhoneNumberUtil::MOBILE), types.end()); in TEST_F() 241 EXPECT_EQ(types.find(PhoneNumberUtil::MOBILE), types.end()); in TEST_F() 430 RegionCode::DE(), PhoneNumberUtil::MOBILE, &test_number); in TEST_F() 446 RegionCode::US(), PhoneNumberUtil::MOBILE, &test_number); in TEST_F() 453 RegionCode::CS(), PhoneNumberUtil::MOBILE, &test_number)); in TEST_F() 510 success = phone_util_.GetExampleNumberForType(PhoneNumberUtil::MOBILE, in TEST_F() 1880 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::MOBILE)); in TEST_F() 1892 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::MOBILE)); in TEST_F() [all...] |
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberUtilTest.java | 172 .contains(PhoneNumberType.MOBILE)); in testGetSupportedTypesForRegion() 177 // this as a supported type, instead we say FIXED_LINE and MOBILE are both present. in testGetSupportedTypesForRegion() 181 .contains(PhoneNumberType.MOBILE)); in testGetSupportedTypesForRegion() 195 assertFalse(typesFor979.contains(PhoneNumberType.MOBILE)); in testGetSupportedTypesForNonGeoEntity() 410 assertNotNull(phoneUtil.getExampleNumberForType(RegionCode.US, PhoneNumberType.MOBILE)); in testGetExampleNumber() 415 assertNull(phoneUtil.getExampleNumberForType(RegionCode.CS, PhoneNumberType.MOBILE)); in testGetExampleNumber() 439 assertNotNull(phoneUtil.getExampleNumberForType(PhoneNumberType.MOBILE)); in testGetExampleNumberWithoutRegion() 1168 assertEquals(PhoneNumberType.MOBILE, phoneUtil.getNumberType(BS_MOBILE)); in testIsMobile() 1169 assertEquals(PhoneNumberType.MOBILE, phoneUtil.getNumberType(GB_MOBILE)); in testIsMobile() 1170 assertEquals(PhoneNumberType.MOBILE, phoneUti in testIsMobile() [all...] |
H A D | ExampleNumbersTest.java | 90 Set<PhoneNumberType> mobileTypes = EnumSet.of(PhoneNumberType.MOBILE, in testMobile() 92 checkNumbersValidAndCorrectType(PhoneNumberType.MOBILE, mobileTypes); in testMobile()
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
H A D | phonenumberutil_test.js | 493 assertFalse(types.includes(PNT.MOBILE)); 499 // and MOBILE are both present. 502 assertTrue(types.includes(PNT.MOBILE)); 518 assertFalse(types.includes(PNT.MOBILE)); 572 assertNotNull(phoneUtil.getExampleNumberForType(RegionCode.US, PNT.MOBILE)); 574 assertNull(phoneUtil.getExampleNumberForType(RegionCode.CS, PNT.MOBILE)); 1638 assertEquals(PNT.MOBILE, phoneUtil.getNumberType(BS_MOBILE)); 1639 assertEquals(PNT.MOBILE, phoneUtil.getNumberType(GB_MOBILE)); 1640 assertEquals(PNT.MOBILE, phoneUtil.getNumberType(IT_MOBILE)); 1641 assertEquals(PNT.MOBILE, phoneUti [all...] |
H A D | phonenumberutil.js | 1061 MOBILE: 1, 1075 // to either a MOBILE or FIXED_LINE number. Some more information can be found 1440 if (this.getNumberType(number) == i18n.phonenumbers.PhoneNumberType.MOBILE) { 1602 * MOBILE would be present) and UNKNOWN. 1626 * FIXED_LINE and MOBILE would be present) and UNKNOWN. 1721 numberType == i18n.phonenumbers.PhoneNumberType.MOBILE); 2059 (numberType == i18n.phonenumbers.PhoneNumberType.MOBILE) || 2929 case i18n.phonenumbers.PhoneNumberType.MOBILE: 3032 return i18n.phonenumbers.PhoneNumberType.MOBILE; 3507 number, metadata, i18n.phonenumbers.PhoneNumberType.MOBILE); [all...] |
H A D | demo.js | 182 case i18n.phonenumbers.PhoneNumberType.MOBILE: 183 return 'MOBILE'
|
/third_party/protobuf/examples/ |
H A D | list_people.py | 19 if phone_number.type == addressbook_pb2.Person.MOBILE:
|
H A D | ListPeople.java | 21 case MOBILE: in Print()
|
H A D | add_person.py | 33 phone_number.type = addressbook_pb2.Person.MOBILE
|
H A D | list_people.cc | 29 case tutorial::Person::MOBILE: in ListPeople()
|
H A D | add_person.cc | 48 phone_number->set_type(tutorial::Person::MOBILE); in PromptForAddress()
|
H A D | AddPerson.java | 44 phoneNumber.setType(Person.PhoneType.MOBILE); in PromptForAddress()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
H A D | Types.java | 23 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.MOBILE; 61 // FIXED_LINE and MOBILE exist in both types, and can be converted, their semantics change. 65 .put(XML_MOBILE, MOBILE)
|
/third_party/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberToCarrierMapper.java | 118 return (numberType == PhoneNumberType.MOBILE in isMobile()
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberUtil.java | 475 MOBILE, enum constant 489 // MOBILE or FIXED_LINE number. Some more information can be found here: 904 if (type == PhoneNumberType.MOBILE in getLengthOfGeographicalAreaCode() 979 if (getNumberType(number) == PhoneNumberType.MOBILE) { in getLengthOfNationalDestinationCode() 1127 * both FIXED_LINE and MOBILE would be present) and UNKNOWN. 1143 * entity could be classified as FIXED_LINE_OR_MOBILE, both FIXED_LINE and MOBILE would be 1246 && phoneNumberType == PhoneNumberType.MOBILE); in isNumberGeographical() 1486 (numberType == PhoneNumberType.FIXED_LINE) || (numberType == PhoneNumberType.MOBILE) in formatNumberForMobileDialing() 2212 case MOBILE: in getNumberDescByType() 2293 return PhoneNumberType.MOBILE; in getNumberTypeHelper() [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
H A D | RangesTableSchema.java | 108 /** Maps to {@link ValidNumberType#MOBILE}. */ 109 MOBILE, enum constant 130 ExtType.MOBILE,
|
H A D | NumberingScheme.java | 564 if (t == ValidNumberType.MOBILE || t == ValidNumberType.FIXED_LINE) { in checkExampleNumbers()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | phonenumberutil.cc | 146 case PhoneNumberUtil::MOBILE: in GetNumberDescByType() 429 return TestNumberLength(number, metadata, PhoneNumberUtil::MOBILE); in TestNumberLength() 432 GetNumberDescByType(metadata, PhoneNumberUtil::MOBILE); in TestNumberLength() 1304 (number_type == FIXED_LINE) || (number_type == MOBILE) || in FormatNumberForMobileDialing() 2509 phone_number_type == PhoneNumberUtil::MOBILE); in IsNumberGeographical() 2607 return PhoneNumberUtil::MOBILE; in GetNumberTypeHelper() 2643 if (type == PhoneNumberUtil::MOBILE && in GetLengthOfGeographicalAreaCode() 2685 if (GetNumberType(number) == MOBILE) { in GetLengthOfNationalDestinationCode()
|
H A D | phonenumberutil.h | 97 MOBILE, enumerator 111 // routed to either a MOBILE or FIXED_LINE number. Some more information can 198 // MOBILE would be present) and UNKNOWN. 209 // FIXED_LINE and MOBILE would be present) and UNKNOWN.
|
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/ |
H A D | BuildMetadataFromXml.java | 63 private static final String MOBILE = "mobile"; field in BuildMetadataFromXml 497 metadata.setMobile(processPhoneNumberDescElement(generalDesc, element, MOBILE)); in setRelevantDescPatterns()
|
/third_party/FreeBSD/sys/dev/usb/serial/ |
H A D | u3g.c | 297 U3G_DEV(HUAWEI, MOBILE, U3GINIT_HUAWEI),
|