Searched defs:url (Results 1 - 25 of 76) sorted by path

1234

/frameworks/base/core/java/android/app/
H A DSuggestionsAdapter.java330 private CharSequence formatUrl(CharSequence url) { argument
338 SpannableString text = new SpannableString(url);
340 0, url.length(),
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java47 public Cursor query(Uri url, String[] projection, String selection, argument
49 return mContentProvider.query(url, projection, selection, selectionArgs, sortOrder);
53 public String getType(Uri url) throws RemoteException { argument
54 return mContentProvider.getType(url);
58 public Uri insert(Uri url, ContentValues initialValues) argument
60 return mContentProvider.insert(url, initialValues);
64 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { argument
65 return mContentProvider.bulkInsert(url, initialValues);
69 public int delete(Uri url, String selection, String[] selectionArgs) argument
71 return mContentProvider.delete(url, selectio
75 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
81 openFile(Uri url, String mode) argument
87 openAssetFile(Uri url, String mode) argument
[all...]
H A DContentProviderNative.java77 Uri url = Uri.CREATOR.createFromParcel(data);
111 IBulkCursor bulkCursor = bulkQuery(url, projection, selection,
132 Uri url = Uri.CREATOR.createFromParcel(data);
133 String type = getType(url);
143 Uri url = Uri.CREATOR.createFromParcel(data);
146 Uri out = insert(url, values);
155 Uri url = Uri.CREATOR.createFromParcel(data);
158 int count = bulkInsert(url, values);
182 Uri url = Uri.CREATOR.createFromParcel(data);
186 int count = delete(url, selectio
289 bulkQueryInternal( Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, IContentObserver observer, CursorWindow window, BulkCursorToCursorAdaptor adaptor) argument
352 bulkQuery(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, IContentObserver observer, CursorWindow window) argument
361 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
376 getType(Uri url) argument
396 insert(Uri url, ContentValues values) argument
417 bulkInsert(Uri url, ContentValues[] values) argument
459 delete(Uri url, String selection, String[] selectionArgs) argument
481 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
504 openFile(Uri url, String mode) argument
526 openAssetFile(Uri url, String mode) argument
[all...]
H A DContentResolver.java192 * @param url A Uri identifying content (either a list or specific type),
196 public final String getType(Uri url) { argument
197 IContentProvider provider = acquireExistingProvider(url);
200 return provider.getType(url);
210 if (!SCHEME_CONTENT.equals(url.getScheme())) {
215 String type = ActivityManagerNative.getDefault().getProviderMimeType(url);
591 * @param url The URL of the table to insert into.
596 public final Uri insert(Uri url, ContentValues values) argument
598 IContentProvider provider = acquireProvider(url);
600 throw new IllegalArgumentException("Unknown URL " + url);
655 bulkInsert(Uri url, ContentValues[] values) argument
684 delete(Uri url, String where, String[] selectionArgs) argument
[all...]
H A DIContentProvider.java43 public IBulkCursor bulkQuery(Uri url, String[] projection, argument
46 public Cursor query(Uri url, String[] projection, String selection, argument
48 public String getType(Uri url) throws RemoteException; argument
49 public Uri insert(Uri url, ContentValues initialValues) argument
51 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException; argument
52 public int delete(Uri url, String selection, String[] selectionArgs) argument
54 public int update(Uri url, ContentValues values, String selection, argument
56 public ParcelFileDescriptor openFile(Uri url, String mode) argument
58 public AssetFileDescriptor openAssetFile(Uri url, String mode) argument
/frameworks/base/core/java/android/net/
H A DDownloads.java221 private static final Cursor getCurrentOtaDownloads(Context context, String url) { argument
226 new String[] {url},
236 String url,
241 Cursor c = getCurrentOtaDownloads(context, url);
481 String url,
495 values.put(android.provider.Downloads.Impl.COLUMN_URI, url);
503 values.put(android.provider.Downloads.Impl.COLUMN_APP_DATA, url);
234 getStatus( Context context, String url, long redownload_threshold) argument
479 startDownloadByUri( Context context, String url, String cookieData, boolean showDownload, int downloadDestination, boolean allowRoaming, boolean skipIntegrityCheck, String title, String notification_package, String notification_class, String notification_extras) argument
H A DMailTo.java47 * @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 DUrlQuerySanitizer.java584 public UrlQuerySanitizer(String url) { argument
586 parseUrl(url);
594 * @param url the encoded URL to parse.
596 public void parseUrl(String url) { argument
597 int queryIndex = url.indexOf('?');
600 query = url.substring(queryIndex + 1);
/frameworks/base/core/java/android/net/http/
H A DRequestHandle.java61 public RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, argument
73 mUrl = url;
85 public RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, argument
89 this(requestQueue, url, uri, method, headers, bodyProvider, bodyLength,
183 // update the "Cookie" header based on the redirected url
H A DRequestQueue.java288 * @param url The url to load.
297 String url, String method,
300 WebAddress uri = new WebAddress(url);
301 return queueRequest(url, uri, method, headers, eventHandler,
307 * @param url The url to load.
308 * @param uri The uri of the url to load.
317 String url, WebAddress uri, String method, Map<String, String> headers,
344 this, url, ur
296 queueRequest( String url, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
316 queueRequest( String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
370 queueSynchronousRequest(String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DBrowser.java62 * headers for the provided url. The keys can't be the standard HTTP headers
63 * as they are set by the WebView. The url's schema must be http(s).
125 * and/or url, which can be edited by the user before saving.
128 * @param url Url for the bookmark. Can be null or empty string.
132 String url) {
135 i.putExtra("url", url);
211 * Return a Cursor with all history/bookmarks that are similar to url,
213 * of the url is the same.
215 * @param url Th
130 saveBookmark(Context c, String title, String url) argument
218 getVisitedLike(ContentResolver cr, String url) argument
267 updateVisitedHistory(ContentResolver cr, String url, boolean real) argument
521 deleteFromHistory(ContentResolver cr, String url) argument
[all...]
H A DMediaStore.java519 * Retrieves an image for the given url as a {@link Bitmap}.
522 * @param url The url of the image
526 public static final Bitmap getBitmap(ContentResolver cr, Uri url) argument
528 InputStream input = cr.openInputStream(url);
586 Uri url = cr.insert(Images.Thumbnails.EXTERNAL_CONTENT_URI, values);
589 OutputStream thumbOut = cr.openOutputStream(url);
620 Uri url = null;
624 url = cr.insert(EXTERNAL_CONTENT_URI, values);
627 OutputStream imageOut = cr.openOutputStream(url);
[all...]
/frameworks/base/core/java/android/service/urlrenderer/
H A DUrlRenderer.java38 * method for each url. A null result means that there was a server
39 * error or a problem rendering the url.
40 * @param url The url that has been rendered.
46 public void complete(String url, ParcelFileDescriptor result); argument
66 public void complete(String url, ParcelFileDescriptor result) { argument
67 mCallback.complete(url, result);
77 * @param callback An instance of {@link Callback} invoked for each url.
H A DUrlRendererService.java47 public void complete(String url, ParcelFileDescriptor result) { argument
49 mCallback.complete(url, result);
85 * url is complete, the subclass must invoke the callback with the result.
89 * @param cb The callback to invoke when each url is complete.
/frameworks/base/core/java/android/text/style/
H A DURLSpan.java32 public URLSpan(String url) { argument
33 mURL = url;
/frameworks/base/core/java/android/text/util/
H A DLinkify.java44 * Alone with the pattern that is to be matched, a url scheme prefix is also
46 * will have the scheme prepended to the matched text when the clickable url
49 * does not have a url scheme prefix, the supplied scheme will be prepended to
50 * create <code>http://example.com</code> when the clickable url link is
137 public final String transformUrl(final Matcher match, String url) {
149 * support@example.com. So, when matching against a web url pattern you
184 * @param url The text that was matched
188 String transformUrl(final Matcher match, String url); argument
240 applyLink(link.url, link.start, link.end, text);
299 * prepended to the url o
388 applyLink(String url, int start, int end, Spannable text) argument
394 makeUrl(String url, String[] prefixes, Matcher m, TransformFilter filter) argument
540 String url; field in class:LinkSpec
[all...]
/frameworks/base/core/java/android/webkit/
H A DBrowserFrame.java234 * Load a url from the network or the filesystem into the main frame.
237 * @param url The url to load.
238 * @param extraHeaders The extra headers sent with this url. This should not
242 public void loadUrl(String url, Map<String, String> extraHeaders) { argument
244 if (URLUtil.isJavaScriptUrl(url)) {
247 url.substring("javascript:".length()));
249 nativeLoadUrl(url, extraHeaders);
255 * Load a url with "POST" method from the network into the main frame.
256 * @param url Th
259 postUrl(String url, byte[] data) argument
356 loadStarted(String url, Bitmap favicon, int loadType, boolean isMainFrame) argument
408 loadFinished(String url, int loadType, boolean isMainFrame) argument
551 handleUrl(String url) argument
639 startLoadingResource(int loaderHandle, String url, String method, HashMap headers, byte[] postData, long postDataIdentifier, int cacheMode, boolean mainResource, boolean userGesture, boolean synchronous, String username, String password) argument
783 didReceiveTouchIconUrl(String url, boolean precomposed) argument
824 updateVisitedHistory(String url, boolean isReload) argument
963 nativeLoadUrl(String url, Map<String, String> headers) argument
965 nativePostUrl(String url, byte[] postData) argument
[all...]
H A DCacheManager.java305 * Given a url, returns the CacheResult if exists. Otherwise returns null.
310 * @return the CacheResult for a given url
312 public static CacheResult getCacheFile(String url, argument
314 return getCacheFile(url, 0, headers);
317 static CacheResult getCacheFile(String url, long postIdentifier, argument
323 String databaseKey = getDatabaseKey(url, postIdentifier);
369 Log.v(LOGTAG, "getCacheFile for url " + url);
376 * Given a url and its full headers, returns CacheResult if a local cache
383 * @return CacheResult for a given url
387 createCacheFile(String url, int statusCode, Headers headers, String mimeType, boolean forceCache) argument
393 createCacheFile(String url, int statusCode, Headers headers, String mimeType, long postIdentifier, boolean forceCache) argument
452 saveCacheFile(String url, CacheResult cacheRet) argument
456 saveCacheFile(String url, long postIdentifier, CacheResult cacheRet) argument
594 getDatabaseKey(String url, long postIdentifier) argument
600 setupFiles(String url, CacheResult cacheRet) argument
[all...]
H A DCallbackProxy.java74 // Used to call startActivity during url override.
265 msg.getData().getString("url"),
322 String overrideUrl = msg.getData().getString("url");
380 String url = msg.getData().getString("url");
387 mDownloadListener.onDownloadStart(url, userAgent,
445 String url = (String) map.get("url");
455 mWebChromeClient.onExceededDatabaseQuota(url,
500 String url
770 getJsDialogTitle(String url) argument
830 onPageStarted(String url, Bitmap favicon) argument
850 onPageFinished(String url) argument
904 shouldOverrideUrlLoading(String url) argument
971 doUpdateVisitedHistory(String url, boolean isReload) argument
980 onLoadResource(String url) argument
1019 onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, long contentLength) argument
1170 onReceivedTouchIconUrl(String url, boolean precomposed) argument
1197 onJsAlert(String url, String message) argument
1218 onJsConfirm(String url, String message) argument
1240 onJsPrompt(String url, String message, String defaultValue) argument
1263 onJsBeforeUnload(String url, String message) argument
1301 onExceededDatabaseQuota( String url, String databaseIdentifier, long currentQuota, long estimatedSize, long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) argument
[all...]
H A DCookieManager.java277 * Set cookie for a given url. The old cookie with same host/path/name will
280 * @param url The url which cookie is set for
283 public void setCookie(String url, String value) { argument
286 uri = new WebAddress(url);
288 Log.e(LOGTAG, "Bad address: " + url);
361 // secure cookies can't be overwritten by non-HTTPS url
404 * Get cookie(s) for a given url so that it can be set to "cookie:" in http
406 * @param url The url need
409 getCookie(String url) argument
[all...]
H A DDownloadListener.java23 * @param url The full url to the content that should be downloaded
30 public void onDownloadStart(String url, String userAgent, argument
H A DFileLoader.java55 * @param url Full file url pointing to content to be loaded
57 * @param asset true if url points to an asset.
61 FileLoader(String url, LoadListener loadListener, int type, argument
68 int index = url.indexOf('?');
71 url.substring(URLUtil.ASSET_BASE.length(), index)) :
72 URLUtil.stripAnchor(url.substring(
76 url.substring(URLUtil.RESOURCE_BASE.length(), index)) :
77 URLUtil.stripAnchor(url.substring(
81 url
[all...]
H A DFrameLoader.java96 String url = mListener.url();
98 if (URLUtil.isNetworkUrl(url)){
105 // Make sure the host part of the url is correctly
120 } else if (handleLocalFile(url, mListener, mSettings)) {
124 Log.v(LOGTAG, "FrameLoader.executeLoad: url protocol not supported:"
125 + mListener.url());
135 static boolean handleLocalFile(String url, LoadListener loadListener, argument
137 // Attempt to decode the percent-encoded url before passing to the
140 url
[all...]
H A DHTML5Audio.java166 private void setDataSource(String url) { argument
167 mUrl = url;
172 mMediaPlayer.setDataSource(url);
176 Log.e(LOGTAG, "couldn't load the resource: " + url + " exc: " + e);
H A DHTML5VideoViewProxy.java157 public static void play(String url, int time, HTML5VideoViewProxy proxy, argument
184 String cookieValue = CookieManager.getInstance().getCookie(url);
191 mVideoView.setVideoURI(Uri.parse(url), headers);
295 String url = (String) msg.obj;
298 VideoPlayer.play(url, mSeekPosition, this, client);
361 public PosterDownloader(String url, HTML5VideoViewProxy proxy) { argument
362 mUrl = url;
539 * @param url is the URL of the video stream.
541 public void play(String url) { argument
542 if (url
584 loadPoster(String url) argument
[all...]

Completed in 263 milliseconds

1234