Home
last modified time | relevance | path

Searched refs:ShortNumberInfo (Results 1 – 5 of 5) sorted by relevance

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DShortNumberInfoTest.java27 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 …]
DExampleNumbersTest.java41 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()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java43 public class ShortNumberInfo { class
44 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
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java32 import com.google.i18n.phonenumbers.ShortNumberInfo;
63 private ShortNumberInfo shortInfo = ShortNumberInfo.getInstance();
/external/libphonenumber/
Drelease_notes.txt504 - New APIs for ShortNumberInfo. The old APIs have been deprecated and will be
665 - Adding more functionality to ShortNumberInfo -> such as getExpectedCostForRegion.
768 - Renamed ShortNumberUtil to ShortNumberInfo -> the former class is now deprecated and will be
769 deleted in a later release. At the moment it just delegates to ShortNumberInfo.
770 - New methods in the ShortNumberInfo API - isCarrierSpecific, singleton interface,