Searched refs:numberType (Results 1 – 6 of 6) sorted by relevance
186 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber() local187 if (numberType == PhoneNumberType.UNKNOWN) { in getDescriptionForNumber()189 } else if (!canBeGeocoded(numberType)) { in getDescriptionForNumber()209 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber() local210 if (numberType == PhoneNumberType.UNKNOWN) { in getDescriptionForNumber()212 } else if (!canBeGeocoded(numberType)) { in getDescriptionForNumber()223 private boolean canBeGeocoded(PhoneNumberType numberType) { in canBeGeocoded() argument224 return (numberType == PhoneNumberType.FIXED_LINE || in canBeGeocoded()225 numberType == PhoneNumberType.MOBILE || in canBeGeocoded()226 numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE); in canBeGeocoded()
92 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getNameForNumber() local93 if (isMobile(numberType)) { in getNameForNumber()119 private boolean isMobile(PhoneNumberType numberType) { in isMobile() argument120 return (numberType == PhoneNumberType.MOBILE || in isMobile()121 numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE || in isMobile()122 numberType == PhoneNumberType.PAGER); in isMobile()
137 PhoneNumberType numberType = PhoneNumberUtil.getInstance().getNumberType(number); in getTimeZonesForNumber() local138 if (numberType == PhoneNumberType.UNKNOWN) { in getTimeZonesForNumber()140 } else if (!canBeGeocoded(numberType)) { in getTimeZonesForNumber()153 private boolean canBeGeocoded(PhoneNumberType numberType) { in canBeGeocoded() argument154 return (numberType == PhoneNumberType.FIXED_LINE || in canBeGeocoded()155 numberType == PhoneNumberType.MOBILE || in canBeGeocoded()156 numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE); in canBeGeocoded()
189 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getOutputForSingleNumber() local212 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()
1168 char numberType = '1'; in formatNumberList() local1207 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() argument1334 switch (numberType) in getFormattedNumber()
1064 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) {