Searched refs:number1 (Results 1 – 3 of 3) sorted by relevance
226 boolean equalNumbers(String number1, String number2) { in equalNumbers() argument227 if (PhoneNumberHelper.isUriNumber(number1) || PhoneNumberHelper.isUriNumber(number2)) { in equalNumbers()228 return compareSipAddresses(number1, number2); in equalNumbers()230 return PhoneNumberUtils.compare(number1, number2); in equalNumbers()239 boolean compareSipAddresses(String number1, String number2) { in compareSipAddresses() argument240 if (number1 == null || number2 == null) return number1 == number2; in compareSipAddresses()242 int index1 = number1.indexOf('@'); in compareSipAddresses()246 userinfo1 = number1.substring(0, index1); in compareSipAddresses()247 rest1 = number1.substring(index1); in compareSipAddresses()249 userinfo1 = number1; in compareSipAddresses()
69 private static boolean shouldCollapsePhoneNumbers(String number1, String number2) { in shouldCollapsePhoneNumbers() argument73 if (number1.contains("#") != number2.contains("#") in shouldCollapsePhoneNumbers()74 || number1.contains("*") != number2.contains("*")) { in shouldCollapsePhoneNumbers()80 final String[] dataParts1 = number1.split(WAIT_SYMBOL_AS_STRING); in shouldCollapsePhoneNumbers()
728 final String number1 = PhoneNumberUtils.normalizeNumber(handle1.getSchemeSpecificPart()); in areHandlesEqual() local730 return TextUtils.equals(number1, number2); in areHandlesEqual()