• Home
  • Raw
  • Download

Lines Matching refs:phoneUtil

62   private PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance();  field in PhoneNumberParserServlet
161 PhoneNumber number = phoneUtil.parseAndKeepRawInput(numberStr, defaultCountry); in getOutputForFile()
162 boolean isNumberValid = phoneUtil.isValidNumber(number); in getOutputForFile()
164 ? phoneUtil.formatInOriginalFormat(number, defaultCountry) in getOutputForFile()
167 ? phoneUtil.format(number, PhoneNumberFormat.INTERNATIONAL) in getOutputForFile()
256 PhoneNumber number = phoneUtil.parseAndKeepRawInput(phoneNumber, defaultCountry); in getOutputForSingleNumber()
270 boolean isPossible = phoneUtil.isPossibleNumber(number); in getOutputForSingleNumber()
271 boolean isNumberValid = phoneUtil.isValidNumber(number); in getOutputForSingleNumber()
272 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getOutputForSingleNumber()
281 phoneUtil.isPossibleNumberWithReason(number).toString(), output); in getOutputForSingleNumber()
290 Boolean.toString(phoneUtil.isValidNumberForRegion(number, defaultCountry)), in getOutputForSingleNumber()
294 String region = phoneUtil.getRegionCodeForNumber(number); in getOutputForSingleNumber()
331 isNumberValid ? phoneUtil.format(number, PhoneNumberFormat.E164) : "invalid", in getOutputForSingleNumber()
334 phoneUtil.formatInOriginalFormat(number, defaultCountry), output); in getOutputForSingleNumber()
335 appendLine("National format", phoneUtil.format(number, PhoneNumberFormat.NATIONAL), output); in getOutputForSingleNumber()
338 isNumberValid ? phoneUtil.format(number, PhoneNumberFormat.INTERNATIONAL) : "invalid", in getOutputForSingleNumber()
342 isNumberValid ? phoneUtil.formatOutOfCountryCallingNumber(number, "US") : "invalid", in getOutputForSingleNumber()
346 isNumberValid ? phoneUtil.formatOutOfCountryCallingNumber(number, "CH") : "invalid", in getOutputForSingleNumber()
351 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(defaultCountry); in getOutputForSingleNumber()