/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | shortnumberinfo.js | 78 PREMIUM_RATE: 2, property 274 return ShortNumberCost.PREMIUM_RATE; 335 case ShortNumberCost.PREMIUM_RATE: 336 return ShortNumberCost.PREMIUM_RATE; 447 case ShortNumberCost.PREMIUM_RATE:
|
D | shortnumberinfo_test.js | 127 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.PREMIUM_RATE); 129 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, 136 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, 231 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, 245 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.PREMIUM_RATE,
|
D | demo.js | 177 case i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:
|
D | phonenumberutil_test.js | 512 assertTrue(types.includes(PNT.PREMIUM_RATE)); 1576 assertEquals(PNT.PREMIUM_RATE, phoneUtil.getNumberType(US_PREMIUM)); 1582 assertEquals(PNT.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); 1587 assertEquals(PNT.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); 1592 assertEquals(PNT.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); 1597 assertEquals(PNT.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); 1599 PNT.PREMIUM_RATE, phoneUtil.getNumberType(UNIVERSAL_PREMIUM_RATE)); 1996 assertTrue(phoneUtil.isPossibleNumberForType(number, PNT.PREMIUM_RATE)); 2227 phoneUtil.isPossibleNumberForTypeWithReason(number, PNT.PREMIUM_RATE));
|
D | phonenumberutil.js | 993 PREMIUM_RATE: 4, property 2857 case i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE: 2923 return i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE;
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | ShortNumberInfo.java | 66 PREMIUM_RATE, enumConstant 268 return ShortNumberCost.PREMIUM_RATE; in getExpectedCostForRegion() 316 case PREMIUM_RATE: in getExpectedCost() 317 return ShortNumberCost.PREMIUM_RATE; in getExpectedCost() 400 case PREMIUM_RATE: in getExampleShortNumberForCost()
|
D | PhoneNumberUtil.java | 464 PREMIUM_RATE, enumConstant 2194 case PREMIUM_RATE: 2242 return PhoneNumberType.PREMIUM_RATE;
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | shortnumberinfo.cc | 208 return ShortNumberInfo::PREMIUM_RATE; in GetExpectedCostForRegion() 241 case ShortNumberInfo::PREMIUM_RATE: in GetExpectedCost() 242 return ShortNumberInfo::PREMIUM_RATE; in GetExpectedCost() 313 case PREMIUM_RATE: in GetExampleShortNumberForCost()
|
D | shortnumberinfo.h | 52 PREMIUM_RATE, enumerator
|
D | phonenumberutil.h | 99 PREMIUM_RATE, enumerator
|
D | phonenumberutil.cc | 140 case PhoneNumberUtil::PREMIUM_RATE: in GetNumberDescByType() 2525 return PhoneNumberUtil::PREMIUM_RATE; in GetNumberTypeHelper()
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | ShortNumberInfoTest.java | 91 ShortNumberInfo.ShortNumberCost.PREMIUM_RATE); in testGetExpectedCost() 92 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCost() 96 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, in testGetExpectedCost() 164 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCostForSharedCountryCallingCode() 171 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, in testGetExpectedCostForSharedCountryCallingCode()
|
D | ExampleNumbersTest.java | 105 Set<PhoneNumberType> premiumRateTypes = EnumSet.of(PhoneNumberType.PREMIUM_RATE); in testPremiumRate() 106 checkNumbersValidAndCorrectType(PhoneNumberType.PREMIUM_RATE, premiumRateTypes); in testPremiumRate()
|
D | PhoneNumberUtilTest.java | 192 assertTrue(typesFor979.contains(PhoneNumberType.PREMIUM_RATE)); in testGetSupportedTypesForNonGeoEntity() 438 assertNotNull(phoneUtil.getExampleNumberForType(PhoneNumberType.PREMIUM_RATE)); in testGetExampleNumberWithoutRegion() 1120 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(US_PREMIUM)); in testIsPremiumRate() 1124 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate() 1128 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate() 1132 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate() 1136 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate() 1138 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(UNIVERSAL_PREMIUM_RATE)); in testIsPremiumRate() 1457 assertTrue(phoneUtil.isPossibleNumberForType(number, PhoneNumberType.PREMIUM_RATE)); in testIsPossibleNumberForType_NumberTypeNotSupportedForRegion() 1651 phoneUtil.isPossibleNumberForTypeWithReason(number, PhoneNumberType.PREMIUM_RATE)); in testIsPossibleNumberForTypeWithReason_NumberTypeNotSupportedForRegion()
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | shortnumberinfo_test.cc | 139 RegionCode::FR(), ShortNumberInfo::PREMIUM_RATE); in TEST_F() 140 EXPECT_EQ(ShortNumberInfo::PREMIUM_RATE, in TEST_F() 148 EXPECT_EQ(ShortNumberInfo::PREMIUM_RATE, in TEST_F() 241 EXPECT_EQ(ShortNumberInfo::PREMIUM_RATE, in TEST_F() 256 EXPECT_EQ(ShortNumberInfo::PREMIUM_RATE, in TEST_F()
|
D | phonenumberutil_test.cc | 230 EXPECT_NE(types.find(PhoneNumberUtil::PREMIUM_RATE), types.end()); in TEST_F() 506 success = phone_util_.GetExampleNumberForType(PhoneNumberUtil::PREMIUM_RATE, in TEST_F() 1964 number, PhoneNumberUtil::PREMIUM_RATE)); in TEST_F() 2189 number, PhoneNumberUtil::PREMIUM_RATE)); in TEST_F() 2667 EXPECT_EQ(PhoneNumberUtil::PREMIUM_RATE, phone_util_.GetNumberType(number)); in TEST_F() 2671 EXPECT_EQ(PhoneNumberUtil::PREMIUM_RATE, phone_util_.GetNumberType(number)); in TEST_F() 2675 EXPECT_EQ(PhoneNumberUtil::PREMIUM_RATE, phone_util_.GetNumberType(number)); in TEST_F() 2679 EXPECT_EQ(PhoneNumberUtil::PREMIUM_RATE, phone_util_.GetNumberType(number)); in TEST_F() 2683 EXPECT_EQ(PhoneNumberUtil::PREMIUM_RATE, phone_util_.GetNumberType(number)); in TEST_F() 2687 EXPECT_EQ(PhoneNumberUtil::PREMIUM_RATE, phone_util_.GetNumberType(number)); in TEST_F()
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
D | RangeTableTest.java | 22 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.PREMIUM_RATE; 263 .apply(assign(ranges("49xxxx"), TYPE, PREMIUM_RATE)) in testGetPrefixMap() 276 assertThat(map).containsEntry(PREMIUM_RATE, PrefixTree.from(ranges("49"))); in testGetPrefixMap() 285 .apply(assign(ranges("49xxxx"), TYPE, PREMIUM_RATE)) in testGetPrefixMap_minLength() 293 assertThat(map).containsEntry(PREMIUM_RATE, PrefixTree.from(ranges("49"))); in testGetPrefixMap_minLength()
|
D | CsvTableTest.java | 94 table.put(PhoneRegion.of("US"), ValidNumberType.PREMIUM_RATE, DigitSequence.of("945123456")); in testExampleNumberExport()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
D | Types.java | 26 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.PREMIUM_RATE; 68 .put(XML_PREMIUM_RATE, PREMIUM_RATE)
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
D | RangesTableSchema.java | 156 PREMIUM_RATE; 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 | 82 private static final String PREMIUM_RATE = "premiumRate"; field in BuildMetadataFromXml 514 metadata.setPremiumRate(processPhoneNumberDescElement(generalDesc, element, PREMIUM_RATE)); in setRelevantDescPatterns() 523 metadata.setPremiumRate(processPhoneNumberDescElement(generalDesc, element, PREMIUM_RATE)); in setRelevantDescPatterns()
|
/third_party/libphonenumber/metadata/src/main/proto/ |
D | types.proto | 53 PREMIUM_RATE = 6; enumerator
|