Home
last modified time | relevance | path

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

1234

/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/
DDeviceCapabilityInfoTest.java97 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri()
98 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri()
115 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri()
116 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithoutPreferTelUri()
151 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
152 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
168 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_TEL, telNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
169 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
184 uris[0] = Uri.fromParts(PhoneAccount.SCHEME_SIP, telNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
185 uris[1] = Uri.fromParts(PhoneAccount.SCHEME_SIP, sipNumber, null); in testGetImsAssociatedUriWithPreferTelUri()
[all …]
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DUceRequestManagerTest.java112 uriList.add(Uri.fromParts("sip", "test", null)); in testSendCapabilityRequest()
125 Uri uri = Uri.fromParts("sip", "test", null); in testSendAvailabilityRequest()
164 uriList.add(Uri.fromParts("sip", "test", null)); in testCacheHitShortcut()
199 uriList.add(Uri.fromParts("sip", "test", null)); in testCacheExpiredShortcut()
235 Uri uri1 = Uri.fromParts("sip", "cachetest", null); in testCacheHitShortcutForSubsetOfCaps()
247 Uri uri2 = Uri.fromParts("sip", "nettest", null); in testCacheHitShortcutForSubsetOfCaps()
276 Uri contact = Uri.fromParts("sip", "test", null); in testRequestManagerCallback()
355 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);
DSubscribeRequestTest.java59 private static final Uri CONTACT1 = Uri.fromParts("sip", "test1", null);
60 private static final Uri CONTACT2 = Uri.fromParts("sip", "test2", null);
144 Uri contact = Uri.fromParts("sip", "test", null); in testResourceTerminated()
DRemoteOptionsCoordinatorTest.java62 private Uri mContact = Uri.fromParts("sip", "test1", null);
DRemoteOptionsRequestTest.java73 mTestContact = Uri.fromParts("sip", "test", null); in setUp()
DSubscribeCoordinatorTest.java79 private Uri mContact = Uri.fromParts("sip", "test1", null);
179 Uri contactUri = Uri.fromParts("tel", "123456789", null); in testRequestNetworkRespFailure()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java413 .setData(Uri.fromParts("tel", PHONE_NUMBER, null)); in shouldSkipDisclosure_callIntent_actionViewTel()
426 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_sms()
439 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_smsto()
452 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mms()
465 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mmsto()
479 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSms()
493 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSmsto()
507 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMms()
521 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMmsto()
534 .setData(Uri.fromParts("invalid", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_invalidUri()
[all …]
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/
DUceControllerTest.java166 uriList.add(Uri.fromParts("sip", "test", null)); in testRequestCapabilitiesWithForbidden()
184 uriList.add(Uri.fromParts("sip", "test", null)); in testRequestCapabilitiesWithRcsConnected()
196 Uri contact = Uri.fromParts("sip", "test", null); in testRequestAvailabilityWithRcsDisconnected()
212 Uri contact = Uri.fromParts("sip", "test", null); in testRequestAvailabilityWithForbidden()
226 Uri contact = Uri.fromParts("sip", "test", null); in testRequestAvailabilityWithRcsConnected()
/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/
DPackageMonitorTest.java213 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageRestarted()
232 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageUnstopped()
270 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageDataClear()
286 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageChanged()
321 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageRemovedReplacing()
359 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageRemovedReplacingArchived()
402 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageRemovedNotReplacing()
446 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageAddReplacing()
485 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageAddNotReplacing()
/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/base/core/java/android/app/
DAppDetailsActivity.java35 intent.setData(android.net.Uri.fromParts("package", getPackageName(), null)); in onCreate()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java841 Uri source = Uri.fromParts("tel", "+16505551212", null); in testConvertSipUriToTelUri1()
842 Uri expected = Uri.fromParts("tel", "+16505551212", null); in testConvertSipUriToTelUri1()
847 source = Uri.fromParts("sip", "+16505551212@sipinator.com", null); in testConvertSipUriToTelUri1()
851 source = Uri.fromParts("sip", "+16505551212;phone-context=blah.com@host.com", null); in testConvertSipUriToTelUri1()
855 source = Uri.fromParts("sip", "+16505551212@something.com;user=phone", null); in testConvertSipUriToTelUri1()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMimeTest.java117 Uri uri = Uri.fromParts("file", MP3_FILE, null); in resolveMime()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DNormalCallDomainSelectionConnection.java119 .setAddress(Uri.fromParts(PhoneAccount.SCHEME_TEL, number, null)) in getSelectionAttributes()
/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/tests/coretests/src/android/net/
DUriTest.java49 parcelAndUnparcel(Uri.fromParts("foo", "bob lee", "fragment")); in testParcelling()
50 parcelAndUnparcel(Uri.fromParts("https", "www.google.com", null)); in testParcelling()
235 Uri a = Uri.fromParts("foo", "bar", "tee"); in testBuildUponOpaqueUri()
395 uri = Uri.fromParts("mailto", "nobody", null); in testOpaqueUri()
572 parcelAndUnparcel(Uri.fromParts("foo", "bob lee", "fragment")); in testParcellingWithoutFragment()
940 Uri opaqueUri = Uri.fromParts("fake://uri#", "ssp", "fragment"); in testParceledUrisAreEqual()
/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/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarDisplayCompatScaleProviderUpdatableTest.java580 i.setData(Uri.fromParts(DATA_SCHEME_PACKAGE, "package1" , null)); in packageAdded_updatesConfig()
601 i.setData(Uri.fromParts(DATA_SCHEME_PACKAGE, "package1" , null)); in packageChanged_updatesConfig()
622 i.setData(Uri.fromParts(DATA_SCHEME_PACKAGE, "package1" , null)); in packageReplaced_updatesConfig()
646 i.setData(Uri.fromParts(DATA_SCHEME_PACKAGE, "package1" , null)); in packageRemoved_updatesConfig()
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java172 dialIntentWithTelScheme.setData(Uri.fromParts(PhoneAccount.SCHEME_TEL, "", null)); in getInstalledDialerApplications()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileUserActionInteractor.kt166 Uri.fromParts(IntentFilter.SCHEME_PACKAGE, componentName.packageName, null) in longClick()

1234