/external/oauth/core/src/main/java/net/oauth/ |
ConsumerProperties.java | 22 import java.net.URL; 39 public static URL getResource(String name, ClassLoader loader) 41 URL resource = loader.getResource(name); 48 public static Properties getProperties(URL source) throws IOException { 100 URL baseURL = (base == null) ? null : new URL(base); 123 private String getURL(URL base, String name) throws MalformedURLException { 124 String url = consumerProperties.getProperty(name); local 126 url = (new URL(base, url)).toExternalForm() [all...] |
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
CustomDispatcherTest.java | 20 import java.net.URL; 49 final URL url = mockWebServer.getUrl("/"); local 50 final HttpURLConnection conn = (HttpURLConnection) url.openConnection(); 89 final URL url = mockWebServer.getUrl(path); 92 conn = (HttpURLConnection) url.openConnection();
|
/frameworks/volley/src/test/java/com/android/volley/mock/ |
TestRequest.java | 32 public Base(String url, Response.ErrorListener listener) { 33 super(url, listener); 36 public Base(int method, String url, Response.ErrorListener listener) { 37 super(method, url, listener);
|
/libcore/luni/src/main/java/java/net/ |
HttpURLConnection.java | 34 * URL#openConnection() URL.openConnection()} and casting the result to 56 * URL url = new URL("http://www.android.com/"); 57 * HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); 67 * Calling {@link URL#openConnection()} on a URL with the "https" 101 * HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); 163 * HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection() [all...] |
/packages/apps/Browser/src/com/android/browser/ |
WebViewController.java | 63 boolean shouldOverrideUrlLoading(Tab tab, WebView view, String url); 76 void onDownloadStart(Tab tab, String url, String useragent, String contentDisposition, 105 Tab openTab(String url, boolean incognito, boolean setActive, 108 Tab openTab(String url, Tab parent, boolean setActive,
|
DownloadHandler.java | 51 * @param url The full url to the content that should be downloaded 55 * @param referer The referer associated with the downloaded url 58 public static void onDownloadStart(Activity activity, String url, 69 intent.setDataAndType(Uri.parse(url), mimetype); 75 // load the url only to try and download it again. 88 + " over " + Uri.parse(url).getScheme(), 97 onDownloadStartNoStream(activity, url, userAgent, contentDisposition, 102 // instead of just encoding URL's properly 135 * @param url The full url to the content that should be downloade [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
NetworkUriImageRequest.java | 32 import java.net.URL; 59 final URL url = new URL(mDescriptor.uri.toString()); local 60 connection = (HttpURLConnection) url.openConnection(); 67 "MalformedUrl for image with url: " 71 "IOException trying to get inputStream for image with url: " 90 final URL url = new URL(mDescriptor.uri.toString()) local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
AdtTestData.java | 27 import java.net.URL; 57 URL url = this.getClass().getClassLoader().getResource("."); //$NON-NLS-1$ local 62 mOsRootDataPath = FileLocator.resolve(url).getFile(); 64 // Fix the path returned by the URL resolver 78 sLogger.warning("IOException while using FileLocator, reverting to url"); 79 mOsRootDataPath = url.getFile(); 82 sLogger.info("Running as an plain JUnit test, using url as-is"); 83 mOsRootDataPath = url.getFile();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 35 import java.net.URL; 140 // create url connection to be tested 141 URL url = new URL("https://localhost:" + ss.getLocalPort()); local 142 HttpsURLConnection connection = (HttpsURLConnection) url 180 // create url connection to be tested 181 URL url = new URL("https://localhost:" + ss.getLocalPort()) local 219 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 264 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 305 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 343 URL url = new URL("https:\/\/localhost:55555"); local 393 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 435 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 471 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 506 URL url = new URL("https:\/\/requested.host:55556\/requested.data"); local 543 URL url = new URL("https:\/\/requested.host:55556\/requested.data"); local 588 URL url = new URL("https:\/\/requested.host:55555\/requested.data"); local 625 URL url = new URL("https:\/\/requested.host:55555\/requested.data"); local 677 URL url = new URL("https:\/\/requested.host:55554\/requested.data"); local 713 URL url = new URL("https:\/\/requested.host:55555\/requested.data"); local 753 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 830 URL url = ClassLoader.getSystemClassLoader().getResource(ksFileName); local [all...] |
/external/eigen/scripts/ |
eigen_gen_credits.cpp | 122 string url; member in struct:contributor 140 string hgname, realname, url, misc; local 151 url = line.substr(last_bar+1); 173 c.url = url; 180 it->url = url; 220 if(itc->url.length()) 221 cout << "| [" << itc->url << " " << itc->name << "]\n";
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
DispatcherTest.java | 140 public void finishJob(String url) { 143 if (call.request().urlString().equals(url)) { 149 throw new AssertionError("No such job: " + url); 174 private Request newRequest(String url) { 175 return new Request.Builder().url(url).build(); 178 private Request newRequest(String url, String tag) { 179 return new Request.Builder().url(url).tag(tag).build();
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldURLClassLoaderTest.java | 25 import java.net.URL; 42 * java.net.URLClassLoader#URLClassLoader(java.net.URL[]) 45 URL[] u = new URL[0]; 51 URL [] urls = {new URL("http://foo.com/foo"), 52 new URL("jar:file://foo.jar!/foo.c"), 53 new URL("ftp://foo1/foo2/foo.c")}; 66 new URLClassLoader(new URL[] { null }); 98 URL[] urls = new URL[2] 258 String url; local [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
SmsProvider.java | 103 public Cursor query(Uri url, String[] projectionIn, String selection, 115 int match = sURLMatcher.match(url); 151 qb.appendWhere("(_id = " + url.getPathSegments().get(0) + ")"); 160 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); 167 threadID = Integer.parseInt(url.getPathSegments().get(1)); 175 + url.getPathSegments().get(1)); 218 "(sms_id = " + url.getPathSegments().get(1) + ")"); 230 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); 237 String messageIndexString = url.getPathSegments().get(1); 242 Log.e(TAG, "Invalid request: " + url); [all...] |
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
ResponseCacheTest.java | 48 import java.net.URL; 131 private HttpURLConnection openConnection(URL url) { 132 return new OkUrlFactory(client).open(url); 209 URL url = server.getUrl("/"); local 210 HttpURLConnection connection = openConnection(url); 216 CacheResponse cached = cache.get(url.toURI(), "GET", null); 448 URL url = server.getUrl("/") local 462 URL url = server.getUrl("\/"); local 548 URL url = server.getUrl("\/"); local 592 URL url = server.getUrl("\/?foo=bar"); local 716 URL url = server.getUrl("\/"); local 767 URL url = server.getUrl("\/"); local 794 URL url = server.getUrl("\/"); local 881 URL url = server.getUrl("\/"); local 899 URL url = server.getUrl("\/"); local 1119 URL url = server.getUrl("\/"); local 1134 URL url = server.getUrl("\/"); local 1169 URL url = server.getUrl("\/"); local 1232 URL url = server.getUrl("\/"); local 1278 URL url = server.getUrl("\/"); local 1296 URL url = server.getUrl("\/"); local 1354 URL url = server.getUrl("\/"); local 1372 URL url = server.getUrl("\/"); local 1394 URL url = server.getUrl("\/"); local 1415 URL url = server.getUrl("\/"); local 1435 URL url = server.getUrl("\/"); local 1471 URL url = server.getUrl("\/"); local 1491 URL url = server.getUrl("\/"); local 1715 URL url = server.getUrl("\/"); local 1758 URL url = server.getUrl("\/"); local [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/ |
Response.java | 188 public String encodeURL(String url) 193 return url; 196 if (sessionManager.isCheckingRemoteSessionIdEncoding() && URIUtil.hasScheme(url)) 198 uri = new HttpURI(url); 207 return url; 212 return url; 214 if (url==null) 220 int prefix=url.indexOf(sessionURLPrefix); 223 int suffix=url.indexOf("?",prefix); 225 suffix=url.indexOf("#",prefix) [all...] |
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
UrlConnectionCacheTest.java | 52 import java.net.URL; 187 URL url = server.getUrl("/"); local 188 HttpURLConnection conn = client.open(url); 194 Response cached = cache.get(new Request.Builder().url(url).build()); 480 URL url = server.getUrl("/"); local 481 assertEquals("A", readAscii(client.open(url))); 482 URLConnection connection = client.open(url); 522 URL url = server.getUrl("\/?foo=bar"); local 636 URL url = server.getUrl("\/"); local 674 URL url = server.getUrl("\/"); local 695 URL url = server.getUrl("\/"); local 774 URL url = server.getUrl("\/"); local 790 URL url = server.getUrl("\/"); local 987 URL url = server.getUrl("\/"); local 1002 URL url = server.getUrl("\/"); local 1034 URL url = server.getUrl("\/"); local 1055 URL url = server.getUrl("\/"); local 1111 URL url = server.getUrl("\/"); local 1151 URL url = new URL("http:\/\/localhost\/"); local 1238 URL url = server.getUrl("\/"); local 1254 URL url = server.getUrl("\/"); local 1303 URL url = server.getUrl("\/"); local 1319 URL url = server.getUrl("\/"); local 1339 URL url = server.getUrl("\/"); local 1358 URL url = server.getUrl("\/"); local 1376 URL url = server.getUrl("\/"); local 1405 URL url = server.getUrl("\/"); local 1429 URL url = server.getUrl("\/"); local 1611 URL url = server.getUrl("\/"); local 1692 URL url = server.getUrl("\/"); local 1735 URL url = server.getUrl("\/"); local [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewClientTest.java | 184 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 189 mOnUiThread.loadUrlAndWaitForCompletion(url); 236 String url = mWebServer.getAssetUrl(TestHtmlConstants.BAD_IMAGE_PAGE_URL); local 237 mOnUiThread.loadUrlAndWaitForCompletion(url); 252 String url = mWebServer.getAssetUrl(TestHtmlConstants.NON_EXISTENT_PAGE_URL); local 253 mOnUiThread.loadUrlAndWaitForCompletion(url); 269 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_FORM_URL); local 271 mOnUiThread.loadUrlAndWaitForCompletion(url); 274 // the URL should have changed when the form was posted 275 assertFalse(url.equals(mOnUiThread.getUrl())) 316 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.EMBEDDED_IMG_URL); local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.update.configurator_3.3.100.v20100512.jar | |
/bionic/tools/bionicbb/ |
presubmit.py | 77 url = job.get_build().baseurl 79 url = 'DRY_RUN_URL' 80 logging.info('Cleaning: %s %s', build, url) 126 # url = job.get_build().baseurl 127 url = 'URL UNAVAILABLE' 129 url = 'DRY_RUN_URL' 130 logging.info('Building: %s => %s %s %s', project, build, url, 148 url = '{}/{}'.format(config.build_listener_url, 'drop-rejection') 152 requests.post(url, headers=headers, data=json.dumps(request_data) [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssService.java | 33 import java.net.URL; 148 // Get the URL for the feed from the cursor. 149 int urlColumnIndex = mCur.getColumnIndex(RssContentProvider.URL); 150 String url = mCur.getString(urlColumnIndex); local 151 queryItem(url); 162 private boolean queryItem(String url) { 164 URL wrappedUrl = new URL(url); 166 mLogger.info("RSS Feed " + url + ":\n " + rssFeed) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
output_html.properties | 43 {http\u003a//xml.apache.org/xalan}use-url-escaping=yes
|
/external/boringssl/src/util/bot/ |
update_clang.py | 34 def DownloadFile(url, path): 35 """DownloadFile fetches |url| to |path|.""" 42 urllib.urlretrieve(url, path, reporthook=report)
|
/external/chromium-libpac/test/js-unittest/ |
ends_with_comment.js | 1 function FindProxyForURL(url, host) {
|
international_domain_names.js | 3 function FindProxyForURL(url, host) {
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/34/1/.cp/ant_tasks/ |
pde-ant.jar | |