/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | PhoneNumberUtilsCompat.java | 41 public static String normalizeNumber(String phoneNumber) { in normalizeNumber() argument 43 return PhoneNumberUtils.normalizeNumber(phoneNumber); in normalizeNumber() 45 return normalizeNumberInternal(phoneNumber); in normalizeNumber() 52 private static String normalizeNumberInternal(String phoneNumber) { in normalizeNumberInternal() argument 53 if (TextUtils.isEmpty(phoneNumber)) { in normalizeNumberInternal() 57 int len = phoneNumber.length(); in normalizeNumberInternal() 59 char c = phoneNumber.charAt(i); in normalizeNumberInternal() 67 return normalizeNumber(PhoneNumberUtils.convertKeypadLettersToDigits(phoneNumber)); in normalizeNumberInternal() 74 String phoneNumber, String phoneNumberE164, String defaultCountryIso) { in formatNumber() argument 76 return PhoneNumberUtils.formatNumber(phoneNumber, phoneNumberE164, defaultCountryIso); in formatNumber() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | IntentUtil.java | 29 public static Intent getSendSmsIntent(CharSequence phoneNumber) { in getSendSmsIntent() argument 30 return new Intent(Intent.ACTION_SENDTO, Uri.parse(SMS_URI_PREFIX + phoneNumber)); in getSendSmsIntent() 38 public static Intent getNewContactIntent(CharSequence phoneNumber) { in getNewContactIntent() argument 39 return getNewContactIntent(null /* name */, phoneNumber /* phoneNumber */, NO_PHONE_TYPE); in getNewContactIntent() 43 CharSequence name, CharSequence phoneNumber, int phoneNumberType) { in getNewContactIntent() argument 45 populateContactIntent(intent, name, phoneNumber, phoneNumberType); in getNewContactIntent() 55 public static Intent getAddToExistingContactIntent(CharSequence phoneNumber) { in getAddToExistingContactIntent() argument 57 null /* name */, phoneNumber /* phoneNumber */, NO_PHONE_TYPE); in getAddToExistingContactIntent() 61 CharSequence name, CharSequence phoneNumber, int phoneNumberType) { in getAddToExistingContactIntent() argument 63 populateContactIntent(intent, name, phoneNumber, phoneNumberType); in getAddToExistingContactIntent() [all …]
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
D | BlockedNumberProviderTest.java | 271 String phoneNumber = "5004541111"; in testBlockSuppressionAfterEmergencyContact() local 272 insert(cv(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, phoneNumber)); in testBlockSuppressionAfterEmergencyContact() 275 assertIsBlocked(true, phoneNumber); in testBlockSuppressionAfterEmergencyContact() 276 assertShouldSystemBlock(true, phoneNumber, null); in testBlockSuppressionAfterEmergencyContact() 282 assertIsBlocked(true, phoneNumber); in testBlockSuppressionAfterEmergencyContact() 283 assertShouldSystemBlock(true, phoneNumber, null); in testBlockSuppressionAfterEmergencyContact() 290 assertIsBlocked(true, phoneNumber); in testBlockSuppressionAfterEmergencyContact() 291 assertShouldSystemBlock(false, phoneNumber, null); in testBlockSuppressionAfterEmergencyContact() 304 assertIsBlocked(true, phoneNumber); in testBlockSuppressionAfterEmergencyContact() 305 assertShouldSystemBlock(true, phoneNumber, null); in testBlockSuppressionAfterEmergencyContact() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/ |
D | FavoriteNumberRepository.java | 118 public void addToFavorite(Contact contact, PhoneNumber phoneNumber) { in addToFavorite() argument 123 phoneNumber.getRawNumber())); in addToFavorite() 124 favoriteNumber.setAccountName(phoneNumber.getAccountName()); in addToFavorite() 125 favoriteNumber.setAccountType(phoneNumber.getAccountType()); in addToFavorite() 132 public void removeFromFavorite(Contact contact, PhoneNumber phoneNumber) { in removeFromFavorite() argument 138 if (matches(favoriteNumberEntity, contact, phoneNumber)) { in removeFromFavorite() 238 PhoneNumber phoneNumber) { in matches() argument 240 return numberMatches(favoriteNumber, phoneNumber); in matches() 246 private boolean numberMatches(FavoriteNumberEntity favoriteNumber, PhoneNumber phoneNumber) { in numberMatches() argument 251 if (!TextUtils.equals(favoriteNumber.getAccountName(), phoneNumber.getAccountName()) in numberMatches() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/ |
D | NotificationService.java | 74 String phoneNumber = intent.getStringExtra(EXTRA_PHONE_NUMBER); in onStartCommand() local 79 answerCall(phoneNumber); in onStartCommand() 80 mInCallNotificationController.cancelInCallNotification(phoneNumber); in onStartCommand() 83 declineCall(phoneNumber); in onStartCommand() 84 mInCallNotificationController.cancelInCallNotification(phoneNumber); in onStartCommand() 91 mInCallNotificationController.cancelInCallNotification(phoneNumber); in onStartCommand() 94 mUiCallManager.placeCall(phoneNumber); in onStartCommand() 95 TelecomUtils.markCallLogAsRead(context, phoneNumber); in onStartCommand() 100 TelecomUtils.markCallLogAsRead(context, phoneNumber); in onStartCommand() 104 if (!TextUtils.isEmpty(phoneNumber)) { in onStartCommand() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/ |
D | SmartDialNameMatcher.java | 113 public SmartDialMatchPosition matchesNumber(Context context, String phoneNumber, String query) { in matchesNumber() argument 114 if (TextUtils.isEmpty(phoneNumber)) { in matchesNumber() 118 constructEmptyMask(builder, phoneNumber.length()); in matchesNumber() 122 matchesNumberWithOffset(context, phoneNumber, query, /* offset = */ 0); in matchesNumber() 124 PhoneNumberTokens phoneNumberTokens = SmartDialPrefix.parsePhoneNumber(context, phoneNumber); in matchesNumber() 129 context, phoneNumber, query, phoneNumberTokens.countryCodeOffset); in matchesNumber() 133 matchesNumberWithOffset(context, phoneNumber, query, phoneNumberTokens.nanpCodeOffset); in matchesNumber() 150 public SmartDialMatchPosition matchesNumber(Context context, String phoneNumber) { in matchesNumber() argument 151 return matchesNumber(context, phoneNumber, query); in matchesNumber() 165 Context context, String phoneNumber, String query, int offset) { in matchesNumberWithOffset() argument [all …]
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberProvider.java | 152 final String phoneNumber = cv.getAsString( in insertBlockedNumber() local 155 if (TextUtils.isEmpty(phoneNumber)) { in insertBlockedNumber() 161 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, in insertBlockedNumber() 384 private int unblock(String phoneNumber) { in unblock() argument 385 if (TextUtils.isEmpty(phoneNumber)) { in unblock() 390 String[] selectionArgs = new String[]{phoneNumber}; in unblock() 391 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, null); in unblock() 394 selectionArgs = new String[]{phoneNumber, e164Number}; in unblock() 404 private boolean isEmergencyNumber(String phoneNumber) { in isEmergencyNumber() argument 405 if (TextUtils.isEmpty(phoneNumber)) { in isEmergencyNumber() [all …]
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | PhoneNumber.java | 205 public PhoneNumber merge(PhoneNumber phoneNumber) { in merge() argument 206 if (equals(phoneNumber)) { in merge() 207 if (mDataVersion < phoneNumber.mDataVersion) { in merge() 208 mDataVersion = phoneNumber.mDataVersion; in merge() 209 mId = phoneNumber.mId; in merge() 210 mIsPrimary |= phoneNumber.mIsPrimary; in merge() 211 mType = phoneNumber.mType; in merge() 212 mLabel = phoneNumber.mLabel; in merge() 261 PhoneNumber phoneNumber = new PhoneNumber(i18nPhoneNumberWrapper, type, label, 263 phoneNumber.setIsFavorite(source.readBoolean()); [all …]
|
D | Contact.java | 561 for (PhoneNumber phoneNumber : mPhoneNumbers) { in getPhoneNumber() 562 if (phoneNumber.getI18nPhoneNumberWrapper().equals(i18nPhoneNumber)) { in getPhoneNumber() 563 return phoneNumber; in getPhoneNumber() 594 for (PhoneNumber phoneNumber : mPhoneNumbers) { in writeToParcel() 595 dest.writeParcelable(phoneNumber, flags); in writeToParcel() 640 PhoneNumber phoneNumber = source.readParcelable(PhoneNumber.class.getClassLoader()); in fromParcel() local 641 contact.mPhoneNumbers.add(phoneNumber); in fromParcel() 642 if (phoneNumber != null && phoneNumber.isPrimary()) { in fromParcel() 643 contact.mPrimaryPhoneNumber = phoneNumber; in fromParcel()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhoneLookupWithStarPrefix.java | 105 static String normalizeNumberWithStar(String phoneNumber) { in normalizeNumberWithStar() argument 106 if (TextUtils.isEmpty(phoneNumber)) { in normalizeNumberWithStar() 107 return phoneNumber; in normalizeNumberWithStar() 109 if (phoneNumber.startsWith("*")) { in normalizeNumberWithStar() 115 phoneNumber.substring(1).replace("+", "")); in normalizeNumberWithStar() 117 return PhoneNumberUtils.normalizeNumber(phoneNumber); in normalizeNumberWithStar() 127 final String phoneNumber = normalizeNumberWithStar(cursor.getString(numberIndex)); in matchingNumberStartsWithStar() local 128 if (phoneNumber != null && phoneNumber.startsWith("*")) { in matchingNumberStartsWithStar()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | PhoneNumberPreference.java | 49 public void setDefaultPhoneNumber(final String phoneNumber, final int subscriptionId) { in setDefaultPhoneNumber() argument 50 mDefaultPhoneNumber = phoneNumber; in setDefaultPhoneNumber() 66 final String phoneNumber = bidiFormatter.unicodeWrap in onBindView() local 69 setSummary(phoneNumber); in onBindView() 82 final String phoneNumber = bidiFormatter.unicodeWrap in onBindDialogView() local 85 getEditText().setText(phoneNumber); in onBindDialogView() 95 final String phoneNumber = phoneUtils.getCanonicalBySystemLocale(value); in onDialogClosed() local 100 if (phoneNumber.equals(defaultPhoneNumber)) { in onDialogClosed()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceControllerTest.java | 118 final String phoneNumber = "1111111111"; in updateState_singleSim_shouldUpdateTitleAndPhoneNumber() local 119 doReturn(phoneNumber).when(mController).getFormattedPhoneNumber(mSubscriptionInfo); in updateState_singleSim_shouldUpdateTitleAndPhoneNumber() 126 verify(mPreference).setSummary(phoneNumber); in updateState_singleSim_shouldUpdateTitleAndPhoneNumber() 131 final String phoneNumber = "1111111111"; in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() local 132 doReturn(phoneNumber).when(mController).getFormattedPhoneNumber(mSubscriptionInfo); in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() 140 verify(mPreference).setSummary(phoneNumber); in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() 143 verify(mSecondPreference).setSummary(phoneNumber); in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() 171 final String phoneNumber = "1111111111"; in copy_shouldCopyPhoneNumberToClipboard() local 172 doReturn(phoneNumber).when(mController).getFormattedPhoneNumber(mSubscriptionInfo); in copy_shouldCopyPhoneNumberToClipboard() 179 assertThat(phoneNumber.contentEquals(data)).isTrue(); in copy_shouldCopyPhoneNumberToClipboard()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceControllerTest.java | 135 final String phoneNumber = "1111111111"; in updateState_singleSim_shouldUpdateTitleAndPhoneNumber() local 136 doReturn(phoneNumber).when(mController).getFormattedPhoneNumber(mSubscriptionInfo); in updateState_singleSim_shouldUpdateTitleAndPhoneNumber() 143 verify(mPreference).setSummary(phoneNumber); in updateState_singleSim_shouldUpdateTitleAndPhoneNumber() 148 final String phoneNumber = "1111111111"; in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() local 149 doReturn(phoneNumber).when(mController).getFormattedPhoneNumber(mSubscriptionInfo); in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() 157 verify(mPreference).setSummary(phoneNumber); in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() 160 verify(mSecondPreference).setSummary(phoneNumber); in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() 191 final String phoneNumber = "1111111111"; in copy_shouldCopyPhoneNumberToClipboard() local 192 doReturn(phoneNumber).when(mController).getFormattedPhoneNumber(mSubscriptionInfo); in copy_shouldCopyPhoneNumberToClipboard() 199 assertThat(phoneNumber.contentEquals(data)).isTrue(); in copy_shouldCopyPhoneNumberToClipboard()
|
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
D | PhoneNumberInteraction.java | 176 String phoneNumber, in performAction() argument 183 intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts("sms", phoneNumber, null)); in performAction() 189 new CallIntentBuilder(phoneNumber, callSpecificAppData) in performAction() 214 private void performAction(String phoneNumber) { in performAction() argument 216 context, phoneNumber, interactionType, isVideoCall, callSpecificAppData); in performAction() 309 item.phoneNumber = cursor.getString(phoneNumberColumn); in onLoadComplete() 333 performAction(item.phoneNumber); in onLoadComplete() 403 String phoneNumber; field in PhoneNumberInteraction.PhoneItem 415 this.phoneNumber = in.readString(); in PhoneItem() 426 dest.writeString(phoneNumber); in writeToParcel() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | QueryStyle.java | 59 public SpannableString getStringWithQueryInSpecialStyle(@NonNull String phoneNumber, in getStringWithQueryInSpecialStyle() argument 61 SpannableString spannableString = new SpannableString(phoneNumber); in getStringWithQueryInSpecialStyle() 69 phoneNumber); in getStringWithQueryInSpecialStyle() 89 private Pair<String, Map<Integer, Integer>> getDigitsOnlyNumberInfo(String phoneNumber) { in getDigitsOnlyNumberInfo() argument 92 for (int i = 0; i < phoneNumber.length(); i++) { in getDigitsOnlyNumberInfo() 93 char c = phoneNumber.charAt(i); in getDigitsOnlyNumberInfo()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/ |
D | DialpadRestrictionViewModel.java | 125 public void setCurrentPhoneNumber(@NonNull String phoneNumber) { in setCurrentPhoneNumber() argument 126 mCurrentPhoneNumber = phoneNumber; in setCurrentPhoneNumber() 133 private DialpadUxrMode evaluateDialpadMode(CarUxRestrictions restrictions, String phoneNumber) { in evaluateDialpadMode() argument 135 ? DialpadUxrMode.UNRESTRICTED : evaluateDialpadRestrictionMode(phoneNumber); in evaluateDialpadMode() 142 private DialpadUxrMode evaluateDialpadRestrictionMode(String phoneNumber) { in evaluateDialpadRestrictionMode() argument 145 } else if (phoneNumber.length() < mRestrictedModeMaxDigitCount) { in evaluateDialpadRestrictionMode()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactDetailsViewHolder.java | 169 public void bind(Context context, Contact contact, PhoneNumber phoneNumber) { in bind() argument 170 mTitle.setText(phoneNumber.getRawNumber()); in bind() 173 CharSequence readableLabel = phoneNumber.getReadableLabel(context.getResources()); in bind() 174 CharSequence favoriteLabel = phoneNumber.isFavorite() ? context.getString( in bind() 176 if (phoneNumber.isPrimary()) { in bind() 185 v -> mUiCallManager.placeCall(phoneNumber.getRawNumber())); in bind() 187 if (phoneNumber.isFavorite() || !contact.isStarred()) { in bind() 192 ViewUtils.setActivated(mFavoriteActionView, phoneNumber.isFavorite()); in bind() 195 mPhoneNumberPresenter.onClick(contact, phoneNumber); in bind()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ParticipantData.java | 206 private static ParticipantData getFromRawPhone(final String phoneNumber) { in getFromRawPhone() argument 207 Assert.isTrue(phoneNumber != null); in getFromRawPhone() 212 pd.mSendDestination = TextUtil.replaceUnicodeDigits(phoneNumber); in getFromRawPhone() 235 public static ParticipantData getFromRawPhoneBySystemLocale(final String phoneNumber) { in getFromRawPhoneBySystemLocale() argument 236 final ParticipantData pd = getFromRawPhone(phoneNumber); in getFromRawPhoneBySystemLocale() 258 final String phoneNumber, final int subId) { in getFromRawPhoneBySimLocale() argument 259 final ParticipantData pd = getFromRawPhone(phoneNumber); in getFromRawPhoneBySimLocale() 394 final String phoneNumber = in updatePhoneNumberForSelfIfChanged() local 397 if (isSelf() && !TextUtils.equals(phoneNumber, mNormalizedDestination)) { in updatePhoneNumberForSelfIfChanged() 398 mNormalizedDestination = phoneNumber; in updatePhoneNumberForSelfIfChanged() [all …]
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/ |
D | ContactListViewHolderTest.java | 97 PhoneNumber phoneNumber = PhoneNumber.newInstance(mContext, PHONE_NUMBER_1, 0, LABEL_1, in testLabel_withOnlyOneNumber_showLabel() local 99 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testLabel_withOnlyOneNumber_showLabel() 107 PhoneNumber phoneNumber = PhoneNumber.newInstance(mContext, PHONE_NUMBER_1, TYPE, null, in testLabel_withOneNumberAndNumberHasNullLabel_showTypeLabel() local 109 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testLabel_withOneNumberAndNumberHasNullLabel_showTypeLabel() 121 PhoneNumber phoneNumber = mock(PhoneNumber.class); in testLabel_withOneNumberAndGetNullLabel_showEmptyString() local 122 when(phoneNumber.getLabel()).thenReturn(null); in testLabel_withOneNumberAndGetNullLabel_showEmptyString() 123 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testLabel_withOneNumberAndGetNullLabel_showEmptyString() 194 PhoneNumber phoneNumber = PhoneNumber.newInstance(mContext, PHONE_NUMBER_1, 0, LABEL_1, in testClickCallActionButton_ContactHasOneNumber_placeCall() local 196 when(mMockContact.getNumbers()).thenReturn(Arrays.asList(phoneNumber)); in testClickCallActionButton_ContactHasOneNumber_placeCall() 251 PhoneNumber phoneNumber = mock(PhoneNumber.class); in testClickShowContactDetailView_hasContactDetail_showContactDetail() local [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RespondViaSmsManager.java | 152 private static void showMessageResultToast(final String phoneNumber, in showMessageResultToast() argument 161 final String confirmationMsg = String.format(formatString, phoneNumber); in showMessageResultToast() 162 int startingPosition = confirmationMsg.indexOf(phoneNumber); in showMessageResultToast() 163 int endingPosition = startingPosition + phoneNumber.length(); in showMessageResultToast() 188 private void rejectCallWithMessage(Context context, String phoneNumber, String textMessage, in rejectCallWithMessage() argument 211 !TextUtils.isEmpty(contactName) ? contactName : phoneNumber, in rejectCallWithMessage() 214 smsManager.sendMultipartTextMessage(phoneNumber, null, messageParts, in rejectCallWithMessage()
|
/packages/services/Telephony/tests/src/com/android/phone/ecc/ |
D | EccDataTest.java | 61 assertThat(eccInfo.phoneNumber).isNotEmpty(); in testEccDataContent() 62 assertThat(eccInfo.phoneNumber).isEqualTo(eccInfo.phoneNumber.trim()); in testEccDataContent() 63 assertThat(loadedNumbers.contains(eccInfo.phoneNumber)).isFalse(); in testEccDataContent() 65 loadedNumbers.add(eccInfo.phoneNumber); in testEccDataContent()
|
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/ |
D | ContactListActivity.java | 148 t1.setText(getItem(pos).phoneNumber); in initListView() 169 String phoneNumber = getPhoneNumber(cursor); in querySummaryData() local 172 mContactList.add(new ContactAttributes(phoneNumber, latestMessage, isRead)); in querySummaryData() 189 mContactList.get(position).phoneNumber); in setListViewClickable() 290 public String phoneNumber; field in ContactListActivity.ContactAttributes 294 ContactAttributes(String phoneNumber, String message, boolean isRead) { in ContactAttributes() argument 295 this.phoneNumber = phoneNumber; in ContactAttributes()
|
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/util/ |
D | ChatManager.java | 97 String phoneNumber = getNumberFromUri(session.getRemoteUri().toString()); in ChatManager() local 98 mContactSessionMap.put(phoneNumber, session); in ChatManager() 104 if (TextUtils.isEmpty(phoneNumber)) { in ChatManager() 108 addNewMessage(msg, phoneNumber, SELF); in ChatManager() 198 String phoneNumber = getNumberFromUri( in initChatSession() local 200 mContactSessionMap.put(phoneNumber, chatSession); in initChatSession() 206 if (TextUtils.isEmpty(phoneNumber)) { in initChatSession() 210 addNewMessage(msg, phoneNumber, SELF); in initChatSession()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 491 String phoneNumber = subInfo.getNumber(); in getSelfRawNumber() local 492 if (TextUtils.isEmpty(phoneNumber) && LogUtil.isLoggable(TAG, LogUtil.DEBUG)) { in getSelfRawNumber() 495 return phoneNumber; in getSelfRawNumber() 748 final PhoneNumber phoneNumber = phoneNumberUtil.parse(phoneText, country); in getValidE164Number() local 749 if (phoneNumber != null && phoneNumberUtil.isValidNumber(phoneNumber)) { in getValidE164Number() 750 return phoneNumberUtil.format(phoneNumber, PhoneNumberFormat.E164); in getValidE164Number() 843 final PhoneNumber phoneNumber = phoneNumberUtil.parse(selfNumber, country); in getSimNumberNoCountryCode() local 844 if (phoneNumber != null && phoneNumberUtil.isValidNumber(phoneNumber)) { in getSimNumberNoCountryCode() 846 .format(phoneNumber, PhoneNumberFormat.NATIONAL) in getSimNumberNoCountryCode()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | CallLogPullRequest.java | 97 String phoneNumber = phones.get(0).getNumber(); in onPullComplete() local 98 values.put(CallLog.Calls.NUMBER, phoneNumber); in onPullComplete() 99 if (mCallCounter.get(phoneNumber) != null) { in onPullComplete() 100 int updateCounter = mCallCounter.get(phoneNumber) + 1; in onPullComplete() 101 mCallCounter.put(phoneNumber, updateCounter); in onPullComplete() 103 mCallCounter.put(phoneNumber, 1); in onPullComplete()
|