Home
last modified time | relevance | path

Searched refs:getScheme (Results 1 – 25 of 57) 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.java177 public abstract String getScheme(); in getScheme() method in Uri
368 String scheme = getScheme(); in toSafeString()
539 public String getScheme() { in getScheme() method in Uri.StringUri
787 .scheme(getScheme()) in buildUpon()
794 .scheme(getScheme()) in buildUpon()
875 public String getScheme() { in getScheme() method in Uri.OpaqueUri
1190 public String getScheme() { in getScheme() method in Uri.HierarchicalUri
1754 String scheme = getScheme(); in normalizeScheme()
2313 if ("file".equals(getScheme())) { in getCanonicalUri()
2346 if ("file".equals(getScheme()) 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.java138 final String contentUriScheme = contentUri.getScheme(); in validateInternal()
146 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/tests/coretests/src/android/view/textclassifier/
DTextClassificationManagerTest.java243 scheme = result.getIntent().getData().getScheme();
247 scheme = result.getIntent().getData().getScheme();
/frameworks/support/tv-provider/src/android/support/media/tv/
DChannelLogoUtils.java78 String scheme = logoUri.normalizeScheme().getScheme(); in storeChannelLogo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalConnection.java225 if (PhoneAccount.SCHEME_SIP.equals(address.getScheme())) { in setExternalConnectionAddress()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java101 TestCase.assertTrue(ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())); in queryEntities()
/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java155 String scheme = uri.getScheme(); in setDataSource()
DMediaExtractor.java108 String scheme = uri.getScheme(); in setDataSource()
DUtils.java359 String scheme = uri.getScheme();
/frameworks/base/core/java/android/content/
DClipData.java382 final String scheme = uri.getScheme(); in coerceToText()
575 final String scheme = mUri.getScheme(); in coerceToHtmlOrStyledText()
801 if (SCHEME_CONTENT.equals(uri.getScheme())) { in getMimeTypes()
DContentResolver.java574 if (!SCHEME_CONTENT.equals(url.getScheme())) { in getType()
951 String scheme = uri.getScheme(); in openInputStream()
1230 String scheme = uri.getScheme(); in openAssetFileDescriptor()
1728 if (!SCHEME_CONTENT.equals(uri.getScheme())) { in acquireProvider()
1747 if (!SCHEME_CONTENT.equals(uri.getScheme())) { in acquireExistingProvider()
1775 if (!SCHEME_CONTENT.equals(uri.getScheme())) { in acquireUnstableProvider()
/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.java451 if ("tel".equals(uri.getScheme())) { in work()
454 } 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.java378 if (referrer != null && "android-app".equals(referrer.getScheme())) { in getReferrerPackageName()
683 if (data != null && data.getScheme() != null) { in onTargetSelected()
688 || (!"file".equals(data.getScheme()) in onTargetSelected()
689 && !"content".equals(data.getScheme()))) { in onTargetSelected()
690 filter.addDataScheme(data.getScheme()); in onTargetSelected()
776 String dataScheme = (data != null) ? data.getScheme() : null; in onTargetSelected()
/frameworks/support/core-utils/java/android/support/v4/content/
DLocalBroadcastManager.java214 final String scheme = intent.getScheme(); in sendBroadcast()
/frameworks/base/services/core/java/com/android/server/firewall/
DStringFilter.java297 return data.getScheme();
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java314 && "content".equals(mLaunchIntent.getData().getScheme())) { in run()

123