Searched refs:URL (Results 76 - 100 of 542) sorted by relevance

1234567891011>>

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DExternalHttp2Example.java23 import java.net.URL;
33 URL url = new URL("https://http2.iijplus.jp/push/test1");
H A DExternalSpdyExample.java23 import java.net.URL;
33 URL url = new URL("https://www.google.ca/");
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/
H A DGetExample.java8 import java.net.URL;
14 String result = get(new URL("https://raw.github.com/square/okhttp/master/README.md"));
18 String get(URL url) throws IOException {
H A DPostExample.java10 import java.net.URL;
17 String result = post(new URL("http://www.roundsapp.com/post"), body);
21 String post(URL url, byte[] body) throws IOException {
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_GetLocal.java28 import java.net.URL;
62 InputStream in = new URL(url).openStream();
80 InputStream in = new URL(url).openStream();
97 URL fUrl1 = new URL("jar:file:" + file.getPath() + "!/");
H A DSupport_URLConnector.java24 import java.net.URL;
29 * URL's
40 instance = new URL(address).openConnection();
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
H A DProviderBookmarkNodeTest.java69 root.addChild(new BookmarkNode(2, Type.URL, "Google", "http://www.google.com/", root));
70 root.addChild(new BookmarkNode(3, Type.URL, "GoogleMaps", "http://maps.google.com/", root));
79 folder1.addChild(new BookmarkNode(7, Type.URL, "RickRoll'D",
81 folder2.addChild(new BookmarkNode(8, Type.URL, "Surprised Vader",
158 BookmarkNode node = new BookmarkNode(1, Type.URL, "Google", "http://www.google.com/", null);
166 root.addChild(new BookmarkNode(2, Type.URL, "Google", "http://www.google.com/", root));
167 root.addChild(new BookmarkNode(2, Type.URL, "GoogleMaps", "http://maps.google.com/", root));
/external/guava/guava/src/com/google/common/base/
H A DFinalizableReferenceQueue.java24 import java.net.URL;
236 * Gets URL for base of path containing Finalizer.class.
238 URL getBaseUrl() throws IOException {
239 // Find URL pointing to Finalizer.class file.
241 URL finalizerUrl = getClass().getClassLoader().getResource(finalizerPath);
246 // Find URL pointing to base of class path.
252 return new URL(finalizerUrl, urlString);
255 /** Creates a class loader with the given base URL as its classpath. */
256 URLClassLoader newLoader(URL base) {
257 return new URLClassLoader(new URL[] {bas
[all...]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
H A DHttpsURLConnectionTest.java22 import java.net.URL;
39 HttpsURLConnection con = new MyHttpsURLConnection(new URL(
107 public MyHttpsURLConnection(URL url) {
/external/chromium_org/components/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/
H A DCronetSampleTest.java35 // URL used for base tests.
36 private static final String URL = "http://127.0.0.1:8000"; field in class:CronetSampleTest
45 CronetSampleActivity activity = launchCronetSampleWithUrl(URL);
49 // Make sure that the URL is set as expected.
50 assertEquals(URL, activity.getUrl());
55 * Starts the CronetSample activity and loads the given URL. The URL can be
65 * arguments and loads the given URL. The URL can be null, in which case
114 // loading because it has no URL se
[all...]
/external/emma/core/java12/com/vladium/util/
H A DResourceLoader.java13 import java.net.URL;
45 public static URL getResource (final String name)
92 public static URL getResource (final String name, final ClassLoader loader)
/external/javassist/src/main/javassist/
H A DURLClassPath.java22 * A class search-path specified with URL (http).
35 * Creates a search path specified with URL (http).
40 * "org.javassist.test.Main", then the given URL is used for loading that class.
49 * <p>If <code>packageName</code> is <code>null</code>, the URL is used
97 * Returns the URL.
101 public URL find(String classname) {
165 URL url;
167 url = new URL("http", host, port, filename);
171 throw new IOException("invalid URL?");
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DOkAuthenticator.java21 import java.net.URL;
39 Credential authenticate(Proxy proxy, URL url, List<Challenge> challenges) throws IOException;
50 Credential authenticateProxy(Proxy proxy, URL url, List<Challenge> challenges) throws IOException;
/external/chromium_org/third_party/libxml/src/include/libxml/
H A DHTMLparser.h196 const char *URL,
200 htmlReadFile (const char *URL,
206 const char *URL,
211 const char *URL,
218 const char *URL,
224 const char *URL,
236 const char *URL,
242 const char *URL,
250 const char *URL,
/external/libxml2/include/libxml/
H A DHTMLparser.h198 const char *URL,
202 htmlReadFile (const char *URL,
208 const char *URL,
213 const char *URL,
220 const char *URL,
226 const char *URL,
238 const char *URL,
244 const char *URL,
252 const char *URL,
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
H A DApacheHttpClient.java21 import java.net.URL;
52 @Override public Runnable request(URL url) {
57 private final URL url;
59 public ApacheHttpClientRequest(URL url) {
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/
H A DMacro.java27 public static final int URL = 1; field in class:Macro
/external/chromium_org/third_party/libxml/src/
H A Dxinclude.c53 xmlChar *URI; /* the fully resolved resource URL */
76 xmlChar * url; /* the current URL processed */
78 int urlMax; /* size of URL stack */
79 xmlChar * *urlTab; /* URL stack */
327 xmlXIncludeErrMemory(ctxt, NULL, "adding URL");
338 xmlXIncludeErrMemory(ctxt, NULL, "adding URL");
350 * Pops the top URL from the URL stack
414 * @URL: the URL o
419 xmlXIncludeParseFile(xmlXIncludeCtxtPtr ctxt, const char *URL) argument
490 xmlChar *URL; local
1401 xmlChar *URL; local
1795 xmlChar *URL; local
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DHttpsURLConnectionTest.java35 import java.net.URL;
141 URL url = new URL("https://localhost:" + ss.getLocalPort());
181 URL url = new URL("https://localhost:" + ss.getLocalPort());
219 URL url = new URL("https://localhost:" + ss.getLocalPort());
264 URL url = new URL("https://localhost:" + ss.getLocalPort());
305 URL ur
[all...]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/omaha/
H A DResponseParserTest.java21 // Note that the Omaha server appends "/" to the end of the URL codebase.
24 private static final String URL = STRIPPED_URL + "/"; field in class:ResponseParserTest
120 // <url codebase="URL" />
188 createTestXML("3.0", "12345", appStatus, addInstall, addPing, updateStatus, URL);
198 assertEquals("Market URL doesn't match.", STRIPPED_URL, parser.getURL());
201 assertEquals("Market URL doesn't match.", null, parser.getURL());
287 createTestXML("2.0", "12345", APP_STATUS_OK, false, false, UPDATE_STATUS_OK, URL);
295 createTestXML("3.0", null, APP_STATUS_OK, false, false, UPDATE_STATUS_OK, URL);
303 createTestXML("3.0", "12345", APP_STATUS_OK, true, false, null, URL);
311 createTestXML("3.0", "12345", APP_STATUS_OK, true, false, UPDATE_STATUS_OK, URL);
[all...]
/external/emma/core/java12/com/vladium/emma/rt/
H A DInstrClassLoader.java16 import java.net.URL;
159 public final URL getResource (final String name)
165 final URL result = super.getResource (name);
186 URL classURL = null;
196 classURL = new URL (entry.m_srcURL);
342 private Class defineClass (final String className, final byte [] bytes, final int length, final URL srcURL)
372 private static URL [] filesToURLs (final File [] classpath)
378 final URL [] result = new URL [classpath.length];
460 private static final URL [] EMPTY_URL_ARRA
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java31 import java.net.URL;
49 public MockURLConnection(URL url) {
60 protected URLConnection openConnection(URL u) throws IOException {
82 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName);
87 URL url;
91 url = new URL("http://localhost/");
105 MockURLConnection u = new MockURLConnection(new URL(
181 URL fUrl1 = new URL("jar:file:" + resources.getPath()
514 URL ur
[all...]
H A DContentHandlerTest.java22 import java.net.URL;
34 URLConnection conn = new URL("http://www.apache.org").openConnection();
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/util/
H A DBookmarkUtils.java17 import java.net.URL;
47 InputStream faviconStream = (InputStream) (new URL(
/external/chromium_org/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/
H A DHttpUrlRequestFactoryTest.java19 // URL used for base tests.
20 private static final String URL = "http://127.0.0.1:8000"; field in class:HttpUrlRequestFactoryTest
33 launchCronetTestAppWithUrlAndCommandLineArgs(URL,

Completed in 1833 milliseconds

1234567891011>>