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

/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.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
531 private volatile String scheme = NOT_CACHED; field in class:Uri.StringUri
811 fromParts(String scheme, String ssp, String fragment) argument
832 private final String scheme; field in class:Uri.OpaqueUri
836 OpaqueUri(String scheme, Part ssp, Part fragment) argument
1138 private final String scheme; // can be null field in class:Uri.HierarchicalUri
1144 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument
1319 private String scheme; field in class:Uri.Builder
1336 scheme(String scheme) argument
[all...]
/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
302 * @param scheme Url scheme string (eg <code>http://</code> to be
304 * a scheme specified in the link text
306 public static final void addLinks(TextView text, Pattern pattern, String scheme) { argument
325 addLinks(TextView text, Pattern p, String scheme, MatchFilter matchFilter, TransformFilter transformFilter) argument
346 addLinks(Spannable text, Pattern pattern, String scheme) argument
364 addLinks(Spannable s, Pattern p, String scheme, MatchFilter matchFilter, 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")
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/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsApplication.java156 * Support smsto Uri scheme.
160 * Support smsto Uri scheme.
599 * Updates the ACTION_SENDTO activity to the specified component for the specified scheme.
602 ComponentName componentName, int userId, String scheme) {
603 // Build the set of existing activities that handle this scheme
604 Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(scheme, "", null));
617 // Update the preferred SENDTO activity for the specified scheme
621 intentFilter.addDataScheme(scheme);
601 replacePreferredActivity(PackageManager packageManager, ComponentName componentName, int userId, String scheme) argument
/frameworks/base/services/core/java/com/android/server/
H A DIntentResolver.java360 final String scheme = intent.getScheme();
364 resolvedType, scheme, listCut.get(i), resultList, userId);
372 String scheme = intent.getScheme();
380 TAG, "Resolving type=" + resolvedType + " scheme=" + scheme
427 // the filters that match its scheme (we will further refine matches
429 if (scheme != null) {
430 schemeCut = mSchemeToFilter.get(scheme);
437 if (resolvedType == null && scheme == null && intent.getAction() != null) {
445 resolvedType, scheme, firstTypeCu
671 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/libstagefright/
H A DUtils.cpp779 // find scheme
780 AString scheme; local
796 scheme = AString(uri, 0, i);
797 scheme.append("://<suppressed>");
798 return scheme;
800 return AString("<no-scheme URI suppressed>");
/frameworks/base/core/java/android/content/
H A DIntentFilter.java40 * match against actions, categories, and data (either via its type, scheme,
61 * itself divided into three attributes: type, scheme, authority, and path.
63 * specified must match the contents of the Intent. If you specify a scheme
66 * that is supplied by their content provider. Specifying a type with no scheme
86 * <strong>data scheme+authority+path</strong> if specified) must match
104 * Intent data's scheme.
105 * The Intent scheme is determined by calling {@link Intent#getData}
107 * <em>Note that scheme matching here is <b>case sensitive</b>, unlike
112 * the Intent's data scheme specific part <em>and</em> one of the data schemes in the filter
113 * has matched the Intent, <em>or</em> no scheme specifi
609 addDataScheme(String scheme) argument
639 hasDataScheme(String scheme) argument
1078 matchData(String type, String scheme, Uri data) argument
1290 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument
[all...]
H A DIntent.java244 * type is included in the Intent, instead the <b>scheme</b> of the
246 * considered. Again like the action, if we are matching a scheme it
1407 * it can also use the {@link #URI_ANDROID_APP_SCHEME android-app:} scheme to identify
1473 * Input: The data must be a package: URI whose scheme specific part is
3602 * granted.) Another URI is considered a prefix match only when scheme,
3940 * always has the "intent:" scheme. This syntax can be used when you want
3943 * with {@link #parseUri}, any other scheme will result in a generic
3950 * always has the "android-app:" scheme. This is a variation of
3956 * android-app://{package_id}[/{scheme}[/{host}[/{path}]]][#Intent;{...}]</pre>
3958 * <p>In this scheme, onl
7363 toUriFragment(StringBuilder uri, String scheme, String defAction, String defPackage, int flags) argument
7384 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.java2290 String scheme = tmpPa.getDataScheme(ischeme);
2291 if (scheme != null && !scheme.isEmpty()) {
2296 builder.scheme(scheme);
2302 scheme, ssp, null, null, userId);
2310 builder.scheme(scheme);
2319 scheme, null, auth, path, userId);
2324 builder.scheme(schem
2375 applyDefaultPreferredActivityLPw(PackageManagerService service, Intent intent, int flags, ComponentName cn, String scheme, PatternMatcher ssp, IntentFilter.AuthorityEntry auth, PatternMatcher path, int userId) argument
[all...]

Completed in 3915 milliseconds