Searched refs:scheme (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/base/core/java/org/apache/http/conn/scheme/
H A DHostNameResolver.java32 package org.apache.http.conn.scheme;
H A DLayeredSocketFactory.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/LayeredSocketFactory.java $
32 package org.apache.http.conn.scheme;
H A DSocketFactory.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/SocketFactory.java $
32 package org.apache.http.conn.scheme;
/frameworks/base/core/java/android/net/
H A DUri.java108 <scheme>://<authority><path>?<query>
140 * Absolute URIs are hierarchical if the scheme-specific part starts with
147 * scheme-specific part of an opaque URI cannot start with a '/'.
155 * explicit scheme.
163 * explicit scheme.
172 * Gets the scheme of this URI. Example: "http"
174 * @return the scheme or null if this is a relative URI
179 * Gets the scheme-specific part of this URI, i.e.&nbsp;everything between
180 * the scheme separator ':' and the fragment separator '#'. If this is a
185 * @return the decoded scheme
536 private volatile String scheme = NOT_CACHED; field in class:Uri.StringUri
816 fromParts(String scheme, String ssp, String fragment) argument
837 private final String scheme; field in class:Uri.OpaqueUri
841 OpaqueUri(String scheme, Part ssp, Part fragment) argument
1143 private final String scheme; // can be null field in class:Uri.HierarchicalUri
1149 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument
1324 private String scheme; field in class:Uri.Builder
1341 scheme(String scheme) argument
[all...]
H A DWebAddress.java40 * If given an https scheme but no port, fills in port
61 /* scheme */ "(?:(http|https|file)\\:\\/\\/)?" +
116 /* Get port from scheme or scheme from port, if necessary and
145 public void setScheme(String scheme) { argument
146 mScheme = scheme;
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java48 .scheme("http")
76 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build();
141 .scheme("http")
150 .scheme("http")
204 .scheme("foo")
361 .scheme("mailto")
413 private static void testHierarchical(String scheme, String authority, argument
429 if (scheme != null) {
430 sb.insert(0, scheme + ":");
442 uriString, ssp, uri, scheme, authorit
495 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument
[all...]
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DWebAsset.java111 // Only allow insecure include file if the asset scheme is http.
134 String scheme = url.getProtocol().toLowerCase(Locale.US);
135 if (!scheme.equals("https") && !scheme.equals("http")) {
136 throw new AssociationServiceException("Expected scheme to be http or https.");
146 "Site should only have scheme, domain, and port.");
H A DURLFetcher.java57 * @throws AssociationServiceException if the URL scheme is not http or https or the content
87 * @throws AssociationServiceException if the URL scheme is not http or https or the content
92 final String scheme = url.getProtocol().toLowerCase(Locale.US);
93 if (!scheme.equals("http") && !scheme.equals("https")) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbAccessoryUriActivity.java63 String scheme = mUri.getScheme();
64 if (!"http".equals(scheme) && !"https".equals(scheme)) {
/frameworks/base/packages/StatementService/src/com/android/statementservice/
H A DIntentFilterVerificationReceiver.java86 String scheme = inputExtras.getString(
109 sourceAssets.add(createWebAssetString(scheme, host));
151 private String createWebAssetString(String scheme, String host) throws MalformedURLException { argument
155 if (!scheme.equals("http") && !scheme.equals("https")) {
156 throw new MalformedURLException("Input scheme is not valid.");
159 return String.format(WEB_ASSET_FORMAT, new URL(scheme, host, "").toString());
/frameworks/base/core/java/android/text/util/
H A DLinkify.java50 * Alone with the pattern that is to be matched, a url scheme prefix is also
51 * required. Any pattern match that does not begin with the supplied scheme
52 * will have the scheme prepended to the matched text when the clickable url
54 * the scheme <code>http://</code>. If the pattern matches example.com, which
55 * does not have a url scheme prefix, the supplied scheme will be prepended to
305 * @param scheme Url scheme string (eg <code>http://</code> to be
307 * a scheme specified in the link text
309 public static final void addLinks(TextView text, Pattern pattern, String scheme) { argument
328 addLinks(TextView text, Pattern p, String scheme, MatchFilter matchFilter, TransformFilter transformFilter) argument
349 addLinks(Spannable text, Pattern pattern, String scheme) argument
367 addLinks(Spannable s, Pattern p, String scheme, MatchFilter matchFilter, TransformFilter transformFilter) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java163 String scheme = uri.getScheme();
164 if(scheme == null || scheme.equals("file")) {
H A DMediaExtractor.java95 String scheme = uri.getScheme();
96 if (scheme == null || scheme.equals("file")) {
231 * the crypto scheme, and the bytes being the data specific to that scheme.
/frameworks/base/media/java/android/media/tv/
H A DTvContentRatingSystemInfo.java49 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE)
/frameworks/ex/common/java/com/android/common/
H A DSearch.java89 .scheme(ContentResolver.SCHEME_CONTENT)
/frameworks/base/telecomm/java/android/telecom/
H A DPhoneAccount.java124 * URI scheme for telephone number URIs.
129 * URI scheme for voicemail URIs.
134 * URI scheme for SIP URIs.
273 * Specifies an additional URI scheme supported by the {@link PhoneAccount}.
275 * @param uriScheme The URI scheme.
478 * scheme.
480 * @param uriScheme The URI scheme to check.
482 * specified URI scheme.
489 for (String scheme : mSupportedUriSchemes) {
490 if (scheme !
[all...]
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java562 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT)
573 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT)
586 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT)
598 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority)
611 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT)
639 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT)
666 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority)
696 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT)
713 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority)
/frameworks/base/core/java/android/content/
H A DIntentFilter.java41 * match against actions, categories, and data (either via its type, scheme,
62 * itself divided into three attributes: type, scheme, authority, and path.
64 * specified must match the contents of the Intent. If you specify a scheme
67 * that is supplied by their content provider. Specifying a type with no scheme
87 * <strong>data scheme+authority+path</strong> if specified) must match
105 * Intent data's scheme.
106 * The Intent scheme is determined by calling {@link Intent#getData}
108 * <em>Note that scheme matching here is <b>case sensitive</b>, unlike
113 * the Intent's data scheme specific part <em>and</em> one of the data schemes in the filter
114 * has matched the Intent, <em>or</em> no scheme specifi
792 addDataScheme(String scheme) argument
822 hasDataScheme(String scheme) argument
1261 matchData(String type, String scheme, Uri data) argument
1473 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DIntentResolver.java361 final String scheme = intent.getScheme();
365 resolvedType, scheme, listCut.get(i), resultList, userId);
373 String scheme = intent.getScheme();
381 TAG, "Resolving type=" + resolvedType + " scheme=" + scheme
428 // the filters that match its scheme (we will further refine matches
430 if (scheme != null) {
431 schemeCut = mSchemeToFilter.get(scheme);
438 if (resolvedType == null && scheme == null && intent.getAction() != null) {
446 resolvedType, scheme, firstTypeCu
688 buildResolveList(Intent intent, FastImmutableArraySet<String> categories, boolean debug, boolean defaultOnly, String resolvedType, String scheme, F[] src, List<R> dest, int userId) argument
[all...]
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBench.java57 String scheme = uri.getScheme();
58 if ("iterations".equals(scheme)) {
/frameworks/base/core/java/com/android/internal/app/
H A DResolverComparator.java69 String scheme = intent.getScheme();
70 mHttp = "http".equals(scheme) || "https".equals(scheme);
/frameworks/support/v4/java/android/support/v4/content/
H A DLocalBroadcastManager.java206 final String scheme = intent.getScheme();
212 TAG, "Resolving type " + type + " scheme " + scheme
231 int match = receiver.filter.match(action, type, scheme, data,
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java827 String scheme = uri.getScheme();
828 if (null == scheme || scheme.equals("") ||
829 scheme.equals(ContentResolver.SCHEME_FILE)) {
832 } else if (scheme.equals("http")) {
835 } else if (scheme.equals(ContentResolver.SCHEME_CONTENT)) {
856 throw new IllegalArgumentException("Given Uri scheme is not supported");
/frameworks/base/core/java/android/nfc/
H A DNfcActivityManager.java388 String scheme = uri.getScheme();
389 if (scheme == null || (!scheme.equalsIgnoreCase("file") &&
390 !scheme.equalsIgnoreCase("content"))) {
392 "either scheme file or scheme content");
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DSSLSocketFactory.java34 import org.apache.http.conn.scheme.HostNameResolver;
35 import org.apache.http.conn.scheme.LayeredSocketFactory;

Completed in 487 milliseconds

123