Searched defs:url (Results 1 - 25 of 105) 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 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.java46 * @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...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsXtraDownloader.java104 protected byte[] doDownload(String url) { argument
105 if (DEBUG) Log.d(TAG, "Downloading XTRA data from " + url);
109 connection = (HttpURLConnection) (new URL(url)).openConnection();
/frameworks/volley/src/main/java/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);
48 * @param url URL to fetch the JSON from
54 public JsonArrayRequest(int method, String url, JSONArray jsonRequest, argument
56 super(method, url, (jsonRequest == null) ? null : jsonRequest.toString(), listener,
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/volley/src/test/java/com/android/volley/
H A DRequestTest.java84 public UrlParseRequest(String url) { argument
85 super(Request.Method.GET, url, null);
/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/core/java/android/text/style/
H A DURLSpan.java34 public URLSpan(String url) { argument
35 mURL = url;
/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
78 if (url == null) {
82 new URL(url);
88 return mPacNative.makeProxyRequest(url, host);
/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsSession.java52 * @param url Most likely URL.
60 public boolean mayLaunchUrl(Uri url, Bundle extras, List<Bundle> otherLikelyBundles) { argument
62 return mService.mayLaunchUrl(mCallback, url, extras, otherLikelyBundles);
H A DCustomTabsService.java46 * For {@link CustomTabsService#mayLaunchUrl} calls that wants to specify more than one url,
48 * to insert a new url to each bundle inside list of bundles.
83 public boolean mayLaunchUrl(ICustomTabsCallback callback, Uri url,
86 new CustomTabsSessionToken(callback), url, extras, otherLikelyBundles);
155 * @param url Most likely URL.
158 * likelihood order. Each Bundle has to provide a url.
161 protected abstract boolean mayLaunchUrl(CustomTabsSessionToken sessionToken, Uri url, argument
/frameworks/av/media/libmediaplayerservice/
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/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/packages/StatementService/src/com/android/statementservice/retriever/
H A DURLFetcher.java50 * Fetches the specified url and returns the content and ttl.
60 public WebContent getWebContentFromUrlWithRetry(URL url, long fileSizeLimit, argument
68 return getWebContentFromUrl(url, fileSizeLimit, connectionTimeoutMillis);
84 * Fetches the specified url and returns the content and ttl.
90 public WebContent getWebContentFromUrl(URL url, long fileSizeLimit, int connectionTimeoutMillis) argument
92 final String scheme = url.getProtocol().toLowerCase(Locale.US);
94 throw new IllegalArgumentException("The url protocol should be on http or https.");
99 connection = (HttpURLConnection) url.openConnection();
113 Log.e(TAG, "The content size of the url is larger than " + fileSizeLimit);
146 throw new AssociationServiceException("The content size of the url i
[all...]
H A DWebAsset.java46 private WebAsset(URL url) { argument
47 int port = url.getPort() != -1 ? url.getPort() : url.getDefaultPort();
49 mUrl = new URL(url.getProtocol().toLowerCase(), url.getHost().toLowerCase(), port, "");
127 URL url;
129 url = new URL(asset.optString(Utils.WEB_ASSET_FIELD_SITE));
134 String scheme = url.getProtocol().toLowerCase(Locale.US);
139 if (url
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DNetworkAuthenticationTypeElement.java31 private NetworkAuthentication(NwkAuthTypeEnum type, String url) { argument
33 m_url = url;

Completed in 383 milliseconds

12345