Searched refs:ShortNumberCost (Results 1 – 7 of 7) sorted by relevance
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | shortnumberinfo.js | 75 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 …]
|
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, 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/ |
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() 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 …]
|
D | ExampleNumbersTest.java | 221 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/ |
D | ShortNumberInfo.java | 63 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/ |
D | shortnumberinfo.h | 49 enum ShortNumberCost { enum 100 ShortNumberCost GetExpectedCostForRegion( 120 ShortNumberCost GetExpectedCost(const PhoneNumber& number) const; 127 ShortNumberCost cost) const;
|
D | shortnumberinfo.cc | 179 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()
|