Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogGroupBuilder.java226 boolean equalNumbers(String number1, String number2) { in equalNumbers() argument
227 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() argument
240 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()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DMoreContactUtils.java69 private static boolean shouldCollapsePhoneNumbers(String number1, String number2) { in shouldCollapsePhoneNumbers() argument
73 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()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java728 final String number1 = PhoneNumberUtils.normalizeNumber(handle1.getSchemeSpecificPart()); in areHandlesEqual() local
730 return TextUtils.equals(number1, number2); in areHandlesEqual()