Home
last modified time | relevance | path

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

/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DShortNumberInfoTest.java65 RegionCode.FR, ShortNumberInfo.ShortNumberCost.PREMIUM_RATE); in testGetExpectedCost()
66 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, in testGetExpectedCost()
70 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, in testGetExpectedCost()
74 RegionCode.FR, ShortNumberInfo.ShortNumberCost.STANDARD_RATE); in testGetExpectedCost()
75 assertEquals(ShortNumberInfo.ShortNumberCost.STANDARD_RATE, in testGetExpectedCost()
79 assertEquals(ShortNumberInfo.ShortNumberCost.STANDARD_RATE, in testGetExpectedCost()
83 RegionCode.FR, ShortNumberInfo.ShortNumberCost.TOLL_FREE); in testGetExpectedCost()
84 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testGetExpectedCost()
88 assertEquals(ShortNumberInfo.ShortNumberCost.TOLL_FREE, in testGetExpectedCost()
91 assertEquals(ShortNumberInfo.ShortNumberCost.UNKNOWN_COST, in testGetExpectedCost()
[all …]
DExampleNumbersTest.java198 for (ShortNumberInfo.ShortNumberCost cost : ShortNumberInfo.ShortNumberCost.values()) { in testShortNumbersValidAndCorrectCost()
225 ShortNumberInfo.ShortNumberCost.TOLL_FREE) { in testEmergency()
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DShortNumberInfo.java56 public enum ShortNumberCost { enum in ShortNumberInfo
187 public ShortNumberCost getExpectedCostForRegion(String shortNumber, String regionDialingFrom) { in getExpectedCostForRegion()
192 return ShortNumberCost.UNKNOWN_COST; in getExpectedCostForRegion()
198 return ShortNumberCost.PREMIUM_RATE; in getExpectedCostForRegion()
201 return ShortNumberCost.STANDARD_RATE; in getExpectedCostForRegion()
204 return ShortNumberCost.TOLL_FREE; in getExpectedCostForRegion()
208 return ShortNumberCost.TOLL_FREE; in getExpectedCostForRegion()
210 return ShortNumberCost.UNKNOWN_COST; in getExpectedCostForRegion()
234 public ShortNumberCost getExpectedCost(PhoneNumber number) { in getExpectedCost()
237 return ShortNumberCost.UNKNOWN_COST; in getExpectedCost()
[all …]
DShortNumberUtil.java35 public enum ShortNumberCost { enum in ShortNumberUtil