HomeSort by relevance Sort by last modified time
    Searched refs:URL (Results 101 - 125 of 908) sorted by null

1 2 3 45 6 7 8 91011>>

  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
ContentHandlerFactoryTest.java 14 import java.net.URL;
38 URL url = new URL("http://" + local
43 URLConnection con = url.openConnection();
78 URL url; local
80 url = new URL("http://" +
82 assertNotNull(ch.getContent(url.openConnection()))
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_GetLocal.java 28 import java.net.URL;
37 public static File getLocalFile(String url) throws IOException,
39 url = Support_Resources.RESOURCE_PACKAGE + url;
40 File temp = cache.get(url);
42 InputStream in = Support_GetLocal.class.getResourceAsStream(url);
53 cache.put(url, temp);
58 public static File getExternalLocalFile(String url) throws IOException,
60 File temp = cache.get(url);
62 InputStream in = new URL(url).openStream()
    [all...]
  /packages/apps/Browser/tests/src/com/android/browser/tests/
BP1to2UpgradeTests.java 56 new String[] { BookmarkColumns.URL }, null, null,
57 BookmarkColumns.URL + " DESC");
65 new String[] { BookmarkColumns.URL }, null, null,
66 BookmarkColumns.URL + " DESC");
75 new String[] { Bookmarks.URL }, null, null,
76 Bookmarks.URL + " DESC");
87 values.put(BookmarkColumns.URL, "http://slashdot.org/");
93 new String[] { History.URL, History.DATE_LAST_VISITED },
116 values.put(BookmarkColumns.URL, "http://slashdot.org/");
122 new String[] { Bookmarks.URL, Bookmarks.DATE_CREATED }
    [all...]
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
ProviderBookmarkNodeTest.java 69 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));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
ConvertSwitchDialog.java 39 import java.net.URL;
47 /** URL containing more info */
48 private static final String URL = "http://tools.android.com/tips/non-constant-fields"; //$NON-NLS-1$
81 "For more information, see <a href=\"" + URL + "\">" + URL + "</a>",
114 browser.openURL(new URL(URL));
117 URL);
  /external/chromium_org/chrome/browser/autocomplete/
autocomplete_input.cc 15 #include "url/url_canon_ip.h"
16 #include "url/url_util.h"
74 if (((type_ == UNKNOWN) || (type_ == URL)) &&
114 case URL: return "url";
157 // A user might or might not type a scheme when entering a file URL. In
158 // either case, |parsed_scheme| will tell us that this is a file URL, but
160 return URL;
165 // If it's got an inner_url with a scheme, it's a URL, whether it's valid or
168 return URL;
    [all...]
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoManager.java 25 import java.net.URL;
89 private final LruCache<URL, byte[]> mPhotoCache;
157 mPhotoCache = new LruCache<URL, byte[]>(IMAGE_CACHE_SIZE) {
165 protected int sizeOf(URL paramURL, byte[] paramArrayOfByte) {
198 * Gets the URL of the *weak reference* to the input
202 URL localURL = localView.getLocation();
205 * Compares the URL of the input ImageView to the URL of the
349 * @param pictureURL The URL being downloaded
351 static public void removeDownload(PhotoTask downloaderTask, URL pictureURL)
    [all...]
  /external/guava/guava/src/com/google/common/base/
FinalizableReferenceQueue.java 24 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[] {base})
    [all...]
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
HttpsURLConnectionTest.java 22 import java.net.URL;
40 HttpsURLConnection con = new MyHttpsURLConnection(new URL(
108 public MyHttpsURLConnection(URL url) {
109 super(url);
  /external/emma/core/java12/com/vladium/util/
ResourceLoader.java 13 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/
URLClassPath.java 22 * 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; local
167 url = new URL("http", host, port, filename)
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/
OkAuthenticator.java 22 import java.net.URL;
32 * {@code url}. Returns null if the challenge cannot be satisfied. This method
39 Credential authenticate(Proxy proxy, URL url, List<Challenge> challenges) throws IOException;
50 Credential authenticateProxy(Proxy proxy, URL url, List<Challenge> challenges) throws IOException;
  /libcore/benchmarks/src/benchmarks/regression/
SSLSocketBenchmark.java 26 import java.net.URL;
48 URL url = new URL(uri); local
50 this.host = InetAddress.getByName(url.getHost());
52 int p = url.getPort();
  /libcore/dalvik/src/main/java/dalvik/system/
BaseDexClassLoader.java 20 import java.net.URL;
66 protected URL findResource(String name) {
71 protected Enumeration<URL> findResources(String name) {
  /libcore/luni/src/main/java/java/net/
URL.java 27 import libcore.net.url.FileHandler;
28 import libcore.net.url.FtpHandler;
29 import libcore.net.url.JarHandler;
30 import libcore.net.url.UrlUtils;
37 * <h3>Parts of a URL</h3>
38 * A URL is composed of many parts. This class can both parse URL strings into
39 * parts and compose URL strings from parts. For example, consider the parts of
40 * this URL:
75 public final class URL implements Serializable
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DownloadUtils.java 29 import java.net.URL;
34 public static boolean requestDownload(JobContext jc, URL url, File file) {
38 return download(jc, url, fos);
66 public static boolean download(JobContext jc, URL url, OutputStream output) {
69 input = url.openStream();
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/
SubjectDomainCombinerTest.java 24 import java.net.URL;
89 URL url = new URL("file://foo.txt"); local
91 CodeSource source = new CodeSource(url, (Certificate[]) null);
93 ClassLoader classLoader = new URLClassLoader(new URL[] { url });
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ServiceLoaderTest.java 22 import java.net.URL;
49 private static URL jarFile = null;
61 public SubURLClassLoader(URL[] urls) {
66 public void addURL(URL url) {
67 super.addURL(url);
70 SubURLClassLoader ucl = new SubURLClassLoader(new URL[] { new URL(
95 URLClassLoader ucl = new URLClassLoader(new URL[] { jarFile });
182 URLClassLoader ucl = new URLClassLoader(new URL[] { jarFile })
    [all...]
  /external/chromium_org/third_party/libxml/src/include/libxml/
HTMLparser.h 196 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/
HTMLparser.h 198 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/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/
Macro.java 27 public static final int URL = 1;
  /libcore/luni/src/main/java/java/lang/
Package.java 38 import java.net.URL;
61 private final URL sealBase;
64 String implTitle, String implVersion, String implVendor, URL sealBase) {
282 * URL.
284 * @param url
285 * the URL to check.
286 * @return {@code true} if this package is sealed with {@code url}; {@code
289 public boolean isSealed(URL url) {
290 return sealBase != null && sealBase.sameFile(url);
    [all...]
  /external/chromium_org/third_party/libxml/src/
xinclude.c 53 xmlChar *URI; /* the fully resolved resource URL */
76 xmlChar * url; /* the current URL processed */ member in struct:_xmlXIncludeCtxt
78 int urlMax; /* size of URL stack */
79 xmlChar * *urlTab; /* URL stack */
306 * @value: the url
308 * Pushes a new url on top of the url stack
327 xmlXIncludeErrMemory(ctxt, NULL, "adding URL");
338 xmlXIncludeErrMemory(ctxt, NULL, "adding URL");
    [all...]
  /external/libxml2/
xinclude.c 53 xmlChar *URI; /* the fully resolved resource URL */
76 xmlChar * url; /* the current URL processed */ member in struct:_xmlXIncludeCtxt
78 int urlMax; /* size of URL stack */
79 xmlChar * *urlTab; /* URL stack */
306 * @value: the url
308 * Pushes a new url on top of the url stack
327 xmlXIncludeErrMemory(ctxt, NULL, "adding URL");
338 xmlXIncludeErrMemory(ctxt, NULL, "adding URL");
    [all...]
  /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
831 URL url = ClassLoader.getSystemClassLoader().getResource(ksFileName); local
    [all...]

Completed in 1453 milliseconds

1 2 3 45 6 7 8 91011>>