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

1234

/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 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.java45 * @param url The url passed in the request.
46 * @param icon The favicon for the given url.
48 public void onReceivedIcon(String url, Bitmap icon); argument
75 * url. If the icon exists, the listener will be called with the result.
76 * @param url The page's url.
79 public void requestIconForPageUrl(String url, IconListener listener) { argument
91 * Retain the icon for the given page url.
92 * @param url Th
94 retainIconForPageUrl(String url) argument
102 releaseIconForPageUrl(String url) argument
[all...]
/frameworks/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(Method.GET, url, null, listener, errorListener);
H A DJsonObjectRequest.java39 * @param url URL to fetch the JSON from
45 public JsonObjectRequest(int method, String url, JSONObject jsonRequest, argument
47 super(method, url, (jsonRequest == null) ? null : jsonRequest.toString(), listener,
57 public JsonObjectRequest(String url, JSONObject jsonRequest, Listener<JSONObject> listener, argument
59 this(jsonRequest == null ? Method.GET : Method.POST, url, jsonRequest,
H A DStringRequest.java37 * @param url URL to fetch the string at
41 public StringRequest(int method, String url, Listener<String> listener, argument
43 super(method, url, errorListener);
50 * @param url URL to fetch the string at
54 public StringRequest(String url, Listener<String> listener, ErrorListener errorListener) { argument
55 this(Method.GET, url, listener, errorListener);
H A DHurlStack.java90 String url = request.getUrl();
95 String rewritten = mUrlRewriter.rewriteUrl(url);
97 throw new IOException("URL blocked by rewriter: " + url);
99 url = rewritten;
101 URL parsedUrl = new URL(url);
149 * Create an {@link HttpURLConnection} for the specified {@code url}.
151 protected HttpURLConnection createConnection(URL url) throws IOException { argument
152 return (HttpURLConnection) url.openConnection();
157 * @param url
161 private HttpURLConnection openConnection(URL url, Reques argument
[all...]
H A DJsonRequest.java51 public JsonRequest(String url, String requestBody, Listener<T> listener, argument
53 this(Method.DEPRECATED_GET_OR_POST, url, requestBody, listener, errorListener);
56 public JsonRequest(int method, String url, String requestBody, Listener<T> listener, argument
58 super(method, url, errorListener);
/frameworks/base/core/java/android/text/style/
H A DURLSpan.java32 public URLSpan(String url) { argument
33 mURL = url;
/frameworks/volley/tests/src/com/android/volley/
H A DRequestTest.java87 public UrlParseRequest(String url) { argument
88 super(Request.Method.GET, url, null);
/frameworks/av/media/libmediaplayerservice/
H A DMidiMetadataRetriever.cpp42 const char *url,
45 ALOGV("setDataSource: %s", url? url: "NULL pointer");
51 return mMidiPlayer->setDataSource(httpService, url, headers);
40 setDataSource( const sp<IMediaHTTPService> &httpService, 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 sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
193 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/packages/services/PacProcessor/src/com/android/pacprocessor/
H A DPacNative.java36 private native String makeProxyRequestNativeLocked(String url, String host); argument
74 public synchronized String makeProxyRequest(String url, String host) { argument
75 String ret = makeProxyRequestNativeLocked(url, host);
H A DPacService.java73 public String resolvePacFile(String host, String url) throws RemoteException { argument
76 new URL(url);
82 return mPacNative.makeProxyRequest(url, host);
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsXtraDownloader.java119 protected byte[] doDownload(String url, boolean isProxySet, argument
121 if (DEBUG) Log.d(TAG, "Downloading XTRA data from " + url);
127 HttpUriRequest req = new HttpGet(url);
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebHistoryItemChromium.java84 String url, String originalUrl, String title, Bitmap favicon) {
85 mUrl = url;
83 WebHistoryItemChromium( String url, String originalUrl, String title, Bitmap favicon) argument
H A DWebIconDatabaseAdapter.java45 public void requestIconForPageUrl(String url, IconListener listener) { argument
56 public void retainIconForPageUrl(String url) { argument
61 public void releaseIconForPageUrl(String url) { argument
/frameworks/av/media/libstagefright/rtsp/
H A DSDPLoader.cpp51 void SDPLoader::load(const char *url, const KeyedVector<String8, String8> *headers) { argument
55 msg->setString("url", url);
87 AString url; local
88 CHECK(msg->findString("url", &url));
93 ALOGV("onLoad %s", uriDebugString(url, mFlags & kFlagIncognito).c_str());
96 err = mHTTPDataSource->connect(url.c_str(), headers);
/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
/frameworks/webview/chromium/tests/java/src/com/android/uiautomator/platform/
H A DWebViewFlingTest.java53 String url = mParams.getString("Url");
54 File webpage = new File(url);
63 private void loadUrl(String url) throws IOException { argument
64 Runtime.getRuntime().exec(START_CMD + url);

Completed in 383 milliseconds

1234