Home
last modified time | relevance | path

Searched refs:getScheme (Results 1 – 25 of 88) 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.java193 public abstract String getScheme(); in getScheme() method in Uri
401 String scheme = getScheme(); in toSafeString()
568 public String getScheme() { in getScheme() method in Uri.StringUri
824 .scheme(getScheme()) in buildUpon()
831 .scheme(getScheme()) in buildUpon()
911 public String getScheme() { in getScheme() method in Uri.OpaqueUri
1216 return new HierarchicalUri(stringUri.getScheme(), stringUri.getAuthorityPart(), in readFrom()
1237 public String getScheme() { in getScheme() method in Uri.HierarchicalUri
1806 String scheme = getScheme(); in normalizeScheme()
2367 if ("file".equals(getScheme())) { in getCanonicalUri()
[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/tests/coretests/src/android/net/
DUriTest.java81 assertEquals("robert", u.getScheme()); in testBuildUponOpaqueStringUri()
96 assertEquals("httphttpsevil.com:/te:st/", uri.getScheme()); in testSchemeSanitization()
239 assertEquals("foo", b.getScheme()); in testBuildUponOpaqueUri()
252 assertEquals("foo", b.getScheme()); in testBuildUponEncodedOpaqueUri()
340 assertEquals("empty", uri.getScheme()); in testSchemeOnly()
412 assertEquals("mailto", uri.getScheme()); in testOpaqueUri()
540 assertEquals(scheme, uri.getScheme()); in compareHierarchical()
947 assertEquals(parsedUri.getScheme(), postParcelUri.getScheme()); in testParceledUrisAreEqual()
959 assertEquals(parsedUri.getScheme(), postParcelUri.getScheme()); in testParceledUrisAreEqual()
/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.java62 if ("http".equals(uri.getScheme()) || "https".equals(uri.getScheme())) { in setDefaultIntent()
/frameworks/base/services/people/java/com/android/server/people/data/
DContactsQueryHelper.java56 if ("tel".equals(uri.getScheme())) { in query()
58 } else if ("mailto".equals(uri.getScheme())) { in query()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DPublishUtils.java119 String scheme = impuUri.getScheme(); in getContactUriFromIsim()
171 if (contactUri.getScheme().equalsIgnoreCase(SCHEME_SIP)) { in getConvertedTelUri()
/frameworks/base/services/core/java/com/android/server/uri/
DGrantUri.java79 if (ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())) { in resolve()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DIconsUriHelper.java107 if (!"content".equals(uri.getScheme())) { in getResourceInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java83 String scheme = mUri.getScheme(); in onCreate()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillUriGrantsManager.java92 if (uri == null || !SCHEME_CONTENT.equals(uri.getScheme())) { in grantUriPermissions()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java202 && packageUri.getScheme().equals(ContentResolver.SCHEME_CONTENT) in onCreate()
211 packageUri.getScheme())) { in onCreate()
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DAvatarPhotoController.java132 if (!ContentResolver.SCHEME_CONTENT.equals(pictureUri.getScheme())) { in onActivityResult()
133 Log.e(TAG, "Invalid pictureUri scheme: " + pictureUri.getScheme()); in onActivityResult()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java101 TestCase.assertTrue(ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())); in queryEntities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalConnection.java243 if (PhoneAccount.SCHEME_SIP.equals(address.getScheme())) { in setExternalConnectionAddress()
/frameworks/base/core/java/android/content/
DClipData.java543 final String scheme = uri.getScheme(); in coerceToText()
739 final String scheme = mUri.getScheme(); in coerceToHtmlOrStyledText()
829 b.append("U(").append(mUri.getScheme()).append(')'); in toShortString()
1016 if (SCHEME_CONTENT.equals(uri.getScheme())) { in getMimeTypes()
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java561 if ("tel".equals(uri.getScheme())) { in work()
564 } else if ("mailto".equals(uri.getScheme())) { in work()
574 if (!"name".equals(uri.getScheme())) { in work()
/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java243 final String scheme = uri.getScheme(); in setDataSource()
353 String scheme = uri.getScheme(); in setDataSource()
/frameworks/base/telephony/java/com/android/telephony/
DRlog.java144 String scheme = uri.getScheme(); in piiHandle()

1234