/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
URLHandler.java | 22 import java.net.URL; 49 Class<?>[] params = { URL.class }; 105 public static URLHandler get(URL url) { 106 if (url == null) { 110 String protocol = url.getProtocol(); 117 URLHandler handler = (URLHandler)m.invoke(null, new Object[] { url }); 135 return getDefault(url); 138 protected static URLHandler getDefault(URL url) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
URLHandler.java | 21 import java.net.URL; 45 Class<?>[] params = { URL.class }; 101 public static URLHandler get(URL url) { 102 if (url == null) { 106 String protocol = url.getProtocol(); 113 URLHandler handler = (URLHandler)m.invoke(null, new Object[] { url }); 131 return getDefault(url); 134 protected static URLHandler getDefault(URL url) { [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory4Test.java | 31 import java.net.URL; 110 URL certUrl = new URL(BASE_URL + CERTIFICATE_URLS[i]); 132 URL certUrl = new URL(BASE_URL + CRL_URLS[i]); 153 URL certUrl = new URL(BASE_URL + CRLCOLLECTION_URLS[i]); [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/ |
HttpHelperTest.java | 37 import java.net.URL; 120 InputStream getRemoteUrlStream(URL url) { 161 InputStream getRemoteUrlStream(URL url) { 183 public String doGet(String url) throws IOException { 213 public String doGet(String url) throws IOException, DataSizeException { 218 return super.doGet(url); 265 public HttpURLConnection createConnection(URL url, String method, String contentType [all...] |
/external/libxml2/include/libxml/ |
xmlreader.h | 122 xmlParserInputBufferPtr input, const char *URL, 325 const char *URL, 335 const char *URL, 340 const char *URL, 347 const char *URL, 357 const char *URL, 369 const char *URL, 375 const char *URL, 383 const char *URL,
|
/external/testng/src/main/java/org/testng/internal/ |
PackageUtils.java | 9 import java.net.URL; 61 Vector<URL> dirs = new Vector<>(); 78 Enumeration<URL> dirEnumeration = classLoader.getResources(packageDirName); 80 URL dir = dirEnumeration.nextElement(); 85 Iterator<URL> dirIterator = dirs.iterator(); 87 URL url = dirIterator.next(); local 88 String protocol = url.getProtocol(); 89 if(!matchTestClasspath(url, packageDirName, recursive)) { 95 URLDecoder.decode(url.getFile(), "UTF-8") [all...] |
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoFragment.java | 30 import java.net.URL; 44 * Converts the stored URL string to a URL, and then tries to download the picture from that 45 * URL. 48 // If setPhoto() was called to store a URL, proceed 54 // Converts the URL string to a valid URL 55 URL localURL = new URL(mURLString); 58 * setImageURL(url,false,null) attempts to download and decode the picture a [all...] |
PhotoTask.java | 25 import java.net.URL; 51 // The image's URL 52 private URL mImageURL; 112 // Gets the URL for the View 169 // Implements PhotoDownloadRunnable.getImageURL. Returns the global Image URL. 171 public URL getImageURL() {
|
/external/clang/lib/Format/ |
SortJavaScriptImports.cpp | 63 // URL, followed by an export of the symbol, allowing this code to treat both 83 // The URL imported, e.g. `import .. from 'url';`. Empty for `export {a, b};`. 84 StringRef URL; 106 if (LHS.URL.empty() != RHS.URL.empty()) 107 return LHS.URL.empty() < RHS.URL.empty(); 108 if (int Res = LHS.URL.compare_lower(RHS.URL)) [all...] |
/external/curl/docs/examples/ |
threaded-shared-conn.c | 27 * downloads the same fixed URL a URL_ITERATIONS number of times. The received 41 URL to fetch. If you select HTTPS, you need to use a TLS backend with mutex 44 #define URL "http://localhost/4KB" 49 /* how many times each URL is transferred per thread */ 92 const char *url; member in struct:initurl 104 curl_easy_setopt(curl, CURLOPT_URL, u->url); 122 struct initurl url[NUM_THREADS]; local 135 url[i].url = URL; [all...] |
/external/eyes-free/AccessCheck/src/com/android/accessibility/ |
AccessibilityValidationContentHandler.java | 24 import java.net.URL; 174 public static void setClassLoaderAndBaseClass(URL[] urlSearchPaths) 202 setClassLoaderAndBaseClass(new URL[] { mAndroidSdkPath.toURL() });
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
URLStreamHandlerRuntime.java | 16 import java.net.URL; 28 * actually used for opening a URL, but to get access to the runtime object. 55 final Field field = URL.class.getDeclaredField("handlers"); 72 // final URL url = new URL(protocol, null, ""); 73 // final URLConnection connection = url.openConnection(); 87 mv.visitTypeInsn(Opcodes.NEW, "java/net/URL"); 92 mv.visitMethodInsn(Opcodes.INVOKESPECIAL, "java/net/URL", "<init>", 96 // Stack[2]: [Ljava/net/URL; [all...] |
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
CustomDispatcherTest.java | 22 import java.net.URL; 49 final URL url = mockWebServer.getUrl("/"); local 50 final HttpURLConnection conn = (HttpURLConnection) url.openConnection(); 89 final URL url = mockWebServer.getUrl(path); 92 conn = (HttpURLConnection) url.openConnection();
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
CustomDispatcherTest.java | 20 import java.net.URL; 49 final URL url = mockWebServer.getUrl("/"); local 50 final HttpURLConnection conn = (HttpURLConnection) url.openConnection(); 89 final URL url = mockWebServer.getUrl(path); 92 conn = (HttpURLConnection) url.openConnection();
|
/external/replicaisland/src/com/replica/replicaisland/ |
EventReporter.java | 4 import java.net.URL; 81 URL serverAddress = null; 86 serverAddress = new URL(REPORT_SERVER + "?"
|
/external/tensorflow/tensorflow/examples/get_started/regression/ |
imports85.py | 32 URL = "https://archive.ics.uci.edu/ml/machine-learning-databases/autos/imports-85.data" 70 path = tf.contrib.keras.utils.get_file(URL.split("/")[-1], URL)
|
/libcore/benchmarks/src/benchmarks/regression/ |
HostnameVerifierBenchmark.java | 22 import java.net.URL; 53 URL url = new URL("https", host, "/"); local 55 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
|
/libcore/ojluni/src/main/java/sun/misc/ |
Resource.java | 29 import java.net.URL; 53 * Returns the URL of the Resource. 55 public abstract URL getURL(); 58 * Returns the CodeSource URL for the Resource. 60 public abstract URL getCodeSourceURL();
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
Utils.java | 30 import java.net.URL; 151 * Redact the URL for non-VERBOSE logging. Replace url with only the host part and the length 152 * of the input URL string. 168 final URL url = new URL(urlString); local 169 protocol = url.getProtocol(); 170 host = url.getHost();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
HttpUrlConnectionBuilder.java | 26 import java.net.URL; 75 private URL mUrl; 83 * Sets the URL that'll be used for the request. 89 public HttpUrlConnectionBuilder setUrl(String url) throws MalformedURLException { 90 if (TextUtils.isEmpty(url)) { 91 throw new IllegalArgumentException("URL must not be empty"); 93 mUrl = new URL(url); 201 throw new IllegalArgumentException("A URL must be specified!");
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
TestLoader.java | 32 import java.net.URL; 70 URL[] urls = new URL[dependentJars.size() + 1];
|
/prebuilts/go/darwin-x86/src/net/url/ |
url.go | 5 // Package url parses URLs and implements query escaping. 6 package url package 22 // Error reports an error and the operation and URL that caused it. 25 URL string 29 func (e *Error) Error() string { return e.Op + " " + e.URL + ": " + e.Err.Error() } 88 return "invalid URL escape " + strconv.Quote(string(e)) 98 // appearing in a URL string, according to RFC 3986. 129 // Different sections of the URL allow a few of 188 // which section of the URL string is being unescaped. 268 // inside a URL query [all...] |
/prebuilts/go/linux-x86/src/net/url/ |
url.go | 5 // Package url parses URLs and implements query escaping. 6 package url package 22 // Error reports an error and the operation and URL that caused it. 25 URL string 29 func (e *Error) Error() string { return e.Op + " " + e.URL + ": " + e.Err.Error() } 88 return "invalid URL escape " + strconv.Quote(string(e)) 98 // appearing in a URL string, according to RFC 3986. 129 // Different sections of the URL allow a few of 188 // which section of the URL string is being unescaped. 268 // inside a URL query [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 40 import java.net.URL; 138 // create url connection to be tested 139 URL url = webServer.getUrl("/"); local 140 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); 171 // create url connection to be tested 172 URL url = webServer.getUrl("/"); local 173 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); 217 URL url = webServer.getUrl("/") local 257 URL url = webServer.getUrl("\/"); local 290 URL url = new URL("https:\/\/localhost:55555"); local 333 URL url = webServer.getUrl("\/"); local 369 URL url = webServer.getUrl("\/"); local 408 URL url = new URL("https:\/\/requested.host:55556\/requested.data"); local 457 URL url = new URL("https:\/\/requested.host:55555\/requested.data"); local 490 URL url = new URL("https:\/\/requested.host:55555\/requested.data"); local 599 URL url = new URL("https:\/\/requested.host:55555\/requested.data"); local 641 URL url = new URL("https:\/\/requested.host:55555\/requested.data"); local [all...] |
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsDeviceTestBase.java | 31 import java.net.URL;
|