Home
last modified time | relevance | path

Searched refs:fromParts (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/
DDeviceCapabilityInfoTest.java60 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri()
61 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri()
78 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri()
79 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri()
97 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
98 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
114 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
115 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
130 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_SIP, telNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
131 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DUceRequestManagerTest.java103 uriList.add(Uri.fromParts("sip", "test", null)); in testSendCapabilityRequest()
115 Uri uri = Uri.fromParts("sip", "test", null); in testSendAvailabilityRequest()
151 uriList.add(Uri.fromParts("sip", "test", null)); in testCacheHitShortcut()
184 uriList.add(Uri.fromParts("sip", "test", null)); in testCacheExpiredShortcut()
218 Uri uri1 = Uri.fromParts("sip", "cachetest", null); in testCacheHitShortcutForSubsetOfCaps()
230 Uri uri2 = Uri.fromParts("sip", "nettest", null); in testCacheHitShortcutForSubsetOfCaps()
257 Uri contact = Uri.fromParts("sip", "test", null); in testRequestManagerCallback()
335 Uri contact = Uri.fromParts("sip", "test", null); in testRetrieveCapForRemote()
DCapabilityRequestTest.java61 private final Uri contact1 = Uri.fromParts("sip", "test1", null);
62 private final Uri contact2 = Uri.fromParts("sip", "test2", null);
DRemoteOptionsCoordinatorTest.java62 private Uri mContact = Uri.fromParts("sip", "test1", null);
DRemoteOptionsRequestTest.java73 mTestContact = Uri.fromParts("sip", "test", null); in setUp()
DOptionsRequestTest.java82 mTestContact = Uri.fromParts("sip", "test", null); in setUp()
DSubscribeRequestTest.java127 Uri contact = Uri.fromParts("sip", "test", null); in testResourceTerminated()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java383 .setData(Uri.fromParts("tel", PHONE_NUMBER, null)); in shouldSkipDisclosure_callIntent_actionViewTel()
396 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_sms()
409 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_smsto()
422 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mms()
435 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mmsto()
449 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSms()
463 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSmsto()
477 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMms()
491 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMmsto()
504 .setData(Uri.fromParts("invalid", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_invalidUri()
[all …]
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/
DUceControllerTest.java164 uriList.add(Uri.fromParts("sip", "test", null)); in testRequestCapabilitiesWithForbidden()
182 uriList.add(Uri.fromParts("sip", "test", null)); in testRequestCapabilitiesWithRcsConnected()
194 Uri contact = Uri.fromParts("sip", "test", null); in testRequestAvailabilityWithRcsDisconnected()
210 Uri contact = Uri.fromParts("sip", "test", null); in testRequestAvailabilityWithForbidden()
224 Uri contact = Uri.fromParts("sip", "test", null); in testRequestAvailabilityWithRcsConnected()
/frameworks/base/core/java/android/app/
DAppDetailsActivity.java35 intent.setData(android.net.Uri.fromParts("package", getPackageName(), null)); in onCreate()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DContactTest.java69 String testedContact = Uri.fromParts("sip", "test", null).toString(); in testSerializing()
93 final String testedContact = Uri.fromParts("sip", "test", null).toString(); in testParsing()
DPresenceTest.java77 String contact = Uri.fromParts("sip", "test", null).toString(); in testSerializing()
119 final String contact = Uri.fromParts("sip", "test", null).toString(); in testParsing()
176 final String contact = Uri.fromParts("sip", "test", null).toString(); in testMalformedParsing()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java736 Uri source = Uri.fromParts("tel", "+16505551212", null); in testConvertSipUriToTelUri1()
737 Uri expected = Uri.fromParts("tel", "+16505551212", null); in testConvertSipUriToTelUri1()
742 source = Uri.fromParts("sip", "+16505551212@sipinator.com", null); in testConvertSipUriToTelUri1()
746 source = Uri.fromParts("sip", "+16505551212;phone-context=blah.com@host.com", null); in testConvertSipUriToTelUri1()
750 source = Uri.fromParts("sip", "+16505551212@something.com;user=phone", null); in testConvertSipUriToTelUri1()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DPublishUtils.java139 return Uri.fromParts(SCHEME_SIP, phoneNumber + DOMAIN_SEPARATOR + domain, null); in getContactUriFromLine1Number()
141 return Uri.fromParts(SCHEME_TEL, phoneNumber, null); in getContactUriFromLine1Number()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/
DRcsContactUceCapabilityWrapperTest.java67 final Uri contact = Uri.fromParts("sip", "test", null); in getRcsContactUceCapabilityWrapper()
/frameworks/base/core/java/com/android/internal/util/
DEmergencyAffordanceManager.java67 return Uri.fromParts("tel", number, null); in getPhoneUri()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMimeTest.java118 Uri uri = Uri.fromParts("file", MP3_FILE, null); in resolveMime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DPluginFragment.java198 pkg != null ? Uri.fromParts("package", pkg, null) : null); in persistBoolean()
223 intent.setData(Uri.fromParts("package", mInfo.packageName, null)); in onBindViewHolder()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java355 createUri = Uri.fromParts("tel", extras.getString(EXTRA_URI_CONTENT), null); in onQueryComplete()
369 createUri = Uri.fromParts("mailto", in onQueryComplete()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java50 parcelAndUnparcel(Uri.fromParts("foo", "bob lee", "fragment")); in testParcelling()
51 parcelAndUnparcel(Uri.fromParts("https", "www.google.com", null)); in testParcelling()
226 Uri a = Uri.fromParts("foo", "bar", "tee"); in testBuildUponOpaqueUri()
386 uri = Uri.fromParts("mailto", "nobody", null); in testOpaqueUri()
563 parcelAndUnparcel(Uri.fromParts("foo", "bob lee", "fragment")); in testParcellingWithoutFragment()
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java172 dialIntentWithTelScheme.setData(Uri.fromParts(PhoneAccount.SCHEME_TEL, "", null)); in getInstalledDialerApplications()
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DConferenceParticipant.java354 return Uri.fromParts(PhoneAccount.SCHEME_TEL, in getParticipantAddress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesDialog.java71 intent.setData(Uri.fromParts("package", pkg, null));
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java139 Uri.fromParts("package", packageName, null)); in getContentIntent()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java497 intent.setData(Uri.fromParts("content", "//status_bar_test/delete/" + id, null)); in makeDeleteIntent()
505 intent.setData(Uri.fromParts("content", "//status_bar_test/content/" + id, null)); in makeContentIntent()

123