Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DShortNumberInfoTest.java84 ShortNumberInfo.ShortNumberCost.PREMIUM_RATE); in testGetExpectedCost()
85 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCost()
89 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, in testGetExpectedCost()
93 ShortNumberInfo.ShortNumberCost.STANDARD_RATE); in testGetExpectedCost()
94 assertEquals(ShortNumberInfo.ShortNumberCost.STANDARD_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCost()
98 assertEquals(ShortNumberInfo.ShortNumberCost.STANDARD_RATE, in testGetExpectedCost()
102 ShortNumberInfo.ShortNumberCost.TOLL_FREE); in testGetExpectedCost()
103 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testGetExpectedCost()
107 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testGetExpectedCost()
110 assertEquals(ShortNumberInfo.ShortNumberCost.UNKNOWN_COST, in testGetExpectedCost()
[all …]
DExampleNumbersTest.java217 for (ShortNumberInfo.ShortNumberCost cost : ShortNumberInfo.ShortNumberCost.values()) { in testShortNumbersValidAndCorrectCost()
221 ShortNumberInfo.ShortNumberCost exampleShortNumberCost = in testShortNumbersValidAndCorrectCost()
250 != ShortNumberInfo.ShortNumberCost.TOLL_FREE) { in testEmergency()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java60 public enum ShortNumberCost { enum in ShortNumberInfo
226 public ShortNumberCost getExpectedCostForRegion(PhoneNumber number, String regionDialingFrom) { in getExpectedCostForRegion()
228 return ShortNumberCost.UNKNOWN_COST; in getExpectedCostForRegion()
234 return ShortNumberCost.UNKNOWN_COST; in getExpectedCostForRegion()
243 return ShortNumberCost.UNKNOWN_COST; in getExpectedCostForRegion()
249 return ShortNumberCost.PREMIUM_RATE; in getExpectedCostForRegion()
252 return ShortNumberCost.STANDARD_RATE; in getExpectedCostForRegion()
255 return ShortNumberCost.TOLL_FREE; in getExpectedCostForRegion()
259 return ShortNumberCost.TOLL_FREE; in getExpectedCostForRegion()
261 return ShortNumberCost.UNKNOWN_COST; in getExpectedCostForRegion()
[all …]