Searched refs:url (Results 51 - 75 of 182) sorted by relevance

12345678

/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DHurlStack.java91 String url = request.getUrl();
96 String rewritten = mUrlRewriter.rewriteUrl(url);
98 throw new IOException("URL blocked by rewriter: " + url);
100 url = rewritten;
102 URL parsedUrl = new URL(url);
166 * Create an {@link HttpURLConnection} for the specified {@code url}.
168 protected HttpURLConnection createConnection(URL url) throws IOException { argument
169 HttpURLConnection connection = (HttpURLConnection) url.openConnection();
181 * @param url
185 private HttpURLConnection openConnection(URL url, Reques argument
[all...]
H A DImageRequest.java63 * @param url URL of the image
72 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument
74 super(Method.GET, url, errorListener);
89 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument
91 this(url, listener, maxWidth, maxHeight,
161 VolleyLog.e("Caught OOM for %d byte image, url=%s", response.data.length, getUrl());
/frameworks/base/media/java/android/media/
H A DMediaHTTPConnection.java147 private static final boolean isLocalHost(URL url) { argument
148 if (url == null) {
152 String host = url.getHost();
177 URL url = mURL;
180 boolean noProxy = isLocalHost(url);
184 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY);
186 mConnection = (HttpURLConnection)url.openConnection();
231 url = new URL(mURL /* TRICKY: don't use url! */, location);
232 if (!url
[all...]
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java75 String url = getIntent().getStringExtra(ConnectivityManager.EXTRA_CAPTIVE_PORTAL_URL);
76 if (url == null) url = mCm.getCaptivePortalServerUrl();
78 mURL = new URL(url);
81 Log.e(TAG, "Invalid captive portal URL, url=" + url);
268 public void onPageStarted(WebView view, String url, Bitmap favicon) { argument
269 if (url.contains(mBrowserBailOutToken)) {
280 if (!url.startsWith(INTERNAL_ASSETS)) {
282 myUrlBar.setText(url);
288 onPageFinished(WebView view, String url) argument
350 shouldOverrideUrlLoading(WebView view, String url) argument
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPRequest.java31 public HTTPRequest(Method method, URL url) { argument
32 this(null, null, method, url, null, false);
35 public HTTPRequest(String payload, Charset charset, Method method, URL url, String contentType, argument
41 if (url.getPort() != HTTPS_PORT) {
42 mHeaderFields.put(HostHeader, url.getHost() + ':' + url.getPort());
44 mHeaderFields.put(HostHeader, url.getHost());
58 mMethodLine = method.name() + ' ' + url.getPath() + ' ' + HTTPVersion + CRLF;
62 URL url, int sequence) throws IOException, GeneralSecurityException {
64 generateAuthAnswer(httpResponse, userName, password, url, sequenc
61 doAuthenticate(HTTPResponse httpResponse, String userName, byte[] password, URL url, int sequence) argument
67 generateAuthAnswer(HTTPResponse httpResponse, String userName, byte[] password, URL url, int sequence) argument
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUSocketFactory.java79 Network network, URL url, KeyManager km,
83 if (enforceSecurity && !url.getProtocol().equalsIgnoreCase(SecureHTTP)) {
84 throw new IOException("Protocol '" + url.getProtocol() + "' is not secure");
86 return new OSUSocketFactory(ks, homeSP, flowType, network, url, km);
90 URL url, KeyManager km) throws GeneralSecurityException, IOException {
95 switch (url.getProtocol()) {
98 port = url.getPort() > 0 ? url.getPort() : 80;
105 port = url.getPort() > 0 ? url
78 getSocketFactory(KeyStore ks, HomeSP homeSP, int flowType, Network network, URL url, KeyManager km, boolean enforceSecurity) argument
89 OSUSocketFactory(KeyStore ks, HomeSP homeSP, int flowType, Network network, URL url, KeyManager km) argument
168 getOSUCertificate(URL url) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebChromeClient.java52 * 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...]
/frameworks/base/docs/html/
H A Djd_tag_helpers.js112 var url = res.url;
113 if (url) {
114 ALL_RESOURCES_BY_URL[url] = res;
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DTestRequest.java32 public Base(String url, Response.ErrorListener listener) { argument
33 super(url, listener);
36 public Base(int method, String url, Response.ErrorListener listener) { argument
37 super(method, url, listener);
/frameworks/base/core/java/android/text/style/
H A DURLSpan.java34 public URLSpan(String url) { argument
35 mURL = url;
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java43 public static final String MSG_NAV_URL = "url";
116 private void navigate(String url, int timeout) { argument
117 if(url == null) {
126 Log.v(LOGTAG, "Navigating to URL: " + url);
127 webView.loadUrl(url);
208 + ", url=" + failingUrl);
212 public void onPageStarted(WebView view, String url, Bitmap favicon) { argument
214 Log.v(LOGTAG, "onPageStarted: " + url);
218 public void onPageFinished(WebView view, String url) { argument
219 Log.v(LOGTAG, "onPageFinished: " + url);
[all...]
/frameworks/data-binding/baseLibrary/
H A Dbuild.gradle47 url dataBindingConfig.licenseUrl
/frameworks/data-binding/integration-tests/IndependentLibrary/app/
H A Dbuild.gradle52 repository(url: "file://${dataBindingConfig.mavenRepoDir}")
/frameworks/support/customtabs/src/android/support/customtabs/
H A DICustomTabsService.aidl32 boolean mayLaunchUrl(in ICustomTabsCallback callback, in Uri url,
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);
161 * @param url Most likely URL.
164 * likelihood order. Each Bundle has to provide a url.
167 protected abstract boolean mayLaunchUrl(CustomTabsSessionToken sessionToken, Uri url, argument
/frameworks/support/v17/preference-leanback/
H A Dbuild.gradle96 repository(url: uri(rootProject.ext.supportRepoOut)) {
102 url 'http://developer.android.com/tools/extras/support-library.html'
108 url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
114 url "http://source.android.com"
/frameworks/support/v7/preference/
H A Dbuild.gradle96 repository(url: uri(rootProject.ext.supportRepoOut)) {
102 url 'http://developer.android.com/tools/extras/support-library.html'
108 url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
114 url "http://source.android.com"
/frameworks/volley/src/main/java/com/android/volley/
H A DRequest.java115 public Request(String url, Response.ErrorListener listener) { argument
116 this(Method.DEPRECATED_GET_OR_POST, url, listener);
125 public Request(int method, String url, Response.ErrorListener listener) { argument
127 mUrl = url;
131 mDefaultTrafficStatsTag = findDefaultTrafficStatsTag(url);
177 private static int findDefaultTrafficStatsTag(String url) { argument
178 if (!TextUtils.isEmpty(url)) {
179 Uri uri = Uri.parse(url);
/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...]
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp62 const char *url,
64 ALOGV("setDataSource %s", url);
66 if (strncmp(url, kPing, strlen(kPing)) == 0) {
60 setDataSource( const sp<IMediaHTTPService>& , const char *url, const KeyedVector<String8, String8> *) argument
/frameworks/av/media/libstagefright/include/
H A DSDPLoader.h43 void load(const char* url, const KeyedVector<String8, String8> *headers);
H A DStagefrightMetadataRetriever.h37 const char *url,
/frameworks/base/core/tests/coretests/src/android/provider/
H A DSmsProviderTest.java73 for (Uri url : urls) {
74 int count = contentResolver.delete(url, null, null);
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DAppBridge.java19 public static final String DEAUTH_URL = "deauth-url";
53 public void showDeauth(String spName, boolean ess, int delay, String url) { argument
58 intent.putExtra(DEAUTH_URL, url);
/frameworks/data-binding/compiler/
H A Dbuild.gradle54 url dataBindingConfig.licenseUrl

Completed in 1560 milliseconds

12345678