Searched defs:url (Results 1 - 25 of 107) sorted by relevance

12345

/frameworks/base/core/java/android/webkit/
H A DUrlInterceptHandler.java36 * @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 DBrowserDownloadListener.java28 * @param url The full url to the content that should be downloaded
33 * @param referer The referer associated with this url
36 public abstract void onDownloadStart(String url, String userAgent, argument
43 * @param url The full url to the content that should be downloaded
51 public void onDownloadStart(String url, String userAgent, argument
54 onDownloadStart(url, userAgent, contentDisposition, mimetype, null,
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 DMimeTypeMap.java39 * 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 DUrlInterceptRegistry.java48 * 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 DWebIconDatabase.java37 * @param url The url passed in the request.
38 * @param icon The favicon for the given url.
40 public void onReceivedIcon(String url, Bitmap icon); argument
67 * url. If the icon exists, the listener will be called with the result.
68 * @param url The page's url.
71 public 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
94 releaseIconForPageUrl(String url) argument
[all...]
H A DCookieManager.java76 * @param url the URL for which the cookie is set
80 public void setCookie(String url, String value) { argument
87 * @param url the URL for which the cookies are requested
91 public String getCookie(String url) { argument
98 * @param url the URL for which the cookies are requested
104 public String getCookie(String url, boolean privateBrowsing) { argument
H A DJniUtil.java109 private static synchronized long contentUrlSize(String url) { argument
111 if (url.startsWith(ANDROID_CONTENT)) {
116 int mimeIndex = url.lastIndexOf('?');
118 url = url.substring(0, mimeIndex);
120 Uri uri = Uri.parse(url);
134 Log.e(LOGTAG, "Exception: " + url);
148 private static synchronized InputStream contentUrlStream(String url) { argument
150 if (url.startsWith(ANDROID_CONTENT)) {
157 int mimeIndex = url
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DTestShellCallback.java22 public void timedOut(String url); argument
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DJsonArrayRequest.java37 * @param url URL to fetch the JSON from
41 public JsonArrayRequest(String url, Listener<JSONArray> listener, ErrorListener errorListener) { argument
42 super(url, null, listener, errorListener);
H A DJsonObjectRequest.java38 * @param url URL to fetch the JSON from
44 public JsonObjectRequest(String url, JSONObject jsonRequest, Listener<JSONObject> listener, argument
46 super(url, (jsonRequest == null) ? null : jsonRequest.toString(), listener, errorListener);
H A DStringRequest.java35 * @param url URL to fetch the string at
39 public StringRequest(String url, Listener<String> listener, ErrorListener errorListener) { argument
40 super(url, errorListener);
H A DHurlStack.java74 String url = request.getUrl();
79 String rewritten = mUrlRewriter.rewriteUrl(url);
81 throw new IOException("URL blocked by rewriter: " + url);
83 url = rewritten;
85 URL parsedUrl = new URL(url);
134 * @param url
138 private HttpURLConnection openConnection(URL url, Request<?> request) throws IOException { argument
139 HttpURLConnection connection = (HttpURLConnection) url.openConnection();
H A DJsonRequest.java45 public JsonRequest(String url, String requestBody, Listener<T> listener, argument
47 super(url, errorListener);
/frameworks/base/core/java/android/text/style/
H A DURLSpan.java32 public URLSpan(String url) { argument
33 mURL = url;
/frameworks/base/core/tests/coretests/src/android/webkit/
H A DUrlInterceptRegistryTest.java42 public MockUrlInterceptHandler(PluginData data, String url) { argument
44 mUrl = url;
47 public CacheResult service(String url, Map<String, String> headers) { argument
51 public PluginData getPluginData(String url, argument
54 if (mUrl.equals(url)) {
64 String url = new String("url1");
66 new MockUrlInterceptHandler(data, url);
69 url = new String("url2");
71 new MockUrlInterceptHandler(data, url);
/frameworks/av/include/private/media/
H A DVideoFrame.h34 explicit MediaAlbumArt(const char* url) { argument
37 FILE *in = fopen(url, "r");
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.h33 const char* url,
53 const char* url);
32 scoreFactory(const sp<IMediaPlayer>& client, const char* url, float curScore) argument
H A DMidiMetadataRetriever.cpp39 const char *url, const KeyedVector<String8, String8> *headers)
41 ALOGV("setDataSource: %s", url? url: "NULL pointer");
47 return mMidiPlayer->setDataSource(url, headers);
38 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
H A DTestPlayerStub.cpp37 const char *kUrlParam = "url=";
52 // @return true if the url scheme is 'test:'
53 bool isTestUrl(const char *url) argument
55 return url && strncmp(url, kTestUrlScheme, strlen(kTestUrlScheme)) == 0;
79 // * The url to be passed to the real setDataSource impl.
83 // test:<name of the .so>?url=<url for setDataSource>
85 // The value of the url parameter is treated as a string (no
114 // Call setDataSource on the test player with the url i
115 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
191 canBeUsed(const char *url) argument
[all...]
/frameworks/base/core/java/android/net/
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());
/frameworks/base/services/java/com/android/server/location/
H A DGpsXtraDownloader.java108 protected static byte[] doDownload(String url, boolean isProxySet, argument
110 if (DEBUG) Log.d(TAG, "Downloading XTRA data from " + url);
115 HttpUriRequest req = new HttpGet(url);
/frameworks/base/core/java/android/net/http/
H A DSslError.java111 * @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/tests/coretests/src/android/app/
H A DSuggestionProvider.java63 public Cursor query(Uri url, String[] projectionIn, String selection, argument
65 int match = sURLMatcher.match(url);
68 String query = url.getLastPathSegment();
76 throw new IllegalArgumentException("Unknown URL: " + url);
86 public String getType(Uri url) { argument
87 int match = sURLMatcher.match(url);
92 throw new IllegalArgumentException("Unknown URL: " + url);
97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
102 public Uri insert(Uri url, ContentValues initialValues) { argument
107 public int delete(Uri url, Strin argument
[all...]
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeTestBase.java34 public synchronized void onPageFinished(WebView webView, String url) { argument

Completed in 277 milliseconds

12345