Home
last modified time | relevance | path

Searched refs:getExpectedCostForRegion (Results 1 – 6 of 6) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DShortNumberInfoTest.java92 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCost()
101 assertEquals(ShortNumberInfo.ShortNumberCost.STANDARD_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCost()
111 shortInfo.getExpectedCostForRegion(parse(tollFreeExample, RegionCode.FR), RegionCode.FR)); in testGetExpectedCost()
118 shortInfo.getExpectedCostForRegion(parse("12345", RegionCode.FR), RegionCode.FR)); in testGetExpectedCost()
128 shortInfo.getExpectedCostForRegion(parse("116123", RegionCode.FR), RegionCode.FR)); in testGetExpectedCost()
137 shortInfo.getExpectedCostForRegion(parse("911", RegionCode.US), RegionCode.ZZ)); in testGetExpectedCost()
164 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCostForSharedCountryCallingCode()
168 assertEquals(ShortNumberInfo.ShortNumberCost.UNKNOWN_COST, shortInfo.getExpectedCostForRegion( in testGetExpectedCostForSharedCountryCallingCode()
176 assertEquals(ShortNumberInfo.ShortNumberCost.STANDARD_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCostForSharedCountryCallingCode()
180 assertEquals(ShortNumberInfo.ShortNumberCost.UNKNOWN_COST, shortInfo.getExpectedCostForRegion( in testGetExpectedCostForSharedCountryCallingCode()
[all …]
DExampleNumbersTest.java226 shortNumberInfo.getExpectedCostForRegion(phoneNumber, regionCode); in testShortNumbersValidAndCorrectCost()
252 } else if (shortNumberInfo.getExpectedCostForRegion(phoneNumber, regionCode) in testEmergency()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dshortnumberinfo_test.js130 shortInfo.getExpectedCostForRegion(
144 shortInfo.getExpectedCostForRegion(
158 shortInfo.getExpectedCostForRegion(
169 shortInfo.getExpectedCostForRegion(
184 shortInfo.getExpectedCostForRegion(
197 shortInfo.getExpectedCostForRegion(
232 shortInfo.getExpectedCostForRegion(
240 shortInfo.getExpectedCostForRegion(
252 shortInfo.getExpectedCostForRegion(
260 shortInfo.getExpectedCostForRegion(
[all …]
Dshortnumberinfo.js256 i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCostForRegion = method in i18n.phonenumbers.ShortNumberInfo
328 return this.getExpectedCostForRegion(number, regionCodes[0]);
333 var costForRegion = this.getExpectedCostForRegion(number, regionCode);
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java246 public ShortNumberCost getExpectedCostForRegion(PhoneNumber number, String regionDialingFrom) { in getExpectedCostForRegion() method in ShortNumberInfo
310 return getExpectedCostForRegion(number, regionCodes.get(0)); in getExpectedCost()
314 ShortNumberCost costForRegion = getExpectedCostForRegion(number, regionCode); in getExpectedCost()
/third_party/libphonenumber/
Drelease_notes.txt2072 - Adding more functionality to ShortNumberInfo -> such as getExpectedCostForRegion.