Home
last modified time | relevance | path

Searched refs:numberType (Results 1 – 6 of 6) sorted by relevance

/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java186 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber() local
187 if (numberType == PhoneNumberType.UNKNOWN) { in getDescriptionForNumber()
189 } else if (!canBeGeocoded(numberType)) { in getDescriptionForNumber()
209 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber() local
210 if (numberType == PhoneNumberType.UNKNOWN) { in getDescriptionForNumber()
212 } else if (!canBeGeocoded(numberType)) { in getDescriptionForNumber()
223 private boolean canBeGeocoded(PhoneNumberType numberType) { in canBeGeocoded() argument
224 return (numberType == PhoneNumberType.FIXED_LINE || in canBeGeocoded()
225 numberType == PhoneNumberType.MOBILE || in canBeGeocoded()
226 numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE); in canBeGeocoded()
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/
DPhoneNumberToCarrierMapper.java92 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getNameForNumber() local
93 if (isMobile(numberType)) { in getNameForNumber()
119 private boolean isMobile(PhoneNumberType numberType) { in isMobile() argument
120 return (numberType == PhoneNumberType.MOBILE || in isMobile()
121 numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE || in isMobile()
122 numberType == PhoneNumberType.PAGER); in isMobile()
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java137 PhoneNumberType numberType = PhoneNumberUtil.getInstance().getNumberType(number); in getTimeZonesForNumber() local
138 if (numberType == PhoneNumberType.UNKNOWN) { in getTimeZonesForNumber()
140 } else if (!canBeGeocoded(numberType)) { in getTimeZonesForNumber()
153 private boolean canBeGeocoded(PhoneNumberType numberType) { in canBeGeocoded() argument
154 return (numberType == PhoneNumberType.FIXED_LINE || in canBeGeocoded()
155 numberType == PhoneNumberType.MOBILE || in canBeGeocoded()
156 numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE); in canBeGeocoded()
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java189 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getOutputForSingleNumber() local
212 appendLine("Result from getNumberType()", numberType.toString(), output); in getOutputForSingleNumber()
278 if (numberType == PhoneNumberType.MOBILE || in getOutputForSingleNumber()
279 numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE || in getOutputForSingleNumber()
280 numberType == PhoneNumberType.PAGER) { in getOutputForSingleNumber()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemNumber.java1168 char numberType = '1'; in formatNumberList() local
1207 numberType = formatToken.charAt(numberWidth - 1); in formatNumberList()
1235 numberType = formatToken.charAt(numberWidth - 1); in formatNumberList()
1264 getFormattedNumber(transformer, contextNode, numberType, numberWidth, in formatNumberList()
1316 char numberType, int numberWidth, long listElement, in getFormattedNumber() argument
1334 switch (numberType) in getFormattedNumber()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java1064 PhoneNumberType numberType = getNumberType(phoneNumber);
1067 return numberType == PhoneNumberType.FIXED_LINE ||
1068 numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE;
1303 PhoneNumberType numberType = getNumberType(numberNoExt);
1304 boolean isValidNumber = (numberType != PhoneNumberType.UNKNOWN);
1307 (numberType == PhoneNumberType.FIXED_LINE) || (numberType == PhoneNumberType.MOBILE) ||
1308 (numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE);
1310 if (regionCode.equals("CO") && numberType == PhoneNumberType.FIXED_LINE) {