HomeSort by relevance Sort by last modified time
    Searched refs:URL (Results 176 - 200 of 1264) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/curl/tests/libtest/
lib539.c 26 int test(char *URL)
46 * Begin with curl set to use a single CWD to the URL's directory.
48 test_setopt(curl, CURLOPT_URL, URL);
56 * command. Alter the URL's path a bit, appending a "./". Use an innocuous
62 newURL = aprintf("%s./", URL);
lib554.c 67 static int once(char *URL, bool oldstyle)
174 /* First set the URL that is about to receive our POST. */
175 test_setopt(curl, CURLOPT_URL, URL);
209 int test(char *URL)
218 res = once(URL, TRUE); /* old */
220 res = once(URL, FALSE); /* new */
lib572.c 33 /* build request url */
42 int test(char *URL)
70 test_setopt(curl, CURLOPT_URL, URL);
73 stream_uri = suburl(URL, request++);
88 stream_uri = suburl(URL, request++);
123 stream_uri = suburl(URL, request++);
138 stream_uri = suburl(URL, request++);
157 stream_uri = suburl(URL, request++);
  /external/jacoco/org.jacoco.agent/src/org/jacoco/agent/
AgentJar.java 20 import java.net.URL;
39 * Returns a URL pointing to the JAR file.
41 * @return URL of the JAR file
43 public static URL getResource() {
44 final URL url = AgentJar.class.getResource(RESOURCE); local
45 if (url == null) {
48 return url;
  /external/jsilver/src/com/google/streamhtmlparser/util/
HtmlUtils.java 54 * <li>{@code NONE} if it does not contain a URL in the expected format.
55 * <li>{@code URL_START} if it contains a URL but hasn't seen any of
57 * <li>{@code URL} if it contains a URL and has seen at least some of
64 URL
69 * that contains a URL. Used by {@link #parseContentAttributeForUrl}.
72 "^\\s*\\d*\\s*;\\s*URL\\s*=\\s*[\'\"]?";
354 * Parses the given {@code String} to determine if it contains a URL in the
363 * a URL.
369 * value contains a URL and whether we are at the start of the URL or pas
    [all...]
  /external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
HttpsURLConnectionImpl.java 22 import java.net.URL;
29 public HttpsURLConnectionImpl(URL url, OkHttpClient client) {
30 this(new HttpURLConnectionImpl(url, client));
33 public HttpsURLConnectionImpl(URL url, OkHttpClient client, URLFilter filter) {
34 this(new HttpURLConnectionImpl(url, client, filter));
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
SandboxFactory.java 3 import java.net.URL;
34 URL url = dependencyResolver.getLocalArtifactUrl(sdkConfig.getAndroidSdkDependency()); local
36 ClassLoader robolectricClassLoader = createClassLoader(instrumentationConfig, url);
45 public ClassLoader createClassLoader(InstrumentationConfiguration instrumentationConfig, URL... urls) {
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/
LocalDependencyResolver.java 5 import java.net.URL;
16 public URL getLocalArtifactUrl(DependencyJar dependency) {
50 /** Returns the given file as a {@link URL}. */
51 private static URL fileToUrl(File file) {
56 String.format("File \"%s\" cannot be represented as a URL: %s", file, e));
  /external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/xml/
DOMConfigurator.java 25 import java.net.URL;
38 static public void configure(URL url) throws FactoryConfigurationError {
59 public void doConfigure(URL url, LoggerRepository repository) {
  /external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
LogUploader.java 26 import java.net.URL;
50 URL url = new URL(urlString); local
52 (HttpURLConnection) url.openConnection();
  /libcore/benchmarks/src/benchmarks/regression/
EqualsHashCodeBenchmark.java 22 import java.net.URL;
31 URL() {
33 return new URL(text);
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
URLEncoderTest.java 34 final String URL = "http://" + Support_Configuration.HomeAddress;
39 URLEncoder.encode(URL)).equals(URL));
  /packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DownloadMapImageTask.java 28 import java.net.URL;
52 URL mapUrl = new URL(LocationUrlBuilder.getStaticMapUrl(ui.getContext(), locations[0]));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/
EclipseTestCollector.java 21 import java.net.URL;
53 URL entry = (URL)entries.nextElement();
  /test/vti/dashboard/src/main/java/com/android/vts/util/
UrlUtil.java 19 import java.net.URL;
27 public final String url; field in class:UrlUtil.LinkDisplay
35 this.url = uri.toString();
48 * Validates and formats a URL.
50 * <p>Ensures that the protocol is HTTPs and the URL is properly formatted. This avoids link
53 * @param urlString The url string to validate.
58 URL url = new URL(urlString); local
59 String scheme = url.getProtocol()
    [all...]
  /external/guava/guava-tests/test/com/google/common/reflect/
ClassPathTest.java 44 import java.net.URL;
68 assertNotNull(resource.url());
82 byName.get("com/google/common/reflect/test.txt").url()); method
171 assertThat(ClassPath.getClassPathEntries(new URLClassLoader(new URL[0], null)).keySet())
176 URL url1 = new URL("file:/a");
177 URL url2 = new URL("file:/b");
178 URLClassLoader classloader = new URLClassLoader(new URL[] {url1, url2}, null);
185 URL url1 = new URL("file:/a")
195 URL url = new URL("file:\/a"); local
206 URL url = new URL("file:\/a"); local
224 URL url = new URL("file:\/a"); local
    [all...]
  /external/apache-harmony/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...]
  /frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
TestUtils.java 22 import java.net.URL;
54 URL url = new URL("https://" + host + ":" + port); local
55 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
67 URL url = new URL("https://" + host + ":" + port); local
68 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
  /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/Messaging/src/com/android/messaging/datamodel/media/
NetworkUriImageRequest.java 32 import java.net.URL;
59 final URL url = new URL(mDescriptor.uri.toString()); local
60 connection = (HttpURLConnection) url.openConnection();
67 "MalformedUrl for image with url: "
71 "IOException trying to get inputStream for image with url: "
90 final URL url = new URL(mDescriptor.uri.toString()) local
    [all...]
  /packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/
ConnectivityTestActivity.java 35 import java.net.URL;
46 private static final String URL = "url";
86 URL targetURL = new URL("http://www.google.com/generate_204");
100 String url = extras.getString(URL);
101 Log.d(TAG, "URL IS: " + url);
103 new DownloadManager.Request(Uri.parse(url));
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/
JceSecurity.java 31 import java.net.URL;
150 * Verify if the JAR at URL codeBase is a signed exempt application
155 static CryptoPermissions verifyExemptJar(URL codeBase) throws Exception {
162 * Verify if the JAR at URL codeBase is a signed provider JAR file.
166 static void verifyProviderJar(URL codeBase) throws Exception {
195 URL providerURL = getCodeBase(p.getClass());
217 private static final URL NULL_URL;
221 NULL_URL = new URL("http://null.oracle.com/");
228 private static final Map<Class<?>, URL> codeBaseCacheRef =
234 static URL getCodeBase(final Class<?> clazz)
236 URL url = codeBaseCacheRef.get(clazz); local
    [all...]
  /external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
HttpsURLConnectionTest.java 25 import java.net.URL;
37 * HTTPS URL which cannot be resolved and is thus safe to use in tests where network traffic
51 (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection();
61 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection();
69 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection();
89 (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection();
99 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection();
107 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection();
  /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/guava/guava-tests/test/com/google/common/io/
ResourcesTest.java 34 import java.net.URL;
48 suite.addTest(ByteSourceTester.tests("Resources.asByteSource[URL]",
50 suite.addTest(CharSourceTester.tests("Resources.asCharSource[URL, Charset]",
57 URL resource = getClass().getResource("testdata/i18n.txt");
71 URL resource = getClass().getResource("testdata/i18n.txt");
77 URL resource = getClass().getResource("testdata/alice_in_wonderland.txt");
101 URL resource = getClass().getResource("testdata/i18n.txt");
155 URL baseUrl = tempFile.getParentFile().toURI().toURL();
156 URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl});
161 URL url = Resources.getResource(tempFile.getName()) local
    [all...]

Completed in 1507 milliseconds

1 2 3 4 5 6 78 91011>>