/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 102 <scheme>://<authority><path>?<query> 134 * Absolute URIs are hierarchical if the scheme-specific part starts with 141 * scheme-specific part of an opaque URI cannot start with a '/'. 149 * explicit scheme. 157 * explicit scheme. 166 * Gets the scheme of this URI. Example: "http" 168 * @return the scheme or null if this is a relative URI 173 * Gets the scheme-specific part of this URI, i.e. everything between the 174 * scheme separator ':' and the fragment separator '#'. If this is a 179 * @return the decoded scheme 525 private volatile String scheme = NOT_CACHED; field in class:Uri.StringUri 805 fromParts(String scheme, String ssp, String fragment) argument 826 private final String scheme; field in class:Uri.OpaqueUri 830 OpaqueUri(String scheme, Part ssp, Part fragment) argument 1132 private final String scheme; // can be null field in class:Uri.HierarchicalUri 1138 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument 1313 private String scheme; field in class:Uri.Builder 1330 scheme(String scheme) argument [all...] |
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 | Proxy.java | 47 import org.apache.http.conn.scheme.SchemeRegistry;
|
/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/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbAccessoryUriActivity.java | 65 String scheme = mUri.getScheme(); 66 if (!"http".equals(scheme) && !"https".equals(scheme)) {
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | UriTest.java | 48 .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/services/java/com/android/server/ |
H A D | IntentResolver.java | 211 final String scheme = intent.getScheme(); 215 resolvedType, scheme, listCut.get(i), resultList); 222 String scheme = intent.getScheme(); 230 TAG, "Resolving type " + resolvedType + " scheme " + scheme 275 // the filters that match its scheme (we will further refine matches 277 if (scheme != null) { 278 schemeCut = mSchemeToFilter.get(scheme); 285 if (resolvedType == null && scheme == null && intent.getAction() != null) { 293 resolvedType, scheme, firstTypeCu 505 buildResolveList(Intent intent, FastImmutableArraySet<String> categories, boolean debug, boolean defaultOnly, String resolvedType, String scheme, List<F> src, List<R> dest) argument [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | HttpAuthHeader.java | 40 * An authentication scheme. We currently support two different schemes: 81 * implementations compliant with this version of the Digest scheme. 114 * most one authentication-scheme (ensured by the caller). 179 * @return The authentication scheme requested. We currently 234 * @return True iff the authentication scheme requested by the 257 * Parses the header scheme name and then scheme parameters if 258 * the scheme is supported. 268 // if we have a supported scheme 277 * Parses the authentication scheme nam [all...] |
H A D | AndroidHttpClient.java | 37 import org.apache.http.conn.scheme.PlainSocketFactory; 38 import org.apache.http.conn.scheme.Scheme; 39 import org.apache.http.conn.scheme.SchemeRegistry;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadataRetriever.java | 135 String scheme = uri.getScheme(); 136 if(scheme == null || scheme.equals("file")) {
|
H A D | MediaPlayer.java | 775 String scheme = uri.getScheme(); 776 if(scheme == null || scheme.equals("file")) {
|
/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/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 134 String scheme = fileUri.getScheme(); 135 if (scheme != null && !scheme.equals("file")) { 352 String scheme = pPackageURI.getScheme(); 353 if (scheme == null || scheme.equals("file")) { 359 } else if (scheme.equals("content")) {
|
/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 | ContentResolver.java | 202 * using the content:// scheme. 246 * using the content:// scheme. 287 * @param uri The URI, using the content:// scheme, for the content to 355 String scheme = uri.getScheme(); 356 if (SCHEME_ANDROID_RESOURCE.equals(scheme)) { 366 } else if (SCHEME_FILE.equals(scheme)) { 519 String scheme = uri.getScheme(); 520 if (SCHEME_ANDROID_RESOURCE.equals(scheme)) { 530 } else if (SCHEME_FILE.equals(scheme)) {
|
H A D | Intent.java | 224 * type is included in the Intent, instead the <b>scheme</b> of the 226 * considered. Again like the action, if we are matching a scheme it 1244 * Input: The data must be a package: URI whose scheme specific part is 2993 * always has the "intent:" scheme. This syntax can be used when you want 2996 * with {@link #parseUri}, any other scheme will result in a generic 3091 * <p><em>Note: scheme and host name matching in the Android framework is 3095 * outside of Android to ensure the scheme and host is lower case.</em></p> 3131 * <p><em>Note: scheme and host name matching in the Android framework is 3135 * outside of Android to ensure the scheme and host is lower case.</em></p> 3252 * the scheme an 6019 toUriInner(StringBuilder uri, String scheme, int flags) argument [all...] |
/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 | 759 String scheme = uri.getScheme(); 760 if (null == scheme || scheme.equals("") || 761 scheme.equals(ContentResolver.SCHEME_FILE)) { 764 } else if (scheme.equals("http")) { 767 } else if (scheme.equals(ContentResolver.SCHEME_CONTENT)) { 788 throw new IllegalArgumentException("Given Uri scheme is not supported");
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | FsUtils.java | 30 import org.apache.http.conn.scheme.PlainSocketFactory; 31 import org.apache.http.conn.scheme.Scheme; 32 import org.apache.http.conn.scheme.SchemeRegistry;
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 549 String scheme = mUri.getScheme(); 550 if (ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme)) { 559 } else if (ContentResolver.SCHEME_CONTENT.equals(scheme) 560 || ContentResolver.SCHEME_FILE.equals(scheme)) {
|
H A D | SuggestionsAdapter.java | 560 String scheme = uri.getScheme(); 561 if (ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme)) {
|
/frameworks/base/core/java/android/app/ |
H A D | DownloadManager.java | 405 String scheme = uri.getScheme(); 406 if (scheme == null || (!scheme.equals("http") && !scheme.equals("https"))) {
|
H A D | SearchManager.java | 796 .scheme(ContentResolver.SCHEME_CONTENT)
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | AbstractProxyTest.java | 37 import org.apache.http.conn.scheme.Scheme;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 154 String scheme = uri.getScheme(); 156 if (scheme.equals("tel") || scheme.equals("sip")) { 162 if (scheme.equals("voicemail")) {
|