/packages/apps/Phone/src/com/android/phone/ |
D | RespondViaSmsManager.java | 207 String phoneNumber = c.getAddress(); in showRespondViaSmsPopup() local 208 if (VDBG) log("- phoneNumber: " + phoneNumber); in showRespondViaSmsPopup() 209 lv.setOnItemClickListener(new RespondViaSmsItemClickListener(phoneNumber)); in showRespondViaSmsPopup() 249 public RespondViaSmsItemClickListener(String phoneNumber) { in RespondViaSmsItemClickListener() argument 250 mPhoneNumber = phoneNumber; in RespondViaSmsItemClickListener() 325 private void sendTextToDefaultActivity(String phoneNumber, String message) { in sendTextToDefaultActivity() argument 347 sendTextAndExit(phoneNumber, message, componentName, false); in sendTextToDefaultActivity() 364 sendTextAndExit(phoneNumber, message, componentsWithPermission.get(0), false); in sendTextToDefaultActivity() 366 showPackageSelectionDialog(phoneNumber, message, componentsWithPermission); in sendTextToDefaultActivity() 402 private void showPackageSelectionDialog(String phoneNumber, String message, in showPackageSelectionDialog() argument [all …]
|
D | SimContacts.java | 143 final String phoneNumber = cursor.getString(NUMBER_COLUMN); in actuallyImportOneSimContact() local 175 builder.withValue(Phone.NUMBER, phoneNumber); in actuallyImportOneSimContact() 349 String phoneNumber = mCursor.getString(NUMBER_COLUMN); in onKeyDown() local 350 if (phoneNumber == null || !TextUtils.isGraphic(phoneNumber)) { in onKeyDown() 356 Uri.fromParts(Constants.SCHEME_TEL, phoneNumber, null)); in onKeyDown()
|
D | ManageConferenceUtils.java | 287 if (TextUtils.isEmpty(ci.phoneNumber)) { in displayCallerInfoForConferenceRow() 293 callerName = ci.phoneNumber; in displayCallerInfoForConferenceRow() 296 callerNumber = ci.phoneNumber; in displayCallerInfoForConferenceRow()
|
D | PhoneUtils.java | 702 info.phoneNumber = number; in placeCall() 1468 cit.currentInfo.phoneNumber = number; in startGetCallerInfo() 1527 cit.currentInfo.phoneNumber = updatedNumber; in startGetCallerInfo() 1639 newCi.phoneNumber = ci.phoneNumber; // To get formatted phone number 1664 compactName = modifyForSpecialCnapCases(context, ci, ci.phoneNumber, in getCompactNameFromCallerInfo()
|
/packages/apps/Dialer/src/com/android/dialer/interactions/ |
D | PhoneNumberInteraction.java | 80 String phoneNumber; field in PhoneNumberInteraction.PhoneItem 93 this.phoneNumber = in.readString(); in PhoneItem() 104 dest.writeString(phoneNumber); in writeToParcel() 124 return MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, phoneNumber, in shouldCollapseWith() 125 Phone.CONTENT_ITEM_TYPE, phoneItem.phoneNumber); in shouldCollapseWith() 130 return phoneNumber; in toString() 241 PhoneNumberInteraction.performAction(activity, phoneItem.phoneNumber, in onClick() 295 private void performAction(String phoneNumber) { in performAction() argument 296 PhoneNumberInteraction.performAction(mContext, phoneNumber, mInteractionType, mCallOrigin); in performAction() 300 Context context, String phoneNumber, int interactionType, in performAction() argument [all …]
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
D | SmartDialNameMatcher.java | 462 public static SmartDialMatchPosition matchesNumber(String phoneNumber, String query, in matchesNumber() argument 465 SmartDialMatchPosition matchPos = matchesNumberWithOffset(phoneNumber, query, 0); in matchesNumber() 469 phoneNumber); in matchesNumber() 471 matchPos = matchesNumberWithOffset(phoneNumber, query, code.offset); in matchesNumber() 475 final int[] offsets = SmartDialTrie.getOffsetForNANPNumbers(phoneNumber); in matchesNumber() 477 matchPos = matchesNumberWithOffset(phoneNumber, query, offsets[i]); in matchesNumber() 495 private static SmartDialMatchPosition matchesNumberWithOffset(String phoneNumber, String query, in matchesNumberWithOffset() argument 497 if (TextUtils.isEmpty(phoneNumber) || TextUtils.isEmpty(query)) { in matchesNumberWithOffset() 502 for (int i = offset; i < phoneNumber.length(); i++) { in matchesNumberWithOffset() 506 char ch = phoneNumber.charAt(i); in matchesNumberWithOffset()
|
D | SmartDialTrie.java | 155 if (!TextUtils.isEmpty(contact.phoneNumber)) { in put() 157 final CountryCodeWithOffset code = getOffsetWithoutCountryCode(contact.phoneNumber); in put() 159 putNumber(contact, contact.phoneNumber, code.offset); in put() 164 contact.phoneNumber, code.offset); in put() 184 putNumber(contact, contact.phoneNumber, 0); in put() 306 private void putNumber(ContactNumber contact, String phoneNumber, int offSet) { in putNumber() argument 307 Preconditions.checkArgument(offSet < phoneNumber.length()); in putNumber() 309 final int length = phoneNumber.length(); in putNumber() 312 ch = phoneNumber.charAt(i); in putNumber()
|
D | SmartDialController.java | 374 if (!TextUtils.isEmpty(item.phoneNumber)) { in assignEntryToView() 376 final SpannableString phoneNumber = new SpannableString(item.phoneNumber); in assignEntryToView() local 378 if (p.end > phoneNumber.length()) { in assignEntryToView() 379 p.end = phoneNumber.length(); in assignEntryToView() 381 phoneNumber.setSpan(new ForegroundColorSpan(mNumberHighlightedTextColor), p.start, in assignEntryToView() 384 numberView.setText(phoneNumber); in assignEntryToView()
|
D | SmartDialCache.java | 65 public final String phoneNumber; field in SmartDialCache.ContactNumber 67 public ContactNumber(long id, String displayName, String phoneNumber, String lookupKey, in ContactNumber() argument 73 this.phoneNumber = phoneNumber; in ContactNumber() 246 final String phoneNumber = c.getString(PhoneQuery.PHONE_NUMBER); in cacheContacts() local 249 cache.put(new ContactNumber(id, displayName, phoneNumber, lookupKey, in cacheContacts()
|
D | SmartDialEntry.java | 27 public final CharSequence phoneNumber; field in SmartDialEntry 35 public SmartDialEntry(CharSequence displayName, Uri contactUri, CharSequence phoneNumber, in SmartDialEntry() argument 41 this.phoneNumber = phoneNumber; in SmartDialEntry()
|
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
D | PhoneNumberInteractionTest.java | 153 phoneItem1.phoneNumber = "123"; in testShouldCollapseWith() 154 phoneItem2.phoneNumber = "123"; in testShouldCollapseWith() 158 phoneItem1.phoneNumber = "123"; in testShouldCollapseWith() 159 phoneItem2.phoneNumber = "456"; in testShouldCollapseWith() 163 phoneItem1.phoneNumber = "123#,123"; in testShouldCollapseWith() 164 phoneItem2.phoneNumber = "123#,456"; in testShouldCollapseWith() 228 assertEquals("123", item.phoneNumber); in testShowDisambigDialogForCalling()
|
/packages/apps/Browser/src/com/android/browser/ |
D | AutoFillSettingsFragment.java | 77 String phoneNumber = s.toString(); in afterTextChanged() local 78 int phoneNumberLength = phoneNumber.length(); in afterTextChanged() 81 phoneNumber = phoneNumber.replaceAll(PHONE_NUMBER_SEPARATORS_REGEX, ""); in afterTextChanged() 83 int strippedPhoneNumberLength = phoneNumber.length(); in afterTextChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManager.java | 280 public final ArrayList<String> getContactNamesByNumber(final String phoneNumber) { in getContactNamesByNumber() argument 286 if (phoneNumber != null && phoneNumber.length() == 0) { in getContactNamesByNumber() 290 Uri.encode(phoneNumber)); in getContactNamesByNumber() 305 if (V) Log.v(TAG, "got name " + name + " by number " + phoneNumber + " @" + id); in getContactNamesByNumber()
|
D | BluetoothPbapCallLogComposer.java | 175 String phoneNumber, boolean vcardVer21) { in composeVCardForPhoneOwnNumber() argument 188 if (!TextUtils.isEmpty(phoneNumber)) { in composeVCardForPhoneOwnNumber() 190 builder.appendTelLine(phonetype, label, phoneNumber, false); in composeVCardForPhoneOwnNumber()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | PhoneDataItem.java | 66 final String phoneNumber = getNumber(); in computeFormattedPhoneNumber() local 67 if (phoneNumber != null) { in computeFormattedPhoneNumber() 68 final String formattedPhoneNumber = PhoneNumberUtils.formatNumber(phoneNumber, in computeFormattedPhoneNumber()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | ContactsUtils.java | 361 public static void initiateCall(Context context, CharSequence phoneNumber) { in initiateCall() argument 363 Uri.fromParts("tel", phoneNumber.toString(), null)); in initiateCall() 373 public static void initiateSms(Context context, CharSequence phoneNumber) { in initiateSms() argument 375 Uri.fromParts("sms", phoneNumber.toString(), null)); in initiateSms()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | AggregationSuggestionEngine.java | 75 public String phoneNumber; field in AggregationSuggestionEngine.Suggestion 84 + " phone: " + phoneNumber + " email: " + emailAddress + " nickname: " in toString() 406 && (superprimary != 0 || suggestion.phoneNumber == null)) { in getSuggestions() 407 suggestion.phoneNumber = data; in getSuggestions()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | NonPhoneActivity.java | 45 final String phoneNumber = getPhoneNumber(); in onCreate() local 46 if (TextUtils.isEmpty(phoneNumber)) { in onCreate() 53 bundle.putString(PHONE_NUMBER_KEY, phoneNumber); in onCreate()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactTileListFragment.java | 55 void onCallNumberDirectly(String phoneNumber); in onCallNumberDirectly() argument 220 public void onCallNumberDirectly(String phoneNumber) { 222 mListener.onCallNumberDirectly(phoneNumber);
|
/packages/apps/Mms/src/com/android/mms/data/ |
D | Contact.java | 1059 private String key(String phoneNumber, CharBuffer keyBuffer) { in key() argument 1063 int position = phoneNumber.length(); in key() 1066 char c = phoneNumber.charAt(position); in key() 1079 return phoneNumber; in key()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ShortcutIntentBuilder.java | 290 String phoneNumber, int phoneType, String phoneLabel, String shortcutAction) { in createPhoneNumberShortcutIntent() argument 296 phoneUri = Uri.fromParts(CallUtil.SCHEME_TEL, phoneNumber, null); in createPhoneNumberShortcutIntent() 300 phoneUri = Uri.fromParts(CallUtil.SCHEME_SMSTO, phoneNumber, null); in createPhoneNumberShortcutIntent()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | PhoneFavoriteFragment.java | 87 public void onCallNumberDirectly(String phoneNumber); in onCallNumberDirectly() argument 162 public void onCallNumberDirectly(String phoneNumber) { in onCallNumberDirectly() argument 164 mListener.onCallNumberDirectly(phoneNumber); in onCallNumberDirectly()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ContactHeaderWidget.java | 287 String phoneNumber = (String) cookie; in onQueryComplete() local 288 setDisplayName(phoneNumber, null); in onQueryComplete() 291 mPhotoView.assignContactFromPhone(phoneNumber, true); in onQueryComplete()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 239 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber) { in insertPhoneNumber() argument 240 return insertPhoneNumber(rawContactId, phoneNumber, false); in insertPhoneNumber() 243 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary) { in insertPhoneNumber() argument 244 return insertPhoneNumber(rawContactId, phoneNumber, primary, Phone.TYPE_HOME); in insertPhoneNumber() 247 protected Uri insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, in insertPhoneNumber() argument 252 values.put(Phone.NUMBER, phoneNumber); in insertPhoneNumber()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachine.java | 1615 String phoneNumber = ""; in processAtClcc() local 1618 phoneNumber = mPhoneProxy.getSubscriberNumber(); in processAtClcc() 1619 type = PhoneNumberUtils.toaFromString(phoneNumber); in processAtClcc() 1623 phoneNumber = ""; in processAtClcc() 1625 clccResponseNative(1, 0, 0, 0, false, phoneNumber, type); in processAtClcc()
|