/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/ |
UrlLocator.java | 42 import java.net.URL; 47 * <code>UrlLocator</code> is a locator that combines a root URL 48 * and the given path in the AssetKey to construct a new URL 55 private URL root; 59 this.root = new URL(rootPath); 69 // URL url = new URL(root, name); 73 URL url = new URL(root.toExternalForm() + name) local [all...] |
UrlAssetInfo.java | 9 import java.net.URL; 13 * Handles loading of assets from a URL 19 private URL url; field in class:UrlAssetInfo 22 public static UrlAssetInfo create(AssetManager assetManager, AssetKey key, URL url) throws IOException { 23 // Check if URL can be reached. This will throw 25 URLConnection conn = url.openConnection(); 29 // For some reason url cannot be reached? 33 return new UrlAssetInfo(assetManager, key, url, in) [all...] |
/libcore/libdvm/src/main/java/java/lang/ |
ClassLoader.java | 39 import java.net.URL; 103 // URL[] urls = new URL[paths.length]; 106 // urls[i] = new URL("file://" + paths[i]); 129 * Finds the URL of the resource with the specified name. The system class 132 * @return the {@code URL} object for the requested resource or {@code null} 138 public static URL getSystemResource(String resName) { 147 * @return an enumeration of {@code URL} objects containing the requested 154 public static Enumeration<URL> getSystemResources(String resName) throws IOException { 377 * Returns the URL of the resource with the specified name. Thi 430 URL url = getResource(resName); local [all...] |
/libcore/luni/src/main/java/libcore/net/url/ |
JarHandler.java | 18 package libcore.net.url; 22 import java.net.URL; 28 * Returns a connection to the jar file pointed by this <code>URL</code> 32 * this url. 34 * java.net.URL The URL to which the connection is pointing to 41 protected URLConnection openConnection(URL u) throws IOException { 47 * @param url 48 * URL the context URL [all...] |
/development/tools/emulator/test-apps/ConnectivityTest/src/com/android/emulator/connectivity/test/ |
ConnectivityTest.java | 20 import java.net.URL; 60 URL url = new URL(URL_NAME); local 62 URLConnection connection = url.openConnection();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLDecoderTest.java | 41 final String URL = "http://" + Support_Configuration.HomeAddress; 45 URLEncoder.encode(URL)).equals(URL));
|
URLEncoderTest.java | 34 final String URL = "http://" + Support_Configuration.HomeAddress; 39 URLEncoder.encode(URL)).equals(URL));
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
HttpHandler.java | 22 import java.net.URL; 27 @Override protected URLConnection openConnection(URL url) throws IOException { 28 return newOkHttpClient(null /* proxy */).open(url); 31 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { 32 if (url == null || proxy == null) { 33 throw new IllegalArgumentException("url == null || proxy == null"); 35 return newOkHttpClient(proxy).open(url);
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
RecordingOkAuthenticator.java | 21 import java.net.URL; 33 @Override public Credential authenticate(Proxy proxy, URL url, List<Challenge> challenges) 37 + " url=" + url 42 @Override public Credential authenticateProxy(Proxy proxy, URL url, List<Challenge> challenges) 46 + " url=" + url
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
ExternalSpdyExample.java | 22 import java.net.URL; 29 URL url = new URL("https://www.google.ca/"); local 30 HttpsURLConnection connection = (HttpsURLConnection) new OkHttpClient().open(url);
|
URLEncodingTest.java | 27 import java.net.URL; 38 * Exercises HttpURLConnection to convert URL to a URI. Unlike URL#toURI, 109 backdoorUrlToUri(new URL("http://host" + string + ".tld/")).toString()); 113 backdoorUrlToUri(new URL("http://host.tld/file" + string + "/")).toString()); 117 backdoorUrlToUri(new URL("http://host.tld/file?q" + string + "=x")).toString()); 120 backdoorUrlToUri(new URL("http://host.tld/file#" + asFragment + "-x")).toString()); 123 private URI backdoorUrlToUri(URL url) throws Exception { 140 HttpURLConnection connection = client.open(url); [all...] |
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_unittest.cc | 284 { ASCIIToUTF16("foo.com"), AutocompleteInput::URL }, 286 { ASCIIToUTF16("foo/bar"), AutocompleteInput::URL }, 295 { ASCIIToUTF16("foo:81"), AutocompleteInput::URL }, 296 { ASCIIToUTF16("www.foo.com:81"), AutocompleteInput::URL }, 297 { ASCIIToUTF16("localhost:8080"), AutocompleteInput::URL }, 304 { ASCIIToUTF16("user:pass@foo"), AutocompleteInput::URL }, 305 { ASCIIToUTF16("user:pass@foo.c"), AutocompleteInput::URL }, 306 { ASCIIToUTF16("user:pass@foo.com"), AutocompleteInput::URL }, 307 { ASCIIToUTF16("user:pass@foo.com:81"), AutocompleteInput::URL }, 308 { ASCIIToUTF16("user:pass@foo:81"), AutocompleteInput::URL }, [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
LoadLocaleProviderTestHelper.java | 20 import java.net.URL; 26 public LoadLocaleProviderTestHelper(URL[] classpathes)
|
/external/javassist/src/main/javassist/ |
ClassClassPath.java | 19 import java.net.URL; 78 * Obtains the URL of the specified class file. 82 public URL find(String classname) {
|
/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/oauth/core/src/main/java/net/oauth/http/ |
HttpResponseMessage.java | 20 import java.net.URL; 31 protected HttpResponseMessage(String method, URL url) { 32 super(method, url);
|
/libcore/support/src/test/java/tests/util/ |
ClassLoaderBuilder.java | 21 import java.net.URL; 113 List<URL> classpath = new ArrayList<URL>(); 116 return new URLClassLoader(classpath.toArray(new URL[classpath.size()]), bridge); 128 URL manifest = classLoader.getResource(manifestFile); 138 private List<URL> classpathToUrls(String propertyName) { 141 List<URL> result = new ArrayList<URL>();
|
/libcore/libart/src/main/java/java/lang/ |
ClassLoader.java | 38 import java.net.URL; 115 // URL[] urls = new URL[paths.length]; 118 // urls[i] = new URL("file://" + paths[i]); 141 * Finds the URL of the resource with the specified name. The system class 144 * @return the {@code URL} object for the requested resource or {@code null} 150 public static URL getSystemResource(String resName) { 159 * @return an enumeration of {@code URL} objects containing the requested 166 public static Enumeration<URL> getSystemResources(String resName) throws IOException { 389 * Returns the URL of the resource with the specified name. Thi 442 URL url = getResource(resName); local [all...] |
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
bookmark_item_applescript.h | 24 // Returns the URL that the bookmark item holds. 25 - (NSString*)URL; 27 // Sets the URL of the bookmark item, displays error in applescript console 28 // if URL is invalid.
|
/external/chromium_org/chrome/browser/resources/gaia_auth/ |
util.js | 30 * Creates a new URL which is the old URL with a GET param of key=value. 32 * @param {string} url The base URL. There is not sanity checking on the URL so 36 * @return {string} The new URL. 38 function appendParam(url, key, value) { 41 if (url.indexOf('?') == -1) 42 return url + '?' + param; 43 return url + '&' + param [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/applescript/ |
bookmark_item_applescript.h | 24 // Returns the URL that the bookmark item holds. 25 - (NSString*)URL; 27 // Sets the URL of the bookmark item, displays error in applescript console 28 // if URL is invalid.
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldCookieHandlerTest.java | 22 import java.net.URL; 48 URL url = new URL(link); local 49 URLConnection conn = url.openConnection(); 51 url = new URL(link); 52 conn = url.openConnection();
|
/external/guava/guava-tests/test/com/google/common/io/ |
ResourcesTest.java | 29 import java.net.URL; 48 URL url = getClass().getResource("/com/google/common/io/Resources.class"); local 50 Resources.newInputStreamSupplier(url)); 56 URL resource = getClass().getResource("testdata/i18n.txt"); 63 URL url = getClass().getResource("/com/google/common/io/Resources.class"); local 64 byte[] data = Resources.toByteArray(url); 71 URL resource = getClass().getResource("testdata/i18n.txt"); 77 URL resource = getClass().getResource("testdata/alice_in_wonderland.txt") [all...] |
/libcore/luni/src/main/java/java/net/ |
URLStreamHandler.java | 21 import libcore.net.url.UrlUtils; 26 * can handle the communication with a URL object over a particular protocol 31 * Establishes a new connection to the resource specified by the URL {@code 36 * the URL to the resource where a connection has to be opened. 41 protected abstract URLConnection openConnection(URL u) throws IOException; 44 * Establishes a new connection to the resource specified by the URL {@code 49 * the URL to the resource where a connection has to be opened. 61 protected URLConnection openConnection(URL u, Proxy proxy) throws IOException { 66 * Parses the clear text URL in {@code str} into a URL object. URL string [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLImageElement.idl | 34 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString longDesc; 35 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString lowsrc; 39 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString src;
|