Home
last modified time | relevance | path

Searched refs:phoneNumber (Results 1 – 17 of 17) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DPhoneAccountTest.java102 final String phoneNumber = NORMAL_PHONE_NUMBER; in internalTestOutgoingCall() local
104 cleanupCall(phoneNumber, false /*verifyDeletion*/); in internalTestOutgoingCall()
120 placeCallUsingTelecomManager(phoneAccountHandle, phoneNumber); in internalTestOutgoingCall()
122 placeCallUsingActionCall(phoneAccountHandle, phoneNumber); in internalTestOutgoingCall()
128 assertCalllogInserted(Calls.OUTGOING_TYPE, phoneNumber); in internalTestOutgoingCall()
131 cleanupCall(phoneNumber, true /* verifyDeletion */ ); in internalTestOutgoingCall()
137 PhoneAccountHandle phoneAccountHandle, String phoneNumber) { in placeCallUsingTelecomManager() argument
139 PhoneAccount.SCHEME_TEL, phoneNumber, null); in placeCallUsingTelecomManager()
146 PhoneAccountHandle phoneAccountHandle, String phoneNumber) { in placeCallUsingActionCall() argument
148 intent.setData(Uri.parse("tel:" + phoneNumber)); in placeCallUsingActionCall()
[all …]
DContactsTest.java1154 private void insertContact(String displayName, String phoneNumber, String email, in insertContact() argument
1180 phoneNumber) in insertContact()
1279 private ContactInfo getContactInfoFromPhoneLookupUri(boolean isEnterprise, String phoneNumber) { in getContactInfoFromPhoneLookupUri() argument
1282 Uri uri = baseUri.buildUpon().appendPath(phoneNumber).build(); in getContactInfoFromPhoneLookupUri()
1304 private ContactInfo getContactInfoFromEnterprisePhoneLookupUriInDirectory(String phoneNumber, in getContactInfoFromEnterprisePhoneLookupUriInDirectory() argument
1306 Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon().appendPath(phoneNumber) in getContactInfoFromEnterprisePhoneLookupUriInDirectory()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockedNumberUtil.java50 public static Uri insertBlockedNumber(Context context, String phoneNumber) { in insertBlockedNumber() argument
52 intent.putExtra(PHONE_NUMBER_EXTRA, phoneNumber); in insertBlockedNumber()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DEabBulkCapabilityUpdaterTest.java307 String phoneNumber, int retryTimes) throws Exception { in waitingEabProviderInsertContact() argument
312 contactFromEab = getEabContact(phoneNumber); in waitingEabProviderInsertContact()
320 String phoneNumber, int retryTimes) throws Exception { in waitingEabProviderDeleteContact() argument
323 contactFromEab = getEabContact(phoneNumber); in waitingEabProviderDeleteContact()
633 Phonenumber.PhoneNumber phoneNumber = util.parse(number, simCountryIso); in formatNumber() local
634 return util.format(phoneNumber, PhoneNumberUtil.PhoneNumberFormat.E164); in formatNumber()
DEabControllerTest.java640 Phonenumber.PhoneNumber phoneNumber = util.parse(number, simCountryIso); in formatNumber() local
641 return util.format(phoneNumber, PhoneNumberUtil.PhoneNumberFormat.E164); in formatNumber()
DCallDomainSelectionTestOnMockModem.java221 private void placeOutgoingCall(String phoneNumber) { in placeOutgoingCall() argument
223 final Uri address = Uri.fromParts(PhoneAccount.SCHEME_TEL, phoneNumber, null); in placeOutgoingCall()
DImsServiceTest.java6150 String phoneNumber = sm.getPhoneNumber(sTestSub, in testImsPhoneNumberWithImsAssociatedUri() local
6154 assertEquals("+447539447777", phoneNumber); in testImsPhoneNumberWithImsAssociatedUri()
6227 String phoneNumber = sm.getPhoneNumber(sTestSub, in testImsPhoneNumberWithImsAssociatedUriForNonGlobalNumberFormat() local
6231 assertEquals("447539447777", phoneNumber); in testImsPhoneNumberWithImsAssociatedUriForNonGlobalNumberFormat()
6315 String phoneNumber = sm.getPhoneNumber(sTestSub, in testClearImsPhoneNumberWithImsAssociatedUri() local
6319 assertEquals("+447539447777", phoneNumber); in testClearImsPhoneNumberWithImsAssociatedUri()
6341 String phoneNumber = sm.getPhoneNumber(sTestSub, in testClearImsPhoneNumberWithImsAssociatedUri() local
6345 assertEquals("", phoneNumber); in testClearImsPhoneNumberWithImsAssociatedUri()
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/
DSimPhonebookContract_SimRecordsTest.java334 String phoneNumber; in insertAdn_valueLengthLimits() local
348 phoneNumber = new String(chars); in insertAdn_valueLengthLimits()
352 values.put(SimRecords.PHONE_NUMBER, phoneNumber); in insertAdn_valueLengthLimits()
365 values.put(SimRecords.PHONE_NUMBER, phoneNumber + '2'); in insertAdn_valueLengthLimits()
374 assertThat(cursor).hasSingleRow(name, phoneNumber); in insertAdn_valueLengthLimits()
629 private Uri insertAdn(int subscriptionId, String name, String phoneNumber) { in insertAdn() argument
632 values.put(SimRecords.PHONE_NUMBER, phoneNumber); in insertAdn()
DSimPhonebookContract_SimRecordsMultiSimTest.java187 private Uri insertAdn(int subscriptionId, String name, String phoneNumber) { in insertAdn() argument
190 values.put(SimRecords.PHONE_NUMBER, phoneNumber); in insertAdn()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DBaseNotificationManagerTest.java318 boolean isCall, Uri phoneNumber) { in sendNotification() argument
338 if (phoneNumber != null) { in sendNotification()
341 pList.add(new Person.Builder().setUri(phoneNumber.toString()).build()); in sendNotification()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DPhoneNumberUtilsTest.java385 String phoneNumber = "6512223333"; in testGetPhoneTtsSpan() local
387 TtsSpan ttsSpan = PhoneNumberUtils.createTtsSpan(phoneNumber); in testGetPhoneTtsSpan()
409 CharSequence phoneNumber = "6512223333"; in testGetPhoneTtsSpannable() local
411 Spannable spannable = (Spannable) PhoneNumberUtils.createTtsSpannable(phoneNumber); in testGetPhoneTtsSpannable()
DTelephonyManagerTestOnMockModem.java687 String phoneNumber = "+886987654321"; in testVoiceCallState() local
688 final Uri address = Uri.fromParts(PhoneAccount.SCHEME_TEL, phoneNumber, null); in testVoiceCallState()
742 slotId, phoneNumber, uusInfo, null, callControlInfo); in testVoiceCallState()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java137 String phoneNumber = tm.getLine1Number(); in onStart() local
138 addResult(PHONE_NUMBER, phoneNumber); in onStart()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java373 public Uri insertContactWithPhoto(ContentResolver contentResolver, String phoneNumber) in insertContactWithPhoto() argument
403 .withValue(ContactsContract.CommonDataKinds.Phone.NUMBER, phoneNumber) in insertContactWithPhoto()
418 String phoneNumber = getTestNumber().getSchemeSpecificPart(); in testContactPhotoUri() local
421 .appendPath(phoneNumber) in testContactPhotoUri()
DTestUtils.java957 public static Uri insertContact(ContentResolver contentResolver, String phoneNumber) in insertContact() argument
976 .withValue(ContactsContract.CommonDataKinds.Phone.NUMBER, phoneNumber) in insertContact()
/cts/tests/tests/provider/src/android/provider/cts/
DBlockedNumberContractTest.java597 boolean expected, String phoneNumber, int presentationNumber, in assertShouldSystemBlock() argument
599 assertEquals(expected, blockedNumbersManager.shouldSystemBlockNumber(phoneNumber, in assertShouldSystemBlock()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt1292 field @Deprecated public static final int phoneNumber = 16843111; // 0x1010167