Home
last modified time | relevance | path

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

123

/frameworks/base/telephony/java/android/telephony/mbms/
DUriPathPair.java40 if (fileUri == null || !ContentResolver.SCHEME_FILE.equals(fileUri.getScheme())) { in UriPathPair()
43 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.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.java181 public abstract String getScheme(); in getScheme() method in Uri
388 String scheme = getScheme(); in toSafeString()
559 public String getScheme() { in getScheme() method in Uri.StringUri
815 .scheme(getScheme()) in buildUpon()
822 .scheme(getScheme()) in buildUpon()
903 public String getScheme() { in getScheme() method in Uri.OpaqueUri
1227 public String getScheme() { in getScheme() method in Uri.HierarchicalUri
1792 String scheme = getScheme(); in normalizeScheme()
2353 if ("file".equals(getScheme())) { in getCanonicalUri()
2386 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.java157 public String getScheme() { in getScheme() method in WebAddress
/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/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java112 if (packageUri != null && packageUri.getScheme().equals( in onCreate()
119 } else if (packageUri != null && packageUri.getScheme().equals( in onCreate()
DInstallSuccess.java64 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.java78 assertEquals("robert", u.getScheme()); in testBuildUponOpaqueStringUri()
209 assertEquals("foo", b.getScheme()); in testBuildUponOpaqueUri()
222 assertEquals("foo", b.getScheme()); in testBuildUponEncodedOpaqueUri()
310 assertEquals("empty", uri.getScheme()); in testSchemeOnly()
382 assertEquals("mailto", uri.getScheme()); in testOpaqueUri()
510 assertEquals(scheme, uri.getScheme()); in compareHierarchical()
/frameworks/base/services/core/java/com/android/server/uri/
DGrantUri.java78 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/core/java/com/android/internal/app/
DIntentForwarderActivity.java166 && ALLOWED_TEXT_MESSAGE_SCHEMES.contains(intent.getScheme()); in isTextMessageIntent()
174 || (isViewActionIntent(intent) && TEL_SCHEME.equals(intent.getScheme())); in isDialerIntent()
DAbstractResolverComparator.java94 String scheme = intent.getScheme(); in AbstractResolverComparator()
DResolverActivity.java488 if (referrer != null && "android-app".equals(referrer.getScheme())) {
826 return (IntentFilter.SCHEME_HTTP.equals(intent.getScheme())
827 || IntentFilter.SCHEME_HTTPS.equals(intent.getScheme()))
1001 if (data != null && data.getScheme() != null) {
1006 || (!"file".equals(data.getScheme())
1007 && !"content".equals(data.getScheme()))) {
1008 filter.addDataScheme(data.getScheme());
1094 String dataScheme = (data != null) ? data.getScheme() : null;
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java491 if ("tel".equals(uri.getScheme())) { in work()
494 } else if ("mailto".equals(uri.getScheme())) { in work()
502 if (!"name".equals(uri.getScheme())) { in work()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalConnection.java231 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/services/core/java/com/android/server/clipboard/
DClipboardService.java618 if (uri == null || !ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())) return; in checkUriOwnerLocked()
651 if (uri == null || !ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())) return; in grantUriLocked()
708 if (uri == null || !ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())) return; in revokeUriLocked()
/frameworks/base/core/java/android/service/notification/
DCondition.java227 return id != null && SCHEME.equals(id.getScheme()) && pkg.equals(id.getAuthority()); in isValidId()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java207 final String scheme = uri.getScheme(); in createInputStreamFactory()
/frameworks/base/core/java/android/content/
DClipData.java398 final String scheme = uri.getScheme(); in coerceToText()
591 final String scheme = mUri.getScheme(); in coerceToHtmlOrStyledText()
836 if (SCHEME_CONTENT.equals(uri.getScheme())) { in getMimeTypes()

123