Searched refs:isValidShortNumberForRegion (Results 1 – 4 of 4) sorted by relevance
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | ShortNumberInfoTest.java | 49 assertTrue(shortInfo.isValidShortNumberForRegion(parse("1010", RegionCode.FR), RegionCode.FR)); in testIsValidShortNumber() 53 shortInfo.isValidShortNumberForRegion(parse("123456", RegionCode.FR), RegionCode.FR)); in testIsValidShortNumber() 119 shortInfo.isValidShortNumberForRegion(parse("116123", RegionCode.FR), RegionCode.FR)); in testGetExpectedCost() 155 assertTrue(shortInfo.isValidShortNumberForRegion( in testGetExpectedCostForSharedCountryCallingCode() 159 assertFalse(shortInfo.isValidShortNumberForRegion( in testGetExpectedCostForSharedCountryCallingCode() 167 assertTrue(shortInfo.isValidShortNumberForRegion( in testGetExpectedCostForSharedCountryCallingCode() 171 assertFalse(shortInfo.isValidShortNumberForRegion( in testGetExpectedCostForSharedCountryCallingCode() 178 assertTrue(shortInfo.isValidShortNumberForRegion(parse(ambiguousTollFreeString, RegionCode.AU), in testGetExpectedCostForSharedCountryCallingCode() 182 assertFalse(shortInfo.isValidShortNumberForRegion(parse(ambiguousTollFreeString, RegionCode.CX), in testGetExpectedCostForSharedCountryCallingCode() 330 assertTrue(shortInfo.isValidShortNumberForRegion(parse("112", RegionCode.AU), RegionCode.AU)); in testEmergencyNumberForSharedCountryCallingCode() [all …]
|
D | ExampleNumbersTest.java | 204 if (!shortNumberInfo.isValidShortNumberForRegion( in testShortNumbersValidAndCorrectCost()
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | ShortNumberInfo.java | 165 public boolean isValidShortNumberForRegion(PhoneNumber number, String regionDialingFrom) { in isValidShortNumberForRegion() method in ShortNumberInfo 200 return isValidShortNumberForRegion(number, regionCode); in isValidShortNumber()
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 336 Boolean.toString(shortInfo.isValidShortNumberForRegion(number, in getOutputForSingleNumber()
|