Searched refs:ShortNumberInfo (Results 1 – 5 of 5) sorted by relevance
27 private static final ShortNumberInfo shortInfo = ShortNumberInfo.getInstance();84 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()[all …]
41 private ShortNumberInfo shortNumberInfo = ShortNumberInfo.getInstance();217 for (ShortNumberInfo.ShortNumberCost cost : ShortNumberInfo.ShortNumberCost.values()) { in testShortNumbersValidAndCorrectCost()221 ShortNumberInfo.ShortNumberCost exampleShortNumberCost = in testShortNumbersValidAndCorrectCost()250 != ShortNumberInfo.ShortNumberCost.TOLL_FREE) { in testEmergency()
43 public class ShortNumberInfo { class44 private static final Logger logger = Logger.getLogger(ShortNumberInfo.class.getName());46 private static final ShortNumberInfo INSTANCE =47 new ShortNumberInfo(RegexBasedMatcher.create());68 public static ShortNumberInfo getInstance() { in getInstance()83 ShortNumberInfo(MatcherApi matcherApi) { in ShortNumberInfo() method in ShortNumberInfo
32 import com.google.i18n.phonenumbers.ShortNumberInfo;63 private ShortNumberInfo shortInfo = ShortNumberInfo.getInstance();
504 - New APIs for ShortNumberInfo. The old APIs have been deprecated and will be665 - Adding more functionality to ShortNumberInfo -> such as getExpectedCostForRegion.768 - Renamed ShortNumberUtil to ShortNumberInfo -> the former class is now deprecated and will be769 deleted in a later release. At the moment it just delegates to ShortNumberInfo.770 - New methods in the ShortNumberInfo API - isCarrierSpecific, singleton interface,