/frameworks/base/core/java/android/net/ |
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...] |
H A D | WebAddress.java | 38 * If given an https scheme but no port, fills in port 56 /* scheme */ "(?:(http|https|file)\\:\\/\\/)?" + 111 /* Get port from scheme or scheme from port, if necessary and 139 public void setScheme(String scheme) { argument 140 mScheme = scheme;
|
/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/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbAccessoryUriActivity.java | 63 String scheme = mUri.getScheme(); 64 if (!"http".equals(scheme) && !"https".equals(scheme)) {
|
/frameworks/base/services/java/com/android/server/ |
H A D | IntentResolver.java | 213 final String scheme = intent.getScheme(); 217 resolvedType, scheme, listCut.get(i), resultList, userId); 225 String scheme = intent.getScheme(); 233 TAG, "Resolving type=" + resolvedType + " scheme=" + scheme 280 // the filters that match its scheme (we will further refine matches 282 if (scheme != null) { 283 schemeCut = mSchemeToFilter.get(scheme); 290 if (resolvedType == null && scheme == null && intent.getAction() != null) { 298 resolvedType, scheme, firstTypeCu 516 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/core/java/android/text/util/ |
H A D | Linkify.java | 50 * 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/java/android/net/http/ |
H A D | HttpAuthHeader.java | 42 * An authentication scheme. We currently support two different schemes: 83 * implementations compliant with this version of the Digest scheme. 116 * most one authentication-scheme (ensured by the caller). 181 * @return The authentication scheme requested. We currently 236 * @return True iff the authentication scheme requested by the 259 * Parses the header scheme name and then scheme parameters if 260 * the scheme is supported. 270 // if we have a supported scheme 279 * Parses the authentication scheme nam [all...] |
H A D | AndroidHttpClient.java | 36 import org.apache.http.conn.scheme.PlainSocketFactory; 37 import org.apache.http.conn.scheme.Scheme; 38 import org.apache.http.conn.scheme.SchemeRegistry;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 82 String scheme = uri.getScheme(); 83 if(scheme == null || scheme.equals("file")) { 204 * the crypto scheme, and the bytes being the data specific to that scheme.
|
H A D | MediaMetadataRetriever.java | 157 String scheme = uri.getScheme(); 158 if(scheme == null || scheme.equals("file")) {
|
H A D | MediaPlayer.java | 889 String scheme = uri.getScheme(); 890 if(scheme == null || scheme.equals("file")) { 923 if (scheme.equalsIgnoreCase("http") 924 || scheme.equalsIgnoreCase("https")) { 1920 String scheme = uri.getScheme(); 1921 if(scheme == null || scheme.equals("file")) {
|
/frameworks/ex/common/java/com/android/common/ |
H A D | Search.java | 89 .scheme(ContentResolver.SCHEME_CONTENT)
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 208 final String scheme = uri.getScheme(); 209 if ("http".equals(scheme) || "https".equals(scheme)) { 211 } else if ("data".equals(scheme)) {
|
/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 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 604 addDataScheme(String scheme) argument 634 hasDataScheme(String scheme) argument 1015 matchData(String type, String scheme, Uri data) argument 1231 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument [all...] |
H A D | ContentResolver.java | 299 * using the content:// scheme. 345 * using the content:// scheme. 386 * @param uri The URI, using the content:// scheme, for the content to 423 * @param uri The URI, using the content:// scheme, for the content to 613 String scheme = uri.getScheme(); 614 if (SCHEME_ANDROID_RESOURCE.equals(scheme)) { 624 } else if (SCHEME_FILE.equals(scheme)) { 887 String scheme = uri.getScheme(); 888 if (SCHEME_ANDROID_RESOURCE.equals(scheme)) { 898 } else if (SCHEME_FILE.equals(scheme)) { [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsContract.java | 507 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) 518 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) 531 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) 545 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) 561 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority) 577 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority)
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | RsBench.java | 57 String scheme = uri.getScheme(); 58 if ("iterations".equals(scheme)) {
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | LocalBroadcastManager.java | 206 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 D | DrmManagerClient.java | 827 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 D | NfcActivityManager.java | 355 String scheme = uri.getScheme(); 356 if (scheme == null || (!scheme.equalsIgnoreCase("file") && 357 !scheme.equalsIgnoreCase("content"))) { 359 "either scheme file or scheme content");
|
H A D | NfcAdapter.java | 75 * so that MIME, URI scheme and URI host are always lower-case. 683 * Uri you provide must have either scheme 'file' or scheme 'content'. 749 String scheme = uri.getScheme(); 750 if (scheme == null || (!scheme.equalsIgnoreCase("file") && 751 !scheme.equalsIgnoreCase("content"))) { 753 "either scheme file or scheme content"); 763 * must have either scheme 'fil [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsProvider.java | 99 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) 104 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(AUTHORITY) 110 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT)
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | Settings.java | 1966 String scheme = tmpPa.getDataScheme(ischeme); 1967 if (scheme != null && !scheme.isEmpty()) { 1972 builder.scheme(scheme); 1978 scheme, ssp, null, null, null, userId); 1986 builder.scheme(scheme); 1995 scheme, null, auth, path, null, userId); 2000 builder.scheme(schem 2051 applyDefaultPreferredActivityLPw(PackageManagerService service, Intent intent, int flags, ComponentName cn, String scheme, PatternMatcher ssp, IntentFilter.AuthorityEntry auth, PatternMatcher path, String mimeType, int userId) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsApplication.java | 125 * Support smsto Uri scheme. 129 * Support smsto Uri scheme. 489 * Updates the ACTION_SENDTO activity to the specified component for the specified scheme. 492 ComponentName componentName, String scheme) { 493 // Build the set of existing activities that handle this scheme 494 Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(scheme, "", null)); 506 // Update the preferred SENDTO activity for the specified scheme 510 intentFilter.addDataScheme(scheme); 491 replacePreferredActivity(PackageManager packageManager, ComponentName componentName, String scheme) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SuggestionsAdapter.java | 520 String scheme = uri.getScheme(); 521 if (ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme)) { 717 .scheme(ContentResolver.SCHEME_CONTENT)
|