Home
last modified time | relevance | path

Searched refs:PREMIUM_RATE (Results 1 – 23 of 23) sorted by relevance

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dshortnumberinfo.js78 PREMIUM_RATE: 2, property
274 return ShortNumberCost.PREMIUM_RATE;
335 case ShortNumberCost.PREMIUM_RATE:
336 return ShortNumberCost.PREMIUM_RATE;
447 case ShortNumberCost.PREMIUM_RATE:
Dshortnumberinfo_test.js127 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,
Ddemo.js177 case i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:
Dphonenumberutil_test.js512 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));
Dphonenumberutil.js993 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/
DShortNumberInfo.java66 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()
DPhoneNumberUtil.java464 PREMIUM_RATE, enumConstant
2194 case PREMIUM_RATE:
2242 return PhoneNumberType.PREMIUM_RATE;
/third_party/libphonenumber/cpp/src/phonenumbers/
Dshortnumberinfo.cc208 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()
Dshortnumberinfo.h52 PREMIUM_RATE, enumerator
Dphonenumberutil.h99 PREMIUM_RATE, enumerator
Dphonenumberutil.cc140 case PhoneNumberUtil::PREMIUM_RATE: in GetNumberDescByType()
2525 return PhoneNumberUtil::PREMIUM_RATE; in GetNumberTypeHelper()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DShortNumberInfoTest.java91 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()
DExampleNumbersTest.java105 Set<PhoneNumberType> premiumRateTypes = EnumSet.of(PhoneNumberType.PREMIUM_RATE); in testPremiumRate()
106 checkNumbersValidAndCorrectType(PhoneNumberType.PREMIUM_RATE, premiumRateTypes); in testPremiumRate()
DPhoneNumberUtilTest.java192 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/
Dshortnumberinfo_test.cc139 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()
Dphonenumberutil_test.cc230 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/
DRangeTableTest.java22 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()
DCsvTableTest.java94 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/
DTypes.java26 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/
DRangesTableSchema.java156 PREMIUM_RATE; enumConstant
159 Stream.of(ExtTariff.TOLL_FREE, ExtTariff.SHARED_COST, ExtTariff.PREMIUM_RATE)
DShortcodesTableSchema.java142 Stream.of(ExtTariff.TOLL_FREE, ExtTariff.STANDARD_RATE, ExtTariff.PREMIUM_RATE)
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java82 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/
Dtypes.proto53 PREMIUM_RATE = 6; enumerator