/frameworks/base/core/java/android/net/ |
H A D | MailTo.java | 47 * @param url string to be tested 50 public static boolean isMailTo(String url) { argument 51 if (url != null && url.startsWith(MAILTO_SCHEME)) { 60 * @param url String containing a mailto URL 64 public static MailTo parse(String url) throws ParseException { argument 65 if (url == null) { 68 if (!isMailTo(url)) { 72 String noScheme = url.substring(MAILTO_SCHEME.length());
|
H A D | Network.java | 246 public URLConnection openConnection(URL url) throws IOException { argument 259 return openConnection(url, proxy); 273 public URLConnection openConnection(URL url, java.net.Proxy proxy) throws IOException { argument 276 String protocol = url.getProtocol(); 295 return okUrlFactory.open(url);
|
H A D | Proxy.java | 102 * @param url A URL to be accessed. Used to evaluate exclusion list. 108 public static final java.net.Proxy getProxy(Context ctx, String url) { argument 110 if ((url != null) && !isLocalHost(host)) { 111 URI uri = URI.create(url);
|
H A D | ProxyInfo.java | 343 Uri url = Uri.CREATOR.createFromParcel(in); 345 return new ProxyInfo(url, localPort);
|
H A D | UrlQuerySanitizer.java | 585 public UrlQuerySanitizer(String url) { argument 587 parseUrl(url); 595 * @param url the encoded URL to parse. 597 public void parseUrl(String url) { argument 598 int queryIndex = url.indexOf('?'); 601 query = url.substring(queryIndex + 1);
|
/frameworks/base/core/java/android/net/http/ |
H A D | SslError.java | 111 * @param url The associated URL 113 public SslError(int error, SslCertificate certificate, String url) { argument 115 assert url != null; 118 mUrl = url; 126 * @param url The associated URL 128 public SslError(int error, X509Certificate certificate, String url) { argument 129 this(error, new SslCertificate(certificate), url); 136 * @param url The associated URL. 140 int error, SslCertificate cert, String url) { 145 return new SslError(SSL_IDMISMATCH, cert, url); 139 SslErrorFromChromiumErrorCode( int error, SslCertificate cert, String url) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 70 * headers for the provided url. The keys can't be the standard HTTP headers 71 * as they are set by the WebView. The url's schema must be http(s). 165 * and/or a url, both of which can be edited by the user before saving. 169 * @param url Url for the bookmark. Can be null or empty string. 174 String url) { 266 private static final Cursor getVisitedLike(ContentResolver cr, String url) { argument 268 String compareString = url; 310 * @param url The site being visited. 316 String url, boolean real) { 380 * Remove a specific url fro 172 saveBookmark(Context c, String title, String url) argument 315 updateVisitedHistory(ContentResolver cr, String url, boolean real) argument 386 deleteFromHistory(ContentResolver cr, String url) argument [all...] |
H A D | MediaStore.java | 857 * Retrieves an image for the given url as a {@link Bitmap}. 860 * @param url The url of the image 864 public static final Bitmap getBitmap(ContentResolver cr, Uri url) argument 866 InputStream input = cr.openInputStream(url); 924 Uri url = cr.insert(Images.Thumbnails.EXTERNAL_CONTENT_URI, values); 927 OutputStream thumbOut = cr.openOutputStream(url); 958 Uri url = null; 962 url = cr.insert(EXTERNAL_CONTENT_URI, values); 965 OutputStream imageOut = cr.openOutputStream(url); [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | URLSpan.java | 34 public URLSpan(String url) { argument 35 mURL = url;
|
/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 52 * will have the scheme prepended to the matched text when the clickable url 55 * does not have a url scheme prefix, the supplied scheme will be prepended to 56 * create <code>http://example.com</code> when the clickable url link is 146 public final String transformUrl(final Matcher match, String url) { 158 * support@example.com. So, when matching against a web url pattern you 193 * @param url The text that was matched 197 String transformUrl(final Matcher match, String url); argument 247 applyLink(link.url, link.start, link.end, text); 306 * prepended to the url o 395 applyLink(String url, int start, int end, Spannable text) argument 401 makeUrl(String url, String[] prefixes, Matcher m, TransformFilter filter) argument 563 String url; field in class:LinkSpec [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | CacheManager.java | 283 * @param url the URL for which a cache entry is requested 290 public static CacheResult getCacheFile(String url, argument 299 * @param url the URL for which the cache entry should be added 304 public static void saveCacheFile(String url, CacheResult cacheResult) { argument 305 saveCacheFile(url, 0, cacheResult); 308 static void saveCacheFile(String url, long postIdentifier, argument
|
H A D | CookieManager.java | 94 * @param url the URL for which the cookie is to be set 98 public abstract void setCookie(String url, String value); argument 114 * @param url the URL for which the cookie is to be set 119 public abstract void setCookie(String url, String value, ValueCallback<Boolean> callback); argument 124 * @param url the URL for which the cookies are requested 128 public abstract String getCookie(String url); argument 133 * @param url the URL for which the cookies are requested 140 public abstract String getCookie(String url, boolean privateBrowsing); argument
|
H A D | DownloadListener.java | 23 * @param url The full url to the content that should be downloaded 30 public void onDownloadStart(String url, String userAgent, argument
|
H A D | JsDialogHelper.java | 58 String url) { 63 mUrl = url; 71 mUrl = msg.getData().getString("url"); 172 // do nothing. just use the url as the title 57 JsDialogHelper(JsPromptResult result, int type, String defaultValue, String message, String url) argument
|
H A D | MimeTypeMap.java | 39 * extension of a url and has undefined results for other Strings. 40 * @param url 41 * @return The file extension of the given url. 43 public static String getFileExtensionFromUrl(String url) { argument 44 if (!TextUtils.isEmpty(url)) { 45 int fragment = url.lastIndexOf('#'); 47 url = url.substring(0, fragment); 50 int query = url.lastIndexOf('?'); 52 url 126 remapGenericMimeType(String mimeType, String url, String contentDisposition) argument [all...] |
H A D | URLUtil.java | 64 // bug 762454: strip period off end of url 74 Log.v(LOGTAG, "smartUrlFilter: failed to parse url = " + inUrl); 111 public static byte[] decode(byte[] url) throws IllegalArgumentException { argument 112 if (url.length == 0) { 117 byte[] tempData = new byte[url.length]; 120 for (int i = 0; i < url.length; i++) { 121 byte b = url[i]; 123 if (url.length - i > 2) { 124 b = (byte) (parseHex(url[i + 1]) * 16 125 + parseHex(url[ 141 verifyURLEncoding(String url) argument 175 isAssetUrl(String url) argument 183 isResourceUrl(String url) argument 193 isCookielessProxyUrl(String url) argument 200 isFileUrl(String url) argument 209 isAboutUrl(String url) argument 216 isDataUrl(String url) argument 223 isJavaScriptUrl(String url) argument 230 isHttpUrl(String url) argument 239 isHttpsUrl(String url) argument 248 isNetworkUrl(String url) argument 258 isContentUrl(String url) argument 265 isValidUrl(String url) argument 283 stripAnchor(String url) argument 301 guessFileName( String url, String contentDisposition, String mimeType) argument [all...] |
H A D | UrlInterceptHandler.java | 36 * @param url URL string. 44 public CacheResult service(String url, Map<String, String> headers); argument 51 * @param url URL string. 59 public PluginData getPluginData(String url, Map<String, String> headers); argument
|
H A D | UrlInterceptRegistry.java | 48 * set the flag to control whether url intercept is enabled or disabled 62 * get the state of the url intercept, enabled or disabled 114 * Given an url, returns the CacheResult of the first 125 String url, Map<String, String> headers) { 132 CacheResult result = handler.service(url, headers); 141 * Given an url, returns the PluginData of the first 153 String url, Map<String, String> headers) { 160 PluginData data = handler.getPluginData(url, headers); 124 getSurrogate( String url, Map<String, String> headers) argument 152 getPluginData( String url, Map<String, String> headers) argument
|
H A D | WebChromeClient.java | 52 * Notify the host application of the url for an apple-touch-icon. 54 * @param url The icon url. 55 * @param precomposed True if the url is for a precomposed touch icon. 57 public void onReceivedTouchIconUrl(WebView view, String url, argument 160 * @param url The url of the page requesting the dialog. 165 public boolean onJsAlert(WebView view, String url, String message, argument 177 * @param url The url o 183 onJsConfirm(WebView view, String url, String message, JsResult result) argument 202 onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) argument 223 onJsBeforeUnload(WebView view, String url, String message, JsResult result) argument 250 onExceededDatabaseQuota(String url, String databaseIdentifier, long quota, long estimatedDatabaseSize, long totalQuota, WebStorage.QuotaUpdater quotaUpdater) argument [all...] |
H A D | WebIconDatabase.java | 46 * @param url The url passed in the request. 47 * @param icon The favicon for the given url. 49 public void onReceivedIcon(String url, Bitmap icon); argument 70 * url. If the icon exists, the listener will be called with the result. 71 * @param url The page's url. 74 public abstract void requestIconForPageUrl(String url, IconListener listener); argument 83 * Retain the icon for the given page url. 84 * @param url Th 86 retainIconForPageUrl(String url) argument 92 releaseIconForPageUrl(String url) argument [all...] |
H A D | WebView.java | 874 * @param url the URL of the resource to load 882 public void loadUrl(String url, Map<String, String> additionalHttpHeaders) { argument 884 mProvider.loadUrl(url, additionalHttpHeaders); 890 * @param url the URL of the resource to load 892 public void loadUrl(String url) { argument 894 mProvider.loadUrl(url); 898 * Loads the URL with postData using "POST" method into this WebView. If url 902 * @param url the URL of the resource to load 906 public void postUrl(String url, byte[] postData) { argument 908 if (URLUtil.isNetworkUrl(url)) { [all...] |
H A D | WebViewClient.java | 30 * url is about to be loaded in the current WebView. If WebViewClient is not 32 * proper handler for the url. If WebViewClient is provided, return true 33 * means the host application handles the url, while return false means the 34 * current WebView handles the url. 38 * @param url The url to be loaded. 40 * and handle the url itself, otherwise return false. 42 public boolean shouldOverrideUrlLoading(WebView view, String url) { argument 56 * @param url The url t 60 onPageStarted(WebView view, String url, Bitmap favicon) argument 72 onPageFinished(WebView view, String url) argument 82 onLoadResource(WebView view, String url) argument 112 onPageCommitVisible(WebView view, String url) argument 133 shouldInterceptRequest(WebView view, String url) argument 276 doUpdateVisitedHistory(WebView view, String url, boolean isReload) argument [all...] |
H A D | WebViewProvider.java | 116 public void loadUrl(String url, Map<String, String> additionalHttpHeaders); argument 118 public void loadUrl(String url); argument 120 public void postUrl(String url, byte[] postData); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | SuggestionsAdapter.java | 376 private CharSequence formatUrl(Context context, CharSequence url) { argument 384 SpannableString text = new SpannableString(url); 386 0, url.length(),
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 192 * @param url the url 195 public static Token tokenForUrl(String url, String text) { argument 196 if(url == null) { 201 Video video = Video.matchURL(url, text); 207 YouTubeVideo ytVideo = YouTubeVideo.matchURL(url, text); 213 Photo photo = Photo.matchURL(url, text); 219 FlickrPhoto flickrPhoto = FlickrPhoto.matchURL(url, text); 225 return new Link(url, text); 358 String url 464 addURLToken(String url, String text) argument 790 private String url; field in class:AbstractMessageParser.Link 792 Link(String url, String text) argument 829 matchURL(String url, String text) argument 888 matchURL(String url, String text) argument 979 matchURL(String url, String text) argument 1066 matchURL(String url, String text) argument [all...] |