Searched refs:number2 (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogGroupBuilder.java | 198 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/ |
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 | 31 public boolean isSamePhoneNumber(String number1, String number2) { in isSamePhoneNumber() argument 32 return PhoneNumberUtils.compare(number1, number2); in isSamePhoneNumber()
|
D | PhoneNumberUtilsAdapter.java | 28 boolean isSamePhoneNumber(String number1, String number2); in isSamePhoneNumber() argument
|
D | CallsManager.java | 1381 final String number2 = PhoneNumberUtils.normalizeNumber(handle2.getSchemeSpecificPart()); in areHandlesEqual() local 1382 return TextUtils.equals(number1, number2); in areHandlesEqual()
|
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/ |
D | PhoneNumberHelper.java | 135 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/ |
D | CallLogManagerTest.java | 235 String number2 = "80000"; in testDontLogUnloggableNumbers() local 246 .thenReturn(new String[] {number2}); in testDontLogUnloggableNumbers() 268 Uri.parse("tel:" + number2), in testDontLogUnloggableNumbers()
|