Home
last modified time | relevance | path

Searched refs:number1 (Results 1 – 9 of 9) 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()
207 if (PhoneNumberHelper.numberHasSpecialChars(number1) 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()
225 int index1 = number1.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()
78 final String[] dataParts1 = number1.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()
80 final String[] dataParts1 = number1.split(WAIT_SYMBOL_AS_STRING); in shouldCollapsePhoneNumbers()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneNumberUtilsAdapterImpl.java31 public boolean isSamePhoneNumber(String number1, String number2) { in isSamePhoneNumber() argument
32 return PhoneNumberUtils.compare(number1, number2); in isSamePhoneNumber()
DPhoneNumberUtilsAdapter.java28 boolean isSamePhoneNumber(String number1, String number2); in isSamePhoneNumber() argument
DCallsManager.java1365 final String number1 = PhoneNumberUtils.normalizeNumber(handle1.getSchemeSpecificPart()); in areHandlesEqual() local
1367 return TextUtils.equals(number1, number2); in areHandlesEqual()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DReportDialogFragment.java103 number1 -> cachedNumberLookupService.lookupCachedContactFromNumber(getContext(), number1); in lookupContactInfo()
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/
DPhoneNumberHelper.java135 public static boolean sameRawNumbers(String number1, String number2) { in sameRawNumbers() argument
137 PhoneNumberUtils.stripSeparators(PhoneNumberUtils.convertKeypadLettersToDigits(number1)); in sameRawNumbers()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java232 String number1 = "90000"; in testDontLogUnloggableNumbers() local
239 new String[] {number1}); in testDontLogUnloggableNumbers()
252 Uri.parse("tel:" + number1), in testDontLogUnloggableNumbers()