Searched refs:number2 (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogGroupBuilder.java | 173 boolean equalNumbers(@Nullable String number1, @Nullable String number2) { in equalNumbers() argument 174 if (PhoneNumberHelper.isUriNumber(number1) || PhoneNumberHelper.isUriNumber(number2)) { in equalNumbers() 175 return compareSipAddresses(number1, number2); in equalNumbers() 177 return PhoneNumberUtils.compare(number1, number2); in equalNumbers() 186 boolean compareSipAddresses(@Nullable String number1, @Nullable String number2) { in compareSipAddresses() argument 187 if (number1 == null || number2 == null) { in compareSipAddresses() 188 return Objects.equals(number1, number2); in compareSipAddresses() 202 int index2 = number2.indexOf('@'); in compareSipAddresses() 206 userinfo2 = number2.substring(0, index2); in compareSipAddresses() 207 rest2 = number2.substring(index2); in compareSipAddresses() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
D | CallLogListingTask.java | 220 private static boolean equalNumbers(String number1, String number2) { in equalNumbers() argument 221 if (isUriNumber(number1) || isUriNumber(number2)) { in equalNumbers() 222 return compareSipAddresses(number1, number2); in equalNumbers() 224 return PhoneNumberUtils.compare(number1, number2); in equalNumbers() 228 private static boolean compareSipAddresses(String number1, String number2) { in compareSipAddresses() argument 229 if (number1 == null || number2 == null) { in compareSipAddresses() 230 return number1 == null && number2 == null; in compareSipAddresses() 234 String[] address2 = splitSipAddress(number2); in compareSipAddresses()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | Coalescer.java | 134 DialerPhoneNumber number2; in rowsShouldBeCombined() local 137 number2 = DialerPhoneNumber.parseFrom(row2.getAsByteArray(AnnotatedCallLog.NUMBER)); in rowsShouldBeCombined() 142 if (!number1.hasDialerInternalPhoneNumber() && !number2.hasDialerInternalPhoneNumber()) { in rowsShouldBeCombined() 147 if (!number1.hasDialerInternalPhoneNumber() || !number2.hasDialerInternalPhoneNumber()) { in rowsShouldBeCombined() 151 return dialerPhoneNumberUtil.isExactMatch(number1, number2); in rowsShouldBeCombined()
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
D | MoreContactUtils.java | 67 private static boolean shouldCollapsePhoneNumbers(String number1, String number2) { in shouldCollapsePhoneNumbers() argument 71 if (number1.contains("#") != number2.contains("#") in shouldCollapsePhoneNumbers() 72 || number1.contains("*") != number2.contains("*")) { in shouldCollapsePhoneNumbers() 79 final String[] dataParts2 = number2.split(WAIT_SYMBOL_AS_STRING); in shouldCollapsePhoneNumbers()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | MoreContactUtils.java | 69 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() 81 final String[] dataParts2 = number2.split(WAIT_SYMBOL_AS_STRING); in shouldCollapsePhoneNumbers()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneNumberUtilsAdapterImpl.java | 40 public boolean isSamePhoneNumber(String number1, String number2) { in isSamePhoneNumber() argument 41 return PhoneNumberUtils.compare(number1, number2); in isSamePhoneNumber()
|
D | PhoneNumberUtilsAdapter.java | 30 boolean isSamePhoneNumber(String number1, String number2); in isSamePhoneNumber() argument
|
D | CallsManager.java | 992 final String number2 = PhoneNumberUtils.normalizeNumber(handle2.getSchemeSpecificPart()); in areHandlesEqual() local 993 return TextUtils.equals(number1, number2); in areHandlesEqual()
|