Home
last modified time | relevance | path

Searched defs:phoneNumber (Results 1 – 25 of 129) sorted by relevance

123456

/packages/apps/Dialer/java/com/android/dialer/util/
DIntentUtil.java29 public static Intent getSendSmsIntent(CharSequence phoneNumber) { in getSendSmsIntent()
38 public static Intent getNewContactIntent(CharSequence phoneNumber) { in getNewContactIntent()
43 CharSequence name, CharSequence phoneNumber, int phoneNumberType) { in getNewContactIntent()
55 public static Intent getAddToExistingContactIntent(CharSequence phoneNumber) { in getAddToExistingContactIntent()
61 CharSequence name, CharSequence phoneNumber, int phoneNumberType) { in getAddToExistingContactIntent()
68 Intent intent, CharSequence name, CharSequence phoneNumber, int phoneNumberType) { in populateContactIntent()
/packages/apps/Contacts/src/com/android/contacts/compat/
DPhoneNumberUtilsCompat.java41 public static String normalizeNumber(String phoneNumber) { in normalizeNumber()
52 private static String normalizeNumberInternal(String phoneNumber) { in normalizeNumberInternal()
74 String phoneNumber, String phoneNumberE164, String defaultCountryIso) { in formatNumber()
83 public static CharSequence createTtsSpannable(CharSequence phoneNumber) { in createTtsSpannable()
91 public static TtsSpan createTtsSpan(String phoneNumber) { in createTtsSpan()
104 private static CharSequence createTtsSpannableInternal(CharSequence phoneNumber) { in createTtsSpannableInternal()
144 PhoneNumber phoneNumber = null; in createTtsSpanLollipop() local
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DRowClickListener.java29 void placeVoiceCall(String phoneNumber, int ranking); in placeVoiceCall()
36 void placeVideoCall(String phoneNumber, int ranking); in placeVideoCall()
39 void placeDuoCall(String phoneNumber); in placeDuoCall()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DPhoneNumberPreference.java49 public void setDefaultPhoneNumber(final String phoneNumber, final int subscriptionId) { in setDefaultPhoneNumber()
66 final String phoneNumber = bidiFormatter.unicodeWrap in onBindView() local
82 final String phoneNumber = bidiFormatter.unicodeWrap in onBindDialogView() local
95 final String phoneNumber = phoneUtils.getCanonicalBySystemLocale(value); in onDialogClosed() local
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactListViewHolderTest.java97 PhoneNumber phoneNumber = PhoneNumber.newInstance(mContext, PHONE_NUMBER_1, 0, LABEL_1, in testLabel_withOnlyOneNumber_showLabel() local
107 PhoneNumber phoneNumber = PhoneNumber.newInstance(mContext, PHONE_NUMBER_1, TYPE, null, in testLabel_withOneNumberAndNumberHasNullLabel_showTypeLabel() local
121 PhoneNumber phoneNumber = mock(PhoneNumber.class); in testLabel_withOneNumberAndGetNullLabel_showEmptyString() local
194 PhoneNumber phoneNumber = PhoneNumber.newInstance(mContext, PHONE_NUMBER_1, 0, LABEL_1, in testClickCallActionButton_ContactHasOneNumber_placeCall() local
251 PhoneNumber phoneNumber = mock(PhoneNumber.class); in testClickShowContactDetailView_hasContactDetail_showContactDetail() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DPhoneNumberPreferenceControllerTest.java118 final String phoneNumber = "1111111111"; in updateState_singleSim_shouldUpdateTitleAndPhoneNumber() local
131 final String phoneNumber = "1111111111"; in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() local
171 final String phoneNumber = "1111111111"; in copy_shouldCopyPhoneNumberToClipboard() local
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DDialpadRestrictionViewModel.java125 public void setCurrentPhoneNumber(@NonNull String phoneNumber) { in setCurrentPhoneNumber()
133 private DialpadUxrMode evaluateDialpadMode(CarUxRestrictions restrictions, String phoneNumber) { in evaluateDialpadMode()
142 private DialpadUxrMode evaluateDialpadRestrictionMode(String phoneNumber) { in evaluateDialpadRestrictionMode()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DPhoneNumberPreferenceControllerTest.java135 final String phoneNumber = "1111111111"; in updateState_singleSim_shouldUpdateTitleAndPhoneNumber() local
148 final String phoneNumber = "1111111111"; in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() local
191 final String phoneNumber = "1111111111"; in copy_shouldCopyPhoneNumberToClipboard() local
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTest.java271 String phoneNumber = "5004541111"; in testBlockSuppressionAfterEmergencyContact() local
317 String phoneNumber = "5004541111"; in testBlockSuppressionAfterEmergencyContact_invalidCarrierConfigDefaultValueUsed() local
335 String phoneNumber = "5004541111"; in testEnhancedBlock() local
373 String phoneNumber = "5004541111"; in testEnhancedBlockSuppressionAfterEmergencyContact() local
715 private void assertIsBlocked(boolean expected, String phoneNumber) { in assertIsBlocked()
719 private void assertShouldSystemBlock(boolean expected, String phoneNumber, Bundle extras) { in assertShouldSystemBlock()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/
DTelephonyDataModel.java115 public void sendMessage(int accountId, @NonNull String phoneNumber, @NonNull String message) { in sendMessage()
128 @NonNull String iccId, @NonNull String phoneNumber, @NonNull String message) { in sendMessage()
134 sendMessage(userAccount.getId(), phoneNumber, message); in sendMessage() local
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberRepository.java118 public void addToFavorite(Contact contact, PhoneNumber phoneNumber) { in addToFavorite()
132 public void removeFromFavorite(Contact contact, PhoneNumber phoneNumber) { in removeFromFavorite()
238 PhoneNumber phoneNumber) { in matches()
246 private boolean numberMatches(FavoriteNumberEntity favoriteNumber, PhoneNumber phoneNumber) { in numberMatches()
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/
DSmsManagerTestService.java47 String phoneNumber = intent.getStringExtra(EXTRA_SEND_NUMBER); in doInBackground() local
80 private static void sendSms(String phoneNumber, String text, PendingIntent sendIntent) { in sendSms()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DShortcutUsageReporter.java67 public static void onOutgoingCallAdded(@NonNull Context context, @Nullable String phoneNumber) { in onOutgoingCallAdded()
109 private String queryForLookupKey(String phoneNumber) { in queryForLookupKey()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/interfaces/
DDataModel.java108 void sendMessage(int accountId, @NonNull String phoneNumber, @NonNull String message); in sendMessage()
118 void sendMessage(@NonNull String iccId, @NonNull String phoneNumber, @NonNull String message); in sendMessage()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DQueryStyle.java59 public SpannableString getStringWithQueryInSpecialStyle(@NonNull String phoneNumber, in getStringWithQueryInSpecialStyle()
89 private Pair<String, Map<Integer, Integer>> getDigitsOnlyNumberInfo(String phoneNumber) { in getDigitsOnlyNumberInfo()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsHeaderViewHolder.java257 void placeImsVideoCall(String phoneNumber); in placeImsVideoCall()
260 void placeDuoVideoCall(String phoneNumber); in placeDuoVideoCall()
263 void placeVoiceCall(String phoneNumber, String postDialDigits); in placeVoiceCall()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefix.java105 static String normalizeNumberWithStar(String phoneNumber) { in normalizeNumberWithStar()
127 final String phoneNumber = normalizeNumberWithStar(cursor.getString(numberIndex)); in matchingNumberStartsWithStar() local
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/
DContactTestUtils.java65 String phoneNumber) { in createContact()
88 String phoneNumber, in insertPhoneNumber()
/packages/apps/Messaging/src/android/support/v7/mms/
DPhoneNumberHelper.java42 final Phonenumber.PhoneNumber phoneNumber = phoneNumberUtil.parse(number, country); in getNumberNoCountryCode() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDeviceInfoUtils.java40 public static void setPhoneNumber(String phoneNumber) { in setPhoneNumber()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/util/
DNumberUtils.java39 Phonenumber.PhoneNumber phoneNumber = util.parse(number, simCountryIso); in formatNumber() local
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DMissedCallReceiver.java48 String phoneNumber = intent.getStringExtra(EXTRA_NOTIFICATION_PHONE_NUMBER); in onReceive() local
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewModel.java84 public void addToFavorite(Contact contact, PhoneNumber phoneNumber) { in addToFavorite()
94 public void removeFromFavorite(Contact contact, PhoneNumber phoneNumber) { in removeFromFavorite()
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/
DPreferredAccountWorkerImpl.java99 String phoneNumber, List<PhoneAccountHandle> candidates) { in selectAccount()
103 private Result doInBackground(String phoneNumber, List<PhoneAccountHandle> candidates) { in doInBackground()
241 private Optional<String> getDataId(@Nullable String phoneNumber) { in getDataId()
259 Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(phoneNumber)), in getDataId()
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialNameMatcher.java113 public SmartDialMatchPosition matchesNumber(Context context, String phoneNumber, String query) { in matchesNumber()
150 public SmartDialMatchPosition matchesNumber(Context context, String phoneNumber) { in matchesNumber()
165 Context context, String phoneNumber, String query, int offset) { in matchesNumberWithOffset()

123456