/packages/services/Mms/tests/unittests/src/com/android/mms/service/ |
D | MmsHttpClientTest.java | 92 verify(mSubscriptionManager, never()).getPhoneNumber(subId); in getPhoneNumberForMacroLine1() 96 when(mSubscriptionManager.getPhoneNumber(subId)).thenReturn(subscriberPhoneNumber); in getPhoneNumberForMacroLine1() 99 verify(mSubscriptionManager).getPhoneNumber(subId); in getPhoneNumberForMacroLine1() 103 when(mSubscriptionManager.getPhoneNumber(subId)).thenReturn(subscriberPhoneNumber); in getPhoneNumberForMacroLine1() 107 verify(mSubscriptionManager).getPhoneNumber(subId); in getPhoneNumberForMacroLine1() 124 verify(mSubscriptionManager, never()).getPhoneNumber(subId); in getPhoneNumberForMacroLine1CountryCode() 128 when(mSubscriptionManager.getPhoneNumber(subId)).thenReturn(subscriberPhoneNumber); in getPhoneNumberForMacroLine1CountryCode() 131 verify(mSubscriptionManager).getPhoneNumber(subId); in getPhoneNumberForMacroLine1CountryCode() 135 when(mSubscriptionManager.getPhoneNumber(subId)).thenReturn(subscriberPhoneNumber); in getPhoneNumberForMacroLine1CountryCode() 139 verify(mSubscriptionManager).getPhoneNumber(subId); in getPhoneNumberForMacroLine1CountryCode()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | SubscriptionUtilTest.java | 217 when(mSubMgr.getPhoneNumber(SUBID_1)).thenReturn("1112223333"); in getUniqueDisplayNames_uniqueCarriers_originalUsed() 218 when(mSubMgr.getPhoneNumber(SUBID_2)).thenReturn("2223334444"); in getUniqueDisplayNames_uniqueCarriers_originalUsed() 247 when(mSubMgr.getPhoneNumber(SUBID_1)).thenReturn("1112223333"); in getUniqueDisplayNames_identicalCarriers_fourDigitsUsed() 248 when(mSubMgr.getPhoneNumber(SUBID_2)).thenReturn("2223334444"); in getUniqueDisplayNames_identicalCarriers_fourDigitsUsed() 277 when(mSubMgr.getPhoneNumber(SUBID_1)).thenReturn("1112223333"); in getUniqueDisplayNames_identicalCarriersAfterTrim_fourDigitsUsed() 278 when(mSubMgr.getPhoneNumber(SUBID_2)).thenReturn("2223334444"); in getUniqueDisplayNames_identicalCarriersAfterTrim_fourDigitsUsed() 306 when(mSubMgr.getPhoneNumber(SUBID_1)).thenReturn(""); in getUniqueDisplayNames_phoneNumberBlocked_subscriptionIdFallback() 307 when(mSubMgr.getPhoneNumber(SUBID_2)).thenReturn(""); in getUniqueDisplayNames_phoneNumberBlocked_subscriptionIdFallback() 342 when(mSubMgr.getPhoneNumber(SUBID_1)).thenReturn("1112223333"); in getUniqueDisplayNames_phoneNumberIdentical_subscriptionIdFallback() 343 when(mSubMgr.getPhoneNumber(SUBID_2)).thenReturn("2223334444"); in getUniqueDisplayNames_phoneNumberIdentical_subscriptionIdFallback() [all …]
|
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/ |
D | MDNHandlerHeaderFragment.java | 19 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.getPhoneNumber; 50 String slot0PhoneNumber = getPhoneNumber(getContext(), 0); in onCreatePreferences() 57 String slot1PhoneNumber = getPhoneNumber(getContext(), 1); in onCreatePreferences()
|
D | SmartForwardingFragment.java | 20 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.getPhoneNumber; 68 String slot0PhoneNumber = getPhoneNumber(getContext(), 0); in onPreferenceChange() 69 String slot1PhoneNumber = getPhoneNumber(getContext(), 1); in onPreferenceChange()
|
D | SmartForwardingUtils.java | 133 public static String getPhoneNumber(Context context, int slotId) { in getPhoneNumber() method in SmartForwardingUtils
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | SmsMmsContactsTest.java | 101 assertThat(mContacts.getPhoneNumber(mResolver, TEST_ID)).isEqualTo(TEST_PHONE_NUMBER); in fillPhoneCache() 113 assertThat(mContacts.getPhoneNumber(mResolver, TEST_ID)).isEqualTo(TEST_PHONE_NUMBER); in fillPhoneCache_withNonNullPhoneNumbers() 119 assertThat(mContacts.getPhoneNumber(mResolver, TEST_ID)).isNull(); in fillPhoneCache_withNonNullPhoneNumbers() 133 assertThat(mContacts.getPhoneNumber(mResolver, TEST_ID)).isEqualTo(TEST_PHONE_NUMBER); in clearCache() 140 assertThat(mContacts.getPhoneNumber(mResolver, TEST_ID)).isEqualTo(null); in clearCache()
|
/packages/apps/Dialer/java/com/android/dialer/postcall/ |
D | PostCall.java | 75 String number = Assert.isNotNull(getPhoneNumber(activity)); in promptUserToSendMessage() 123 String number = Assert.isNotNull(getPhoneNumber(activity)); in promptUserToViewSentMessage() 228 && getPhoneNumber(context) != null in shouldPromptUserToSendMessage() 239 private static String getPhoneNumber(Context context) { in getPhoneNumber() method in PostCall
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | MissedCallNotifier.java | 78 public String getPhoneNumber() { in getPhoneNumber() method in MissedCallNotifier.CallInfo 79 return mCallerInfo == null ? null : mCallerInfo.getPhoneNumber(); in getPhoneNumber()
|
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/ |
D | SmsManagerTestApp.java | 96 mPhoneNumber.setText(getPhoneNumber(), TextView.BufferType.NORMAL); in onResume() 123 mPhoneNumber.setText(getPhoneNumber(), TextView.BufferType.NORMAL); in onRequestPermissionsResult() 228 private String getPhoneNumber() { in getPhoneNumber() method in SmsManagerTestApp
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PhoneNumberPickerFragment.java | 159 final String number = getPhoneNumber(position); in callNumber() 175 protected String getPhoneNumber(int position) { in getPhoneNumber() method in PhoneNumberPickerFragment 177 return adapter.getPhoneNumber(position); in getPhoneNumber()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MissedCallNotifierTest.java | 75 assertEquals(phoneNumber, callInfo.getPhoneNumber()); in testCallInfoFactory() 90 assertNull(callInfo.getPhoneNumber()); in testCallInfoFactoryNullParam()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreferenceTest.java | 97 when(contact.getPhoneNumber()).thenReturn(phoneNumber); in testAddAndRemoveEmergencyContact() 126 when(contactJane.getPhoneNumber()).thenReturn(phoneNumberJane); in testReloadFromPreference() 135 when(contactJohn.getPhoneNumber()).thenReturn(phoneNumberJohn); in testReloadFromPreference()
|
D | ContactPreferenceTest.java | 61 when(mContact.getPhoneNumber()).thenReturn(PHONE_NUMBER); in setUp() 72 assertThat(mPreference.getContact().getPhoneNumber()).isEqualTo(PHONE_NUMBER); in testContactPreference()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | PhoneFragmentViewModel.java | 123 mNumber = info.getPhoneNumber(); in ContactInfo() 125 mContact = InMemoryPhoneBook.get().lookupContactEntry(info.getPhoneNumber()); in ContactInfo()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | NonPhoneActivity.java | 49 final String phoneNumber = getPhoneNumber(); in onCreate() 62 private String getPhoneNumber() { in getPhoneNumber() method in NonPhoneActivity
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/network/ |
D | SimOnboardingSelectSimTest.kt | 58 on { getPhoneNumber(SUB_ID_1) } doReturn NUMBER_1 in <lambda>() 59 on { getPhoneNumber(SUB_ID_2) } doReturn NUMBER_2 in <lambda>() 60 on { getPhoneNumber(SUB_ID_3) } doReturn NUMBER_3 in <lambda>()
|
D | SimOnboardingLabelSimTest.kt | 69 on { getPhoneNumber(SUB_ID_1) } doReturn NUMBER_1 in <lambda>() 70 on { getPhoneNumber(SUB_ID_2) } doReturn NUMBER_2 in <lambda>() 71 on { getPhoneNumber(SUB_ID_3) } doReturn NUMBER_3 in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 87 simStatusPreference.setSummary(getPhoneNumber(simSlotNumber)); in updateState() 107 private CharSequence getPhoneNumber(int simSlot) { in getPhoneNumber() method in PhoneNumberPreferenceController
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | ContactPreference.java | 133 mContact.getPhoneNumber() : in setPhoneUri() 137 BidiFormatter.getInstance().unicodeWrap(mContact.getPhoneNumber(), in setPhoneUri() 227 tm.placeCall(Uri.parse("tel:" + mContact.getPhoneNumber()), null); in callContact()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorConnectionService.java | 131 getPhoneNumber(request), in onCreateIncomingConnection() 171 private static Uri getPhoneNumber(ConnectionRequest request) { in getPhoneNumber() method in SimulatorConnectionService
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | VoicemailPopulator.java | 136 public abstract String getPhoneNumber(); in getPhoneNumber() method in VoicemailPopulator.Voicemail 156 values.put(Voicemails.NUMBER, getPhoneNumber()); in getAsContentValues()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CallerInfoIntegrationTest.java | 53 assertEquals("800-466-4411", callerInfo.getPhoneNumber()); in testCallerInfo()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EditPhoneNumberPreference.java | 380 public String getPhoneNumber() { in getPhoneNumber() method in EditPhoneNumberPreference 506 return ((isToggled() ? VALUE_ON : VALUE_OFF) + VALUE_SEPARATOR + getPhoneNumber()); in getStringValue()
|
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/ |
D | ContactListActivity.java | 169 String phoneNumber = getPhoneNumber(cursor); in querySummaryData() 266 private String getPhoneNumber(Cursor cursor) { in getPhoneNumber() method in ContactListActivity
|
/packages/apps/EmergencyInfo/src/com/android/emergency/ |
D | EmergencyContactManager.java | 174 public String getPhoneNumber() { in getPhoneNumber() method in EmergencyContactManager.Contact
|