Home
last modified time | relevance | path

Searched refs:ShortNumberCost (Results 1 – 7 of 7) sorted by relevance

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dshortnumberinfo.js75 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost = {
258 var ShortNumberCost = i18n.phonenumbers.ShortNumberInfo.ShortNumberCost;
260 return ShortNumberCost.UNKNOWN_COST;
264 return ShortNumberCost.UNKNOWN_COST;
270 return ShortNumberCost.UNKNOWN_COST;
274 return ShortNumberCost.PREMIUM_RATE;
278 return ShortNumberCost.STANDARD_RATE;
282 return ShortNumberCost.TOLL_FREE;
286 return ShortNumberCost.TOLL_FREE;
288 return ShortNumberCost.UNKNOWN_COST;
[all …]
Dshortnumberinfo_test.js127 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.PREMIUM_RATE);
129 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.PREMIUM_RATE,
136 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.PREMIUM_RATE,
141 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.STANDARD_RATE);
143 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.STANDARD_RATE,
150 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.STANDARD_RATE,
155 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE);
157 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE,
164 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.TOLL_FREE,
168 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost.UNKNOWN_COST,
[all …]
/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()
100 ShortNumberInfo.ShortNumberCost.STANDARD_RATE); in testGetExpectedCost()
101 assertEquals(ShortNumberInfo.ShortNumberCost.STANDARD_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCost()
105 assertEquals(ShortNumberInfo.ShortNumberCost.STANDARD_RATE, in testGetExpectedCost()
109 ShortNumberInfo.ShortNumberCost.TOLL_FREE); in testGetExpectedCost()
110 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testGetExpectedCost()
114 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testGetExpectedCost()
117 assertEquals(ShortNumberInfo.ShortNumberCost.UNKNOWN_COST, in testGetExpectedCost()
[all …]
DExampleNumbersTest.java221 for (ShortNumberInfo.ShortNumberCost cost : ShortNumberInfo.ShortNumberCost.values()) { in testShortNumbersValidAndCorrectCost()
225 ShortNumberInfo.ShortNumberCost exampleShortNumberCost = in testShortNumbersValidAndCorrectCost()
253 != ShortNumberInfo.ShortNumberCost.TOLL_FREE) { in testEmergency()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java63 public enum ShortNumberCost { enum in ShortNumberInfo
246 public ShortNumberCost getExpectedCostForRegion(PhoneNumber number, String regionDialingFrom) { in getExpectedCostForRegion()
248 return ShortNumberCost.UNKNOWN_COST; in getExpectedCostForRegion()
253 return ShortNumberCost.UNKNOWN_COST; in getExpectedCostForRegion()
262 return ShortNumberCost.UNKNOWN_COST; in getExpectedCostForRegion()
268 return ShortNumberCost.PREMIUM_RATE; in getExpectedCostForRegion()
271 return ShortNumberCost.STANDARD_RATE; in getExpectedCostForRegion()
274 return ShortNumberCost.TOLL_FREE; in getExpectedCostForRegion()
278 return ShortNumberCost.TOLL_FREE; in getExpectedCostForRegion()
280 return ShortNumberCost.UNKNOWN_COST; in getExpectedCostForRegion()
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/
Dshortnumberinfo.h49 enum ShortNumberCost { enum
100 ShortNumberCost GetExpectedCostForRegion(
120 ShortNumberCost GetExpectedCost(const PhoneNumber& number) const;
127 ShortNumberCost cost) const;
Dshortnumberinfo.cc179 ShortNumberInfo::ShortNumberCost ShortNumberInfo::GetExpectedCostForRegion( in GetExpectedCostForRegion()
225 ShortNumberInfo::ShortNumberCost ShortNumberInfo::GetExpectedCost( in GetExpectedCost()
236 ShortNumberInfo::ShortNumberCost cost = ShortNumberInfo::TOLL_FREE; in GetExpectedCost()
238 ShortNumberInfo::ShortNumberCost cost_for_region = in GetExpectedCost()
300 ShortNumberInfo::ShortNumberCost cost) const { in GetExampleShortNumberForCost()