/prebuilts/go/darwin-x86/src/net/url/ |
url_test.go | 5 package url package 22 out *URL // expected parse; RawPath="" means same as Path 23 roundtrip string // expected result of reserializing the URL; empty means same as "in". 30 &URL{ 39 &URL{ 49 &URL{ 60 &URL{ 71 &URL{ 82 &URL{ 93 &URL{ [all...] |
/prebuilts/go/linux-x86/src/net/url/ |
url_test.go | 5 package url package 22 out *URL // expected parse; RawPath="" means same as Path 23 roundtrip string // expected result of reserializing the URL; empty means same as "in". 30 &URL{ 39 &URL{ 49 &URL{ 60 &URL{ 71 &URL{ 82 &URL{ 93 &URL{ [all...] |
/external/mockito/src/test/java/org/mockitoutil/ |
ClassLoaders.java | 16 import java.net.URL; 183 private final ArrayList<URL> codeSourceUrls = new ArrayList<URL>(); 215 codeSourceUrls.toArray(new URL[codeSourceUrls.size()]), 227 URL[] urls, 247 " Did you forgot to add the code source url 'withCodeSourceUrlOf' / 'withCurrentCodeSourceUrls' ?"), 269 private final ArrayList<URL> codeSourceUrls = new ArrayList<URL>(); 296 codeSourceUrls.toArray(new URL[codeSourceUrls.size()]), 306 URL[] urls 423 String url = ClassLoaders.class.getClassLoader().getResource(path).toExternalForm(); local 439 URL url = pathToUrl(codeSourceUrl); local [all...] |
/developers/build/ |
github.sh | 147 URL=https://github.com/googlesamples/android-$i 148 result=$(curl -o /dev/null --silent --head --write-out '%{http_code}' "$URL") 149 #echo "$result $URL" 180 URL=https://github.com/googlesamples/android-$i 181 git clone $URL.git &> /dev/null 292 git remote set-url origin "https://$token@github.com/googlesamples/android-$i.git" 295 #overwrite remote url to not contain auth token 296 git remote set-url origin "http://github.com/googlesamples/android-$i.git" 333 URL="https://$token@github.com/$repoName" 342 git remote add origin $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/curl/tests/libtest/ |
lib568.c | 33 /* build request url */ 42 int test(char *URL) 68 test_setopt(curl, CURLOPT_URL, URL); 70 stream_uri = suburl(URL, request++); 105 stream_uri = suburl(URL, request++); 121 stream_uri = suburl(URL, request++); 151 stream_uri = suburl(URL, request++);
|
lib571.c | 95 /* build request url */ 101 int test(char *URL) 128 test_setopt(curl, CURLOPT_URL, URL); 130 stream_uri = suburl(URL, request++); 152 stream_uri = suburl(URL, request++); 167 stream_uri = suburl(URL, request++); 181 stream_uri = suburl(URL, request++);
|
lib526.c | 24 * the same URL, in a serial manner after each other. Due to the connection 53 int test(char *URL) 73 easy_setopt(curl[i], CURLOPT_URL, URL); 82 fprintf(stderr, "Start at URL 0\n"); 105 fprintf(stderr, "Advancing to URL %d\n", current); 113 easy_setopt(curl[0], CURLOPT_URL, URL);
|
/external/guava/guava/src/com/google/common/base/ |
FinalizableReferenceQueue.java | 28 import java.net.URL; 304 * Gets URL for base of path containing Finalizer.class. 306 URL getBaseUrl() throws IOException { 307 // Find URL pointing to Finalizer.class file. 309 URL finalizerUrl = getClass().getClassLoader().getResource(finalizerPath); 314 // Find URL pointing to base of class path. 320 return new URL(finalizerUrl, urlString); 323 /** Creates a class loader with the given base URL as its classpath. */ 324 URLClassLoader newLoader(URL base) { 328 return new URLClassLoader(new URL[] {base}, null) [all...] |
/external/okhttp/android/main/java/com/squareup/okhttp/internalandroidapi/ |
HttpURLConnectionFactory.java | 30 import java.net.URL; 76 public URLConnection openConnection(URL url) throws IOException { 77 return internalOpenConnection(url, null /* socketFactory */, null /* proxy */); 84 public URLConnection openConnection(URL url, Proxy proxy) throws IOException { 86 return internalOpenConnection(url, null /* socketFactory */, proxy); 93 public URLConnection openConnection(URL url, SocketFactory socketFactory) throws IOException { 95 return internalOpenConnection(url, socketFactory, null /* proxy */) [all...] |
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/internal/huc/ |
URLEncodingTest.java | 33 import java.net.URL; 43 * Exercises HttpURLConnection to convert URL to a URI. Unlike URL#toURI, 114 backdoorUrlToUri(new URL("http://host" + string + ".tld/")).toString()); 118 backdoorUrlToUri(new URL("http://host.tld/file" + string + "/")).toString()); 122 backdoorUrlToUri(new URL("http://host.tld/file?q" + string + "=x")).toString()); 125 backdoorUrlToUri(new URL("http://host.tld/file#" + asFragment + "-x")).toString()); 128 private URI backdoorUrlToUri(URL url) throws Exception { 166 HttpURLConnection connection = new OkUrlFactory(client).open(url); [all...] |
/external/tensorflow/tensorflow/java/maven/ |
run_inside_container.sh | 70 URL="http://ci.tensorflow.org/view/Nightly/job/nightly-libtensorflow/TYPE=cpu-slave/lastSuccessfulBuild/artifact/lib_package/libtensorflow-src.jar" 72 URL="${RELEASE_URL_PREFIX}/libtensorflow-src-${TF_VERSION}.jar" 74 curl -L "${URL}" -o /tmp/src.jar 166 URL="http://ci.tensorflow.org/view/Nightly/job/nightly-libtensorflow/TYPE=cpu-slave/lastSuccessfulBuild/artifact/lib_package/libtensorflow_proto.zip" 168 URL="${RELEASE_URL_PREFIX}/libtensorflow_proto-${TF_VERSION}.zip" 170 curl -L "${URL}" -o /tmp/libtensorflow_proto.zip 196 # for the repository url. 203 local url=$(mvn_property "${profile}" "project.distributionManagement.${rtype}.url") 208 -Durl="${url}" \ [all...] |
/frameworks/base/core/java/android/net/captiveportal/ |
CaptivePortalProbeSpec.java | 28 import java.net.URL; 44 private final URL mUrl; 46 CaptivePortalProbeSpec(String encodedSpec, URL url) { 48 mUrl = url; 54 * <p>The valid format is a URL followed by two regular expressions, each separated by "@@/@@". 55 * @throws MalformedURLException The URL has invalid format for {@link URL#URL(String)}. 76 return new RegexMatchProbeSpec(spec, new URL(splits[0]), statusRegex, locationRegex) [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
JarTestFinder.java | 23 import java.net.URL; 44 URL[] urls = { 45 new URL(String.format("jar:file:%s!/", jarTestFile.getAbsolutePath()))
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
BitmapHelper.java | 25 import java.net.URL; 66 URL url = new URL(uri); local 69 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
|
/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/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
ExternalHttp2Example.java | 25 import java.net.URL; 35 URL url = new URL("https://twitter.com"); local 39 .open(url);
|
ExternalSpdyExample.java | 25 import java.net.URL; 35 URL url = new URL("https://www.google.ca/"); local 39 .open(url);
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
Util.java | 9 import java.net.URL; 70 public static URL url(String path) throws MalformedURLException { method in class:Util 75 return new URL("file:/" + (path.startsWith("/") ? "/" + path : path));
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/ |
BitmapHelper.java | 27 import java.net.URL; 68 URL url = new URL(uri); local 71 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
|
/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();
|
/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();
|
/packages/apps/Music/src/com/android/music/utils/ |
BitmapHelper.java | 25 import java.net.URL; 66 URL url = new URL(uri); local 69 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
|
/packages/apps/TV/src/com/android/tv/dialog/ |
WebDialogFragment.java | 34 private static final String URL = "URL"; 44 * @param url The URL of the content to show. 48 String url, @Nullable String title, String trackerLabel) { 51 args.putString(URL, url); 79 String url = getArguments().getString(URL); local 80 mWebView.loadUrl(url); [all...] |