/external/jcommander/src/test/java/com/beust/jcommander/args/ |
ArgsConverter.java | 30 import java.net.URL; 39 @Parameter(names = "-url", converter = URLConverter.class) 40 public URL url; field in class:ArgsConverter
|
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/ |
PluginInitializer.java | 11 import java.net.URL; 35 Enumeration<URL> resources;
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/ |
PropertiesDependencyResolver.java | 7 import java.net.URL; 31 public URL getLocalArtifactUrl(DependencyJar dependency) {
|
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/util/ |
TestRunnerWithManifest.java | 5 import java.net.URL; 25 final URL resourceUrl = TestRunnerWithManifest.class.getResource(resourceName);
|
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/util/ |
TestRunnerWithManifest.java | 5 import java.net.URL; 25 final URL resourceUrl = TestRunnerWithManifest.class.getResource(resourceName);
|
/external/skia/tools/skqp/ |
upload_model | 19 URL="gs://${BUCKET}/$MD5" 20 gsutil cp "$1" "$URL" > /dev/null 2>&1 &
|
/external/skqp/tools/skqp/ |
upload_model | 19 URL="gs://${BUCKET}/$MD5" 20 gsutil cp "$1" "$URL" > /dev/null 2>&1 &
|
/frameworks/base/core/java/android/provider/ |
Browser.java | 70 * headers for the provided url. The keys can't be the standard HTTP headers 71 * as they are set by the WebView. The url's schema must be http(s). 79 BookmarkColumns.URL, // 1 165 * and/or a url, both of which can be edited by the user before saving. 169 * @param url Url for the bookmark. Can be null or empty string. 174 String url) { 240 * column, {@link BookmarkColumns#URL}. 247 return new MatrixCursor(new String[]{Bookmarks.URL}, 0); 252 * have a single column, {@link BookmarkColumns#URL} [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldAuthenticatorTest.java | 22 import java.net.URL; 56 public URL getRequestingURL() {
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
ClassPathURLStreamHandlerTest.java | 26 import java.net.URL; 109 URL urlOrNull = streamHandler.getEntryUrlOrNull(entryName); 110 assertNotNull("URL was unexpectedly null for " + entryName, urlOrNull); 156 URL standardUrl = createJarUrl(jarFile, entryName, null /* use default stream handler */); 163 URL actualUrl = createJarUrl(jarFile, entryName, streamHandler); 173 URL standardUrl = createJarUrl(jarFile, entryName, null /* use default stream handler */); 177 URL actualUrl = createJarUrl(jarFile, entryName, streamHandler); 220 private static URL createJarUrl(File jarFile, String entryName, URLStreamHandler streamHandler) 222 return new URL("jar", null, -1, jarFile.toURI() + "!/" + entryName, streamHandler);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
HttpURLConnectionTest.java | 32 import java.net.URL; 172 new URL("http://localhost:" + httpServer.port()).openConnection(); 191 URL url = new URL("http://localhost:" + server.port()); local 193 HttpURLConnection connection = (HttpURLConnection) url 218 HttpURLConnection huc = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); 231 URL url = new URL("http://localhost:" + server.port()) local 285 URL url = new URL("http:\/\/remotehost:55555\/requested.data"); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
ContentHandlerTest.java | 22 import java.net.URL; 34 URLConnection conn = new URL("http://www.apache.org").openConnection();
|
URLConnectionTest.java | 41 import java.net.URL; 66 private URL fileURL; 77 MockURLConnection u = new MockURLConnection(new URL( 106 MockURLConnection u = new MockURLConnection(new URL( 139 MockURLConnection u = new MockURLConnection(new URL( 157 MockURLConnection u = new MockURLConnection(new URL( 170 public MockURLConnection(URL url) { 171 super(url); 181 protected URLConnection openConnection(URL u) throws IOException [all...] |
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/ |
CarSettingsRobolectricTestRunner.java | 28 import java.net.URL; 47 return new ResourcePath(null, Fs.fromURL(new URL(filePath)), null);
|
/packages/apps/Car/libs/car-settings-lib/tests/robotests/src/com/android/car/settingslib/robolectric/ |
CarSettingsLibRobolectricTestRunner.java | 28 import java.net.URL; 47 return new ResourcePath(null, Fs.fromURL(new URL(filePath)), null);
|
/libcore/ojluni/src/main/java/java/net/ |
URLStreamHandler.java | 43 * {@code URL}, the appropriate stream protocol handler is 47 * @see java.net.URL#URL(java.lang.String, java.lang.String, int, java.lang.String) 53 * {@code URL} argument. 64 * @param u the URL that this connects to. 65 * @return a {@code URLConnection} object for the {@code URL}. 69 abstract protected URLConnection openConnection(URL u) throws IOException; 72 * Same as openConnection(URL), except that the connection will be 80 * @param u the URL that this connects to. 84 * @return a {@code URLConnection} object for the {@code URL} [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
ValueServer.java | 23 import java.net.URL; 73 private URL valuesFileURL = null; 217 public URL getValuesFileURL() { 222 * Sets the <code>valuesFileURL</code> using a string URL representation 223 * @param url String representation for new valuesFileURL. 224 * @throws MalformedURLException if url is not well formed 226 public void setValuesFileURL(String url) throws MalformedURLException { 227 this.valuesFileURL = new URL(url); 232 * @param url New value of property valuesFileURL [all...] |
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 27 import java.net.URL; 52 URL url = null; local 58 url = new URL("file:/" + resPath + "/" + fileName); 62 return url.toString(); 118 public static File getExternalLocalFile(String url) throws IOException, MalformedURLException { 120 InputStream in = new URL(url).openStream(); 151 URL url = ClassLoader.getSystemClassLoader().getResource(name) local [all...] |
/frameworks/base/services/robotests/src/com/android/server/testing/ |
FrameworkRobolectricTestRunner.java | 34 import java.net.URL; 111 URL... urls) { 141 Enumeration<URL> urls = getResources(resource); 143 URL url = urls.nextElement(); local 144 if (!url.toString().toLowerCase().contains("prebuilt")) { 145 return url.openStream(); 178 InstrumentationConfiguration instrumentationConfig, URL... urls) {
|
/libcore/luni/src/main/java/libcore/io/ |
ClassPathURLStreamHandler.java | 26 import java.net.URL; 40 * <p>Use {@link #getEntryUrlOrNull(String)} to obtain a URL backed by this stream handler. 50 // construct the URL by concatenating strings, we might end up with illegal URLs for relative 56 * Returns a URL backed by this stream handler for the named resource, or {@code null} if the 59 public URL getEntryUrlOrNull(String entryName) { 63 // the URL. Entry names must use / as the path separator. 65 return new URL("jar", null, -1, fileUri + "!/" + encodedName, this); 83 protected URLConnection openConnection(URL url) throws IOException { 84 return new ClassPathURLConnection(url); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
RuleLoader.java | 33 import java.net.URL; 118 List<URL> urls = new ArrayList<URL>(); 129 URL url; local 131 url = pathFile.toURI().toURL(); 132 urls.add(url); 137 "Invalid URL: %1$s", //$NON-NLS-1$ 144 return new URLClassLoader(urls.toArray(new URL[urls.size()]),
|
/prebuilts/go/darwin-x86/src/net/http/httputil/ |
reverseproxy_test.go | 19 "net/url" 75 backendURL, err := url.Parse(backend.URL) 85 getReq, _ := http.NewRequest("GET", frontend.URL, nil) 132 getReq, _ = http.NewRequest("GET", frontend.URL+"/?mode=hangup", nil) 163 backendURL, err := url.Parse(backend.URL) 176 getReq, _ := http.NewRequest("GET", frontend.URL, nil) 215 backendURL, err := url.Parse(backend.URL) [all...] |
/prebuilts/go/linux-x86/src/net/http/httputil/ |
reverseproxy_test.go | 19 "net/url" 75 backendURL, err := url.Parse(backend.URL) 85 getReq, _ := http.NewRequest("GET", frontend.URL, nil) 132 getReq, _ = http.NewRequest("GET", frontend.URL+"/?mode=hangup", nil) 163 backendURL, err := url.Parse(backend.URL) 176 getReq, _ := http.NewRequest("GET", frontend.URL, nil) 215 backendURL, err := url.Parse(backend.URL) [all...] |
/prebuilts/go/darwin-x86/src/net/http/ |
requestwrite_test.go | 15 "net/url" 37 URL: &url.URL{ 84 URL: &url.URL{ 113 URL: &url.URL{ [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
requestwrite_test.go | 15 "net/url" 37 URL: &url.URL{ 84 URL: &url.URL{ 113 URL: &url.URL{ [all...] |