/frameworks/base/core/java/android/net/ |
H A D | WebAddress.java | 37 * If given an https scheme but no port, fills in port 55 /* scheme */ "(?:(http|https|file)\\:\\/\\/)?" + 110 /* Get port from scheme or scheme from port, if necessary and 138 public void setScheme(String scheme) { argument 139 mScheme = scheme;
|
H A D | Uri.java | 105 <scheme>://<authority><path>?<query> 137 * Absolute URIs are hierarchical if the scheme-specific part starts with 144 * scheme-specific part of an opaque URI cannot start with a '/'. 152 * explicit scheme. 160 * explicit scheme. 169 * Gets the scheme of this URI. Example: "http" 171 * @return the scheme or null if this is a relative URI 176 * Gets the scheme-specific part of this URI, i.e. everything between the 177 * scheme separator ':' and the fragment separator '#'. If this is a 182 * @return the decoded scheme 528 private volatile String scheme = NOT_CACHED; field in class:Uri.StringUri 808 fromParts(String scheme, String ssp, String fragment) argument 829 private final String scheme; field in class:Uri.OpaqueUri 833 OpaqueUri(String scheme, Part ssp, Part fragment) argument 1135 private final String scheme; // can be null field in class:Uri.HierarchicalUri 1141 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument 1316 private String scheme; field in class:Uri.Builder 1333 scheme(String scheme) argument [all...] |
/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 44 * Alone with the pattern that is to be matched, a url scheme prefix is also 45 * required. Any pattern match that does not begin with the supplied scheme 46 * will have the scheme prepended to the matched text when the clickable url 48 * the scheme <code>http://</code>. If the pattern matches example.com, which 49 * does not have a url scheme prefix, the supplied scheme will be prepended to 298 * @param scheme Url scheme string (eg <code>http://</code> to be 300 * a scheme specified in the link text 302 public static final void addLinks(TextView text, Pattern pattern, String scheme) { argument 321 addLinks(TextView text, Pattern p, String scheme, MatchFilter matchFilter, TransformFilter transformFilter) argument 342 addLinks(Spannable text, Pattern pattern, String scheme) argument 360 addLinks(Spannable s, Pattern p, String scheme, MatchFilter matchFilter, TransformFilter transformFilter) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | UriTest.java | 46 .scheme("http") 74 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); 139 .scheme("http") 148 .scheme("http") 202 .scheme("foo") 359 .scheme("mailto") 411 private static void testHierarchical(String scheme, String authority, argument 427 if (scheme != null) { 428 sb.insert(0, scheme + ":"); 440 uriString, ssp, uri, scheme, authorit 493 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | IntentResolver.java | 223 final String scheme = intent.getScheme(); 227 resolvedType, scheme, listCut.get(i), resultList, userId); 235 String scheme = intent.getScheme(); 243 TAG, "Resolving type " + resolvedType + " scheme " + scheme 288 // the filters that match its scheme (we will further refine matches 290 if (scheme != null) { 291 schemeCut = mSchemeToFilter.get(scheme); 298 if (resolvedType == null && scheme == null && intent.getAction() != null) { 306 resolvedType, scheme, firstTypeCu 534 buildResolveList(Intent intent, FastImmutableArraySet<String> categories, boolean debug, boolean defaultOnly, String resolvedType, String scheme, F[] src, List<R> dest, int userId) argument [all...] |
H A D | IntentResolverOld.java | 212 final String scheme = intent.getScheme(); 216 resolvedType, scheme, listCut.get(i), resultList, userId); 224 String scheme = intent.getScheme(); 232 TAG, "Resolving type " + resolvedType + " scheme " + scheme 277 // the filters that match its scheme (we will further refine matches 279 if (scheme != null) { 280 schemeCut = mSchemeToFilter.get(scheme); 287 if (resolvedType == null && scheme == null && intent.getAction() != null) { 295 resolvedType, scheme, firstTypeCu 507 buildResolveList(Intent intent, FastImmutableArraySet<String> categories, boolean debug, boolean defaultOnly, String resolvedType, String scheme, List<F> src, List<R> dest, int userId) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 40 * 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. 101 * Intent data's scheme. 102 * The Intent scheme is determined by calling {@link Intent#getData} 104 * <em>Note that scheme matching here is <b>case sensitive</b>, unlike 109 * the Intent's data authority <em>and</em> one of the data scheme's in the filter 118 * Intent's data path <em>and</em> both a scheme an 584 addDataScheme(String scheme) argument 614 hasDataScheme(String scheme) argument 899 matchData(String type, String scheme, Uri data) argument 1103 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument [all...] |
H A D | Intent.java | 225 * type is included in the Intent, instead the <b>scheme</b> of the 227 * considered. Again like the action, if we are matching a scheme it 1347 * Input: The data must be a package: URI whose scheme specific part is 3358 * always has the "intent:" scheme. This syntax can be used when you want 3361 * with {@link #parseUri}, any other scheme will result in a generic 3460 * <p><em>Note: scheme and host name matching in the Android framework is 3464 * outside of Android to ensure the scheme and host is lower case.</em></p> 3500 * <p><em>Note: scheme and host name matching in the Android framework is 3504 * outside of Android to ensure the scheme and host is lower case.</em></p> 3621 * the scheme an 6561 toUriInner(StringBuilder uri, String scheme, int flags) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewCore.java | 690 // Register a scheme to be treated as local scheme so that it can access 693 String scheme); 1321 // asset files using 'file' scheme URLs as long as the data is 1324 // To maintain compatibility with 1.0, we register the scheme of 1327 String scheme = baseUrl.substring(0, i); 1328 if (!scheme.startsWith("http") && 1329 !scheme.startsWith("ftp") && 1330 !scheme.startsWith("about") && 1331 !scheme 692 nativeRegisterURLSchemeAsLocal(int nativeClass, String scheme) argument [all...] |