/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | ShortNumberInfoTest.java | 109 ShortNumberInfo.ShortNumberCost.TOLL_FREE); in testGetExpectedCost() 110 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testGetExpectedCost() 114 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testGetExpectedCost() 127 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testGetExpectedCost() 132 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testGetExpectedCost() 187 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, shortInfo.getExpectedCostForRegion( in testGetExpectedCostForSharedCountryCallingCode() 327 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testEmergencyNumberForSharedCountryCallingCode() 331 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testEmergencyNumberForSharedCountryCallingCode() 336 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testEmergencyNumberForSharedCountryCallingCode() 344 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testOverlappingNANPANumber() [all …]
|
D | ExampleNumbersTest.java | 98 Set<PhoneNumberType> tollFreeTypes = EnumSet.of(PhoneNumberType.TOLL_FREE); in testTollFree() 99 checkNumbersValidAndCorrectType(PhoneNumberType.TOLL_FREE, tollFreeTypes); in testTollFree() 253 != ShortNumberInfo.ShortNumberCost.TOLL_FREE) { in testEmergency()
|
D | PhoneNumberUtilTest.java | 1145 assertEquals(PhoneNumberType.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); in testIsTollFree() 1149 assertEquals(PhoneNumberType.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); in testIsTollFree() 1153 assertEquals(PhoneNumberType.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); in testIsTollFree() 1157 assertEquals(PhoneNumberType.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); in testIsTollFree() 1159 assertEquals(PhoneNumberType.TOLL_FREE, phoneUtil.getNumberType(INTERNATIONAL_TOLL_FREE)); in testIsTollFree() 1393 assertFalse(phoneUtil.isPossibleNumberForType(number, PhoneNumberType.TOLL_FREE)); in testIsPossibleNumberForType_DifferentTypeLengths() 1400 assertFalse(phoneUtil.isPossibleNumberForType(number, PhoneNumberType.TOLL_FREE)); in testIsPossibleNumberForType_DifferentTypeLengths() 1407 assertTrue(phoneUtil.isPossibleNumberForType(number, PhoneNumberType.TOLL_FREE)); in testIsPossibleNumberForType_DifferentTypeLengths() 1415 assertFalse(phoneUtil.isPossibleNumberForType(number, PhoneNumberType.TOLL_FREE)); in testIsPossibleNumberForType_DifferentTypeLengths() 1514 phoneUtil.isPossibleNumberForTypeWithReason(number, PhoneNumberType.TOLL_FREE)); in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths() [all …]
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | shortnumberinfo_test.cc | 167 RegionCode::FR(), ShortNumberInfo::TOLL_FREE); in TEST_F() 168 EXPECT_EQ(ShortNumberInfo::TOLL_FREE, in TEST_F() 176 EXPECT_EQ(ShortNumberInfo::TOLL_FREE, in TEST_F() 194 ShortNumberInfo::TOLL_FREE, in TEST_F() 201 EXPECT_EQ(ShortNumberInfo::TOLL_FREE, in TEST_F() 283 ShortNumberInfo::TOLL_FREE, in TEST_F() 449 ShortNumberInfo::TOLL_FREE, in TEST_F() 457 ShortNumberInfo::TOLL_FREE, in TEST_F() 465 EXPECT_EQ(ShortNumberInfo::TOLL_FREE, in TEST_F() 474 ShortNumberInfo::TOLL_FREE, in TEST_F() [all …]
|
D | phonenumberutil_test.cc | 1867 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::TOLL_FREE)); in TEST_F() 1878 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::TOLL_FREE)); in TEST_F() 1889 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::TOLL_FREE)); in TEST_F() 1902 phone_util_.IsPossibleNumberForType(number, PhoneNumberUtil::TOLL_FREE)); in TEST_F() 2046 number, PhoneNumberUtil::TOLL_FREE)); in TEST_F() 2060 number, PhoneNumberUtil::TOLL_FREE)); in TEST_F() 2074 number, PhoneNumberUtil::TOLL_FREE)); in TEST_F() 2090 number, PhoneNumberUtil::TOLL_FREE)); in TEST_F() 2245 number, PhoneNumberUtil::TOLL_FREE)); in TEST_F() 2694 EXPECT_EQ(PhoneNumberUtil::TOLL_FREE, phone_util_.GetNumberType(number)); in TEST_F() [all …]
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | shortnumberinfo_test.js | 155 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE); 157 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE, 164 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE, 183 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE, 191 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE, 269 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE, 420 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE, 427 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE, 435 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE, 444 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE, [all …]
|
D | shortnumberinfo.js | 76 TOLL_FREE: 0, property 282 return ShortNumberCost.TOLL_FREE; 286 return ShortNumberCost.TOLL_FREE; 330 var cost = ShortNumberCost.TOLL_FREE; 345 case ShortNumberCost.TOLL_FREE: 441 case ShortNumberCost.TOLL_FREE:
|
D | phonenumberutil_test.js | 1609 assertEquals(PNT.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); 1614 assertEquals(PNT.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); 1619 assertEquals(PNT.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); 1624 assertEquals(PNT.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); 1626 assertEquals(PNT.TOLL_FREE, phoneUtil.getNumberType(INTERNATIONAL_TOLL_FREE)); 1918 assertFalse(phoneUtil.isPossibleNumberForType(number, PNT.TOLL_FREE)); 1925 assertFalse(phoneUtil.isPossibleNumberForType(number, PNT.TOLL_FREE)); 1932 assertTrue(phoneUtil.isPossibleNumberForType(number, PNT.TOLL_FREE)); 1941 assertFalse(phoneUtil.isPossibleNumberForType(number, PNT.TOLL_FREE)); 2066 phoneUtil.isPossibleNumberForTypeWithReason(number, PNT.TOLL_FREE)); [all …]
|
D | demo.js | 175 case i18n.phonenumbers.PhoneNumberType.TOLL_FREE:
|
D | phonenumberutil.js | 992 TOLL_FREE: 3, property 2859 case i18n.phonenumbers.PhoneNumberType.TOLL_FREE: 2926 return i18n.phonenumbers.PhoneNumberType.TOLL_FREE;
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | ShortNumberInfo.java | 64 TOLL_FREE, enumConstant 274 return ShortNumberCost.TOLL_FREE; in getExpectedCostForRegion() 278 return ShortNumberCost.TOLL_FREE; in getExpectedCostForRegion() 312 ShortNumberCost cost = ShortNumberCost.TOLL_FREE; in getExpectedCost() 326 case TOLL_FREE: in getExpectedCost() 394 case TOLL_FREE: in getExampleShortNumberForCost()
|
D | PhoneNumberUtil.java | 463 TOLL_FREE, enumConstant 2196 case TOLL_FREE: 2245 return PhoneNumberType.TOLL_FREE;
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | shortnumberinfo.cc | 216 return ShortNumberInfo::TOLL_FREE; in GetExpectedCostForRegion() 220 return ShortNumberInfo::TOLL_FREE; in GetExpectedCostForRegion() 236 ShortNumberInfo::ShortNumberCost cost = ShortNumberInfo::TOLL_FREE; in GetExpectedCost() 250 case ShortNumberInfo::TOLL_FREE: in GetExpectedCost() 307 case TOLL_FREE: in GetExampleShortNumberForCost()
|
D | shortnumberinfo.h | 50 TOLL_FREE, enumerator
|
D | phonenumberutil.h | 98 TOLL_FREE, enumerator
|
D | phonenumberutil.cc | 142 case PhoneNumberUtil::TOLL_FREE: in GetNumberDescByType() 2529 return PhoneNumberUtil::TOLL_FREE; in GetNumberTypeHelper()
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
D | RangeTableTest.java | 24 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.TOLL_FREE; 262 .apply(assign(ranges("4xxxx"), TYPE, TOLL_FREE)) in testGetPrefixMap() 275 assertThat(map).containsEntry(TOLL_FREE, PrefixTree.from(ranges("4"))); in testGetPrefixMap() 284 .apply(assign(ranges("4xxxx"), TYPE, TOLL_FREE)) in testGetPrefixMap_minLength() 292 assertThat(map).containsEntry(TOLL_FREE, PrefixTree.from(ranges("4"))); in testGetPrefixMap_minLength()
|
D | CsvTableTest.java | 93 table.put(PhoneRegion.of("US"), ValidNumberType.TOLL_FREE, DigitSequence.of("800123456")); in testExampleNumberExport()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
D | Types.java | 28 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.TOLL_FREE; 67 .put(XML_TOLL_FREE, TOLL_FREE)
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
D | RangesTableSchema.java | 152 TOLL_FREE, enumConstant 159 Stream.of(ExtTariff.TOLL_FREE, ExtTariff.SHARED_COST, ExtTariff.PREMIUM_RATE)
|
D | ShortcodesTableSchema.java | 142 Stream.of(ExtTariff.TOLL_FREE, ExtTariff.STANDARD_RATE, ExtTariff.PREMIUM_RATE)
|
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/ |
D | BuildMetadataFromXml.java | 87 private static final String TOLL_FREE = "tollFree"; field in BuildMetadataFromXml 513 metadata.setTollFree(processPhoneNumberDescElement(generalDesc, element, TOLL_FREE)); in setRelevantDescPatterns() 522 metadata.setTollFree(processPhoneNumberDescElement(generalDesc, element, TOLL_FREE)); in setRelevantDescPatterns()
|
/third_party/libphonenumber/metadata/src/main/proto/ |
D | types.proto | 52 TOLL_FREE = 5; enumerator
|