Home
last modified time | relevance | path

Searched refs:getScheme (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/content/
DFakeProviderRemote.java66 return new Uri.Builder().scheme(uri.getScheme()).authority(uri.getAuthority()) in canonicalize()
75 return new Uri.Builder().scheme(uri.getScheme()).authority(uri.getAuthority()) in uncanonicalize()
/frameworks/base/telephony/java/android/telephony/mbms/
DUriPathPair.java38 if (fileUri == null || !ContentResolver.SCHEME_FILE.equals(fileUri.getScheme())) { in UriPathPair()
41 if (contentUri == null || !ContentResolver.SCHEME_CONTENT.equals(contentUri.getScheme())) { in UriPathPair()
DMbmsTempFileProvider.java147 if (!ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())) { in getFileForUri()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DWebAsset.java66 public String getScheme() { in getScheme() method in WebAsset
114 return SCHEME_HTTP.equals(getScheme()); in followInsecureInclude()
/frameworks/base/core/java/android/net/
DUri.java192 public abstract String getScheme(); in getScheme() method in Uri
399 String scheme = getScheme(); in toSafeString()
570 public String getScheme() { in getScheme() method in Uri.StringUri
826 .scheme(getScheme()) in buildUpon()
833 .scheme(getScheme()) in buildUpon()
914 public String getScheme() { in getScheme() method in Uri.OpaqueUri
1238 public String getScheme() { in getScheme() method in Uri.HierarchicalUri
1803 String scheme = getScheme(); in normalizeScheme()
2367 if ("file".equals(getScheme())) { in getCanonicalUri()
2400 if ("file".equals(getScheme()) in checkFileUriExposed()
[all …]
DPacProxySelector.java75 if (!"http".equalsIgnoreCase(uri.getScheme())) { in select()
76 uri = new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), "/", null, null); in select()
DWebAddress.java159 public String getScheme() { in getScheme() method in WebAddress
/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/
DIconsUriHelperTest.java62 assertThat(uri1.getScheme()).isEqualTo("content"); in testGetContentUri_multiplePackages()
63 assertThat(uri2.getScheme()).isEqualTo("content"); in testGetContentUri_multiplePackages()
/frameworks/base/core/java/android/view/inputmethod/
DInputContentInfo.java138 final String contentUriScheme = contentUri.getScheme(); in validateInternal()
146 final String scheme = linkUri.getScheme(); in validateInternal()
/frameworks/base/core/java/android/app/assist/
DAssistContent.java52 if ("http".equals(uri.getScheme()) || "https".equals(uri.getScheme())) { in setDefaultIntent()
/frameworks/base/services/people/java/com/android/server/people/data/
DContactsQueryHelper.java55 if ("tel".equals(uri.getScheme())) { in query()
57 } else if ("mailto".equals(uri.getScheme())) { in query()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java122 if (packageUri != null && packageUri.getScheme().equals( in onCreate()
129 } else if (packageUri != null && packageUri.getScheme().equals( in onCreate()
DInstallSuccess.java73 if ("package".equals(packageURI.getScheme())) { in onCreate()
DInstallFailed.java104 if ("package".equals(packageURI.getScheme())) { in onCreate()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java81 assertEquals("robert", u.getScheme()); in testBuildUponOpaqueStringUri()
229 assertEquals("foo", b.getScheme()); in testBuildUponOpaqueUri()
242 assertEquals("foo", b.getScheme()); in testBuildUponEncodedOpaqueUri()
330 assertEquals("empty", uri.getScheme()); in testSchemeOnly()
402 assertEquals("mailto", uri.getScheme()); in testOpaqueUri()
530 assertEquals(scheme, uri.getScheme()); in compareHierarchical()
/frameworks/base/services/core/java/com/android/server/uri/
DGrantUri.java79 if (ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())) { in resolve()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java63 String scheme = mUri.getScheme(); in onCreate()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DIconsUriHelper.java107 if (!"content".equals(uri.getScheme())) { in getResourceInfo()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillUriGrantsManager.java92 if (uri == null || !SCHEME_CONTENT.equals(uri.getScheme())) { in grantUriPermissions()
/frameworks/base/core/java/android/content/
DClipData.java444 final String scheme = uri.getScheme(); in coerceToText()
637 final String scheme = mUri.getScheme(); in coerceToHtmlOrStyledText()
727 b.append("U(").append(mUri.getScheme()).append(')'); in toShortString()
914 if (SCHEME_CONTENT.equals(uri.getScheme())) { in getMimeTypes()
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java538 if ("tel".equals(uri.getScheme())) { in work()
541 } else if ("mailto".equals(uri.getScheme())) { in work()
549 if (!"name".equals(uri.getScheme())) { in work()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DPublishUtils.java95 String scheme = impuUri.getScheme(); in getContactUriFromIsim()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java101 TestCase.assertTrue(ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())); in queryEntities()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java275 && ALLOWED_TEXT_MESSAGE_SCHEMES.contains(intent.getScheme()); in isTextMessageIntent()
283 || (isViewActionIntent(intent) && TEL_SCHEME.equals(intent.getScheme())); in isDialerIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalConnection.java243 if (PhoneAccount.SCHEME_SIP.equals(address.getScheme())) { in setExternalConnectionAddress()

1234