Home
last modified time | relevance | path

Searched refs:number2 (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogGroupBuilder.java198 boolean equalNumbers(@Nullable String number1, @Nullable String number2) { in equalNumbers() argument
199 if (PhoneNumberHelper.isUriNumber(number1) || PhoneNumberHelper.isUriNumber(number2)) { in equalNumbers()
200 return compareSipAddresses(number1, number2); in equalNumbers()
208 || PhoneNumberHelper.numberHasSpecialChars(number2)) { in equalNumbers()
209 return PhoneNumberHelper.sameRawNumbers(number1, number2); in equalNumbers()
212 return PhoneNumberUtils.compare(number1, number2); in equalNumbers()
220 boolean compareSipAddresses(@Nullable String number1, @Nullable String number2) { in compareSipAddresses() argument
221 if (number1 == null || number2 == null) { in compareSipAddresses()
222 return Objects.equals(number1, number2); in compareSipAddresses()
236 int index2 = number2.indexOf('@'); in compareSipAddresses()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/
DMoreContactUtils.java67 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/
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()
81 final String[] dataParts2 = number2.split(WAIT_SYMBOL_AS_STRING); in shouldCollapsePhoneNumbers()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneNumberUtilsAdapterImpl.java45 public boolean isSamePhoneNumber(String number1, String number2) { in isSamePhoneNumber() argument
46 return PhoneNumberUtils.compare(number1, number2); in isSamePhoneNumber()
DPhoneNumberUtilsAdapter.java30 boolean isSamePhoneNumber(String number1, String number2); in isSamePhoneNumber() argument
DCallsManager.java1218 final String number2 = PhoneNumberUtils.normalizeNumber(handle2.getSchemeSpecificPart()); in areHandlesEqual() local
1219 return TextUtils.equals(number1, number2); in areHandlesEqual()
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/
DPhoneNumberHelper.java135 public static boolean sameRawNumbers(String number1, String number2) { in sameRawNumbers() argument
139 PhoneNumberUtils.stripSeparators(PhoneNumberUtils.convertKeypadLettersToDigits(number2)); in sameRawNumbers()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java226 String number2 = "80000"; in testDontLogUnloggableNumbers() local
237 .thenReturn(new String[] {number2}); in testDontLogUnloggableNumbers()
259 Uri.parse("tel:" + number2), in testDontLogUnloggableNumbers()