Home
last modified time | relevance | path

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

123

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DWebAsset.java64 public String getScheme() { in getScheme() method in WebAsset
112 return SCHEME_HTTP.equals(getScheme()); in followInsecureInclude()
DDirectStatementRetriever.java133 return new URL(asset.getScheme(), asset.getDomain(), asset.getPort(), in computeAssociationJsonUrl()
/frameworks/base/core/java/android/net/
DUri.java176 public abstract String getScheme(); in getScheme() method in Uri
367 String scheme = getScheme(); in toSafeString()
538 public String getScheme() { in getScheme() method in Uri.StringUri
786 .scheme(getScheme()) in buildUpon()
793 .scheme(getScheme()) in buildUpon()
874 public String getScheme() { in getScheme() method in Uri.OpaqueUri
1189 public String getScheme() { in getScheme() method in Uri.HierarchicalUri
1753 String scheme = getScheme(); in normalizeScheme()
2312 if ("file".equals(getScheme())) { in getCanonicalUri()
2345 if ("file".equals(getScheme()) && !getPath().startsWith("/system/")) { in checkFileUriExposed()
[all …]
DPacProxySelector.java74 if (!"http".equalsIgnoreCase(uri.getScheme())) { in select()
75 uri = new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), "/", null, null); in select()
DWebAddress.java150 public String getScheme() { in getScheme() method in WebAddress
/frameworks/base/core/java/android/app/assist/
DAssistContent.java44 if ("http".equals(uri.getScheme()) || "https".equals(uri.getScheme())) { in setDefaultIntent()
/frameworks/base/core/java/android/view/inputmethod/
DInputContentInfo.java117 final String contentUriScheme = contentUri.getScheme(); in validateInternal()
125 final String scheme = linkUri.getScheme(); in validateInternal()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java77 assertEquals("robert", u.getScheme()); in testBuildUponOpaqueStringUri()
198 assertEquals("foo", b.getScheme()); in testBuildUponOpaqueUri()
211 assertEquals("foo", b.getScheme()); in testBuildUponEncodedOpaqueUri()
299 assertEquals("empty", uri.getScheme()); in testSchemeOnly()
371 assertEquals("mailto", uri.getScheme()); in testOpaqueUri()
499 assertEquals(scheme, uri.getScheme()); in compareHierarchical()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java63 String scheme = mUri.getScheme(); in onCreate()
/frameworks/base/core/java/android/content/
DContentResolver.java386 if (!SCHEME_CONTENT.equals(url.getScheme())) { in getType()
688 String scheme = uri.getScheme(); in openInputStream()
967 String scheme = uri.getScheme(); in openAssetFileDescriptor()
1465 if (!SCHEME_CONTENT.equals(uri.getScheme())) { in acquireProvider()
1484 if (!SCHEME_CONTENT.equals(uri.getScheme())) { in acquireExistingProvider()
1512 if (!SCHEME_CONTENT.equals(uri.getScheme())) { in acquireUnstableProvider()
/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.java225 if (PhoneAccount.SCHEME_SIP.equals(address.getScheme())) { in setExternalConnectionAddress()
/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java155 String scheme = uri.getScheme(); in setDataSource()
DMediaExtractor.java99 String scheme = uri.getScheme(); in setDataSource()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentClipper.java152 if ("content".equals(uri.getScheme())) { in getMimeTypes()
/frameworks/base/docs/html/training/beam-files/
Dreceive-files.jd137 To get the scheme for the URI, call {@link android.net.Uri#getScheme() Uri.getScheme()}. The
170 if (TextUtils.equals(beamUri.getScheme(), "file")) {
173 beamUri.getScheme(), "content")) {
/frameworks/base/core/java/android/service/notification/
DCondition.java222 return id != null && SCHEME.equals(id.getScheme()) && pkg.equals(id.getAuthority()); in isValidId()
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java446 if ("tel".equals(uri.getScheme())) { in work()
449 } else if ("mailto".equals(uri.getScheme())) { in work()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java207 final String scheme = uri.getScheme(); in createInputStreamFactory()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java435 if (referrer != null && "android-app".equals(referrer.getScheme())) { in getReferrerPackageName()
727 if (data != null && data.getScheme() != null) { in onTargetSelected()
732 || (!"file".equals(data.getScheme()) in onTargetSelected()
733 && !"content".equals(data.getScheme()))) { in onTargetSelected()
734 filter.addDataScheme(data.getScheme()); in onTargetSelected()
802 String dataScheme = (data != null) ? data.getScheme() : null; in onTargetSelected()
DResolverComparator.java69 String scheme = intent.getScheme(); in ResolverComparator()
/frameworks/support/core-utils/java/android/support/v4/content/
DLocalBroadcastManager.java206 final String scheme = intent.getScheme(); in sendBroadcast()
/frameworks/base/services/core/java/com/android/server/firewall/
DStringFilter.java297 return data.getScheme();
/frameworks/base/telecomm/java/android/telecom/
DLog.java169 String scheme = handle.getScheme(); in piiUri()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java315 && "content".equals(mLaunchIntent.getData().getScheme())) { in run()

123