Searched refs:getExpectedCostForRegion (Results 1 – 4 of 4) sorted by relevance
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | ShortNumberInfoTest.java | 85 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCost() 94 assertEquals(ShortNumberInfo.ShortNumberCost.STANDARD_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCost() 104 shortInfo.getExpectedCostForRegion(parse(tollFreeExample, RegionCode.FR), RegionCode.FR)); in testGetExpectedCost() 111 shortInfo.getExpectedCostForRegion(parse("12345", RegionCode.FR), RegionCode.FR)); in testGetExpectedCost() 121 shortInfo.getExpectedCostForRegion(parse("116123", RegionCode.FR), RegionCode.FR)); in testGetExpectedCost() 130 shortInfo.getExpectedCostForRegion(parse("911", RegionCode.US), RegionCode.ZZ)); in testGetExpectedCost() 157 assertEquals(ShortNumberInfo.ShortNumberCost.PREMIUM_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCostForSharedCountryCallingCode() 161 assertEquals(ShortNumberInfo.ShortNumberCost.UNKNOWN_COST, shortInfo.getExpectedCostForRegion( in testGetExpectedCostForSharedCountryCallingCode() 169 assertEquals(ShortNumberInfo.ShortNumberCost.STANDARD_RATE, shortInfo.getExpectedCostForRegion( in testGetExpectedCostForSharedCountryCallingCode() 173 assertEquals(ShortNumberInfo.ShortNumberCost.UNKNOWN_COST, shortInfo.getExpectedCostForRegion( in testGetExpectedCostForSharedCountryCallingCode() [all …]
|
D | ExampleNumbersTest.java | 222 shortNumberInfo.getExpectedCostForRegion(phoneNumber, regionCode); in testShortNumbersValidAndCorrectCost() 249 } else if (shortNumberInfo.getExpectedCostForRegion(phoneNumber, regionCode) in testEmergency()
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | ShortNumberInfo.java | 226 public ShortNumberCost getExpectedCostForRegion(PhoneNumber number, String regionDialingFrom) { in getExpectedCostForRegion() method in ShortNumberInfo 291 return getExpectedCostForRegion(number, regionCodes.get(0)); in getExpectedCost() 295 ShortNumberCost costForRegion = getExpectedCostForRegion(number, regionCode); in getExpectedCost()
|
/external/libphonenumber/ |
D | release_notes.txt | 665 - Adding more functionality to ShortNumberInfo -> such as getExpectedCostForRegion.
|