Searched defs:scheme (Results 1 - 16 of 16) sorted by relevance

/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 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;
H A DUri.java110 <scheme>://<authority><path>?<query>
142 * Absolute URIs are hierarchical if the scheme-specific part starts with
149 * scheme-specific part of an opaque URI cannot start with a '/'.
157 * explicit scheme.
165 * explicit scheme.
174 * Gets the scheme of this URI. Example: "http"
176 * @return the scheme or null if this is a relative URI
182 * Gets the scheme-specific part of this URI, i.e.&nbsp;everything between
183 * the scheme separator ':' and the fragment separator '#'. If this is a
188 * @return the decoded scheme
551 private volatile String scheme = NOT_CACHED; field in class:Uri.StringUri
839 fromParts(String scheme, String ssp, String fragment) argument
860 private final String scheme; field in class:Uri.OpaqueUri
864 OpaqueUri(String scheme, Part ssp, Part fragment) argument
1166 private final String scheme; // can be null field in class:Uri.HierarchicalUri
1172 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument
1347 private String scheme; field in class:Uri.Builder
1364 scheme(String scheme) argument
[all...]
/frameworks/base/packages/StatementService/src/com/android/statementservice/
H A DIntentFilterVerificationReceiver.java87 String scheme = inputExtras.getString(
113 sourceAssets.add(createWebAssetString(scheme, host));
136 logValidationParametersForCTS(verificationId, scheme, finalHosts, packageName);
148 "Verifying IntentFilter. verificationId:%d scheme:\"%s\" hosts:\"%s\" package:\"%s\".";
149 private void logValidationParametersForCTS(int verificationId, String scheme, argument
152 Log.i(TAG, String.format(CTS_LOG_FORMAT, verificationId, scheme, hostString, packageName));
168 private String createWebAssetString(String scheme, String host) throws MalformedURLException { argument
172 if (!scheme.equals("http") && !scheme.equals("https")) {
173 throw new MalformedURLException("Input scheme i
[all...]
/frameworks/support/compat/src/main/java/androidx/core/text/util/
H A DLinkifyCompat.java202 * @param scheme URL scheme string (eg <code>http://</code>) to be
203 * prepended to the links that do not start with this scheme.
206 @Nullable String scheme) {
208 Linkify.addLinks(text, pattern, scheme);
211 addLinks(text, pattern, scheme, null, null, null);
222 * @param scheme URL scheme string (eg <code>http://</code>) to be
223 * prepended to the links that do not start with this scheme.
229 @Nullable String scheme,
205 addLinks(@onNull TextView text, @NonNull Pattern pattern, @Nullable String scheme) argument
228 addLinks(@onNull TextView text, @NonNull Pattern pattern, @Nullable String scheme, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
282 addLinks(@onNull Spannable text, @NonNull Pattern pattern, @Nullable String scheme) argument
305 addLinks(@onNull Spannable spannable, @NonNull Pattern pattern, @Nullable String scheme, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
[all...]
/frameworks/base/core/java/android/text/util/
H A DLinkify.java69 * Alone with the pattern that is to be matched, a URL scheme prefix is also
70 * required. Any pattern match that does not begin with the supplied scheme
71 * will have the scheme prepended to the matched text when the clickable URL
73 * the scheme <code>http://</code>. If the pattern matches example.com, which
74 * does not have a URL scheme prefix, the supplied scheme will be prepended to
351 * @param scheme URL scheme string (eg <code>http://</code>) to be
352 * prepended to the links that do not start with this scheme.
355 @Nullable String scheme) {
354 addLinks(@onNull TextView text, @NonNull Pattern pattern, @Nullable String scheme) argument
373 addLinks(@onNull TextView text, @NonNull Pattern pattern, @Nullable String scheme, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
418 addLinks(@onNull Spannable text, @NonNull Pattern pattern, @Nullable String scheme) argument
438 addLinks(@onNull Spannable spannable, @NonNull Pattern pattern, @Nullable String scheme, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
[all...]
/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")
215 .scheme("foo")
372 .scheme("mailto")
424 private static void testHierarchical(String scheme, String authority, argument
440 if (scheme != null) {
441 sb.insert(0, scheme + ":");
453 uriString, ssp, uri, scheme, authorit
506 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsApplication.java205 * Support smsto Uri scheme.
209 * Support smsto Uri scheme.
758 * Updates the ACTION_SENDTO activity to the specified component for the specified scheme.
761 ComponentName componentName, int userId, String scheme) {
762 // Build the set of existing activities that handle this scheme
763 Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(scheme, "", null));
776 // Update the preferred SENDTO activity for the specified scheme
780 intentFilter.addDataScheme(scheme);
760 replacePreferredActivity(PackageManager packageManager, ComponentName componentName, int userId, String scheme) argument
/frameworks/base/services/core/java/com/android/server/
H A DIntentResolver.java388 final String scheme = intent.getScheme();
391 buildResolveList(intent, categories, debug, defaultOnly, resolvedType, scheme,
401 String scheme = intent.getScheme();
409 TAG, "Resolving type=" + resolvedType + " scheme=" + scheme
456 // the filters that match its scheme (we will further refine matches
458 if (scheme != null) {
459 schemeCut = mSchemeToFilter.get(scheme);
466 if (resolvedType == null && scheme == null && intent.getAction() != null) {
474 scheme, firstTypeCu
723 buildResolveList(Intent intent, FastImmutableArraySet<String> categories, boolean debug, boolean defaultOnly, String resolvedType, String scheme, F[] src, List<R> dest, int userId) argument
[all...]
/frameworks/av/media/extractors/mkv/
H A DMatroskaExtractor.cpp557 // find scheme
558 AString scheme; local
573 scheme = AString(uri, 0, i);
574 scheme.append("://<suppressed>");
575 return scheme;
577 return AString("<no-scheme URI suppressed>");
/frameworks/av/media/libstagefright/
H A DUtils.cpp1715 // find scheme
1716 AString scheme; local
1732 scheme = AString(uri, 0, i);
1733 scheme.append("://<suppressed>");
1734 return scheme;
1736 return AString("<no-scheme URI suppressed>");
/frameworks/base/core/java/android/content/
H A DIntentFilter.java46 * match against actions, categories, and data (either via its type, scheme,
67 * itself divided into three attributes: type, scheme, authority, and path.
69 * specified must match the contents of the Intent. If you specify a scheme
72 * that is supplied by their content provider. Specifying a type with no scheme
92 * <strong>data scheme+authority+path</strong> if specified) must match
110 * Intent data's scheme.
111 * The Intent scheme is determined by calling {@link Intent#getData}
113 * <em>Note that scheme matching here is <b>case sensitive</b>, unlike
118 * the Intent's data scheme specific part <em>and</em> one of the data schemes in the filter
119 * has matched the Intent, <em>or</em> no scheme specifi
850 addDataScheme(String scheme) argument
880 hasDataScheme(String scheme) argument
1337 matchData(String type, String scheme, Uri data) argument
1549 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument
[all...]
H A DIntent.java255 * type is included in the Intent, instead the <b>scheme</b> of the
257 * considered. Again like the action, if we are matching a scheme it
1631 * it can also use the {@link #URI_ANDROID_APP_SCHEME android-app:} scheme to identify
1700 * Input: The data must be a package: URI whose scheme specific part is
5404 * granted.) Another URI is considered a prefix match only when scheme,
5839 * always has the "intent:" scheme. This syntax can be used when you want
5842 * with {@link #parseUri}, any other scheme will result in a generic
5849 * always has the "android-app:" scheme. This is a variation of
5855 * android-app://{package_id}[/{scheme}[/{host}[/{path}]]][#Intent;{...}]</pre>
5857 * <p>In this scheme, onl
9839 toUriFragment(StringBuilder uri, String scheme, String defAction, String defPackage, int flags) argument
9860 toUriInner(StringBuilder uri, String scheme, String defAction, String defPackage, int flags) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java3336 String scheme = tmpPa.getDataScheme(ischeme);
3337 if (scheme != null && !scheme.isEmpty()) {
3342 builder.scheme(scheme);
3348 scheme, ssp, null, null, userId);
3356 builder.scheme(scheme);
3365 scheme, null, auth, path, userId);
3370 builder.scheme(schem
3421 applyDefaultPreferredActivityLPw(PackageManagerService service, Intent intent, int flags, ComponentName cn, String scheme, PatternMatcher ssp, IntentFilter.AuthorityEntry auth, PatternMatcher path, int userId) argument
[all...]

Completed in 1759 milliseconds