Home
last modified time | relevance | path

Searched refs:isLeadingZeroPossible (Results 1 – 3 of 3) sorted by relevance

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java230 assertTrue(phoneUtil.isLeadingZeroPossible(39)); // Italy in testIsLeadingZeroPossible()
231 assertFalse(phoneUtil.isLeadingZeroPossible(1)); // USA in testIsLeadingZeroPossible()
232 assertTrue(phoneUtil.isLeadingZeroPossible(800)); // International toll free in testIsLeadingZeroPossible()
233 assertFalse(phoneUtil.isLeadingZeroPossible(979)); // International premium-rate in testIsLeadingZeroPossible()
234 assertFalse(phoneUtil.isLeadingZeroPossible(888)); // Not in metadata file, just default to in testIsLeadingZeroPossible()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java1589 return number.isItalianLeadingZero() && !isLeadingZeroPossible(number.getCountryCode());
2273 boolean isLeadingZeroPossible(int countryCallingCode) {
2280 return mainMetadataForCallingCode.isLeadingZeroPossible();
DPhonemetadata.java702 public boolean isLeadingZeroPossible() { return leadingZeroPossible_; } in isLeadingZeroPossible() method in Phonemetadata.PhoneMetadata