/libcore/ojluni/src/main/java/java/net/ |
Authenticator.java | 71 private URL requestingURL; 270 * @param url The requesting URL that caused the authentication 293 URL url, 315 a.requestingURL = url; 358 * will be based on a URL, but in a future JDK it could be, for 364 * @see java.net.URL#getProtocol() 402 * Returns the URL that resulted in this 407 * @return the requesting URL [all...] |
/libcore/ojluni/src/main/java/java/util/jar/ |
JarVerifier.java | 30 import java.net.URL; 528 private Map<URL, Map<CodeSigner[], CodeSource>> urlToCodeSourceMap = new HashMap<>(); 530 private URL lastURL; 536 * and shared JAR file although in practice there will be a single URL in use. 538 private synchronized CodeSource mapSignersToCodeSource(URL url, CodeSigner[] signers) { 540 if (url == lastURL) { 543 map = urlToCodeSourceMap.get(url); 546 urlToCodeSourceMap.put(url, map); 549 lastURL = url; [all...] |
/libcore/ojluni/src/main/java/sun/net/ |
ProgressMonitor.java | 30 import java.net.URL; 95 * for a particular URL input stream. 97 public boolean shouldMeterInput(URL url, String method) { 98 return meteringPolicy.shouldMeterInput(url, method); 243 public boolean shouldMeterInput(URL url, String method) 245 // By default, no URL input stream is metered for
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
JarURLConnection.java | 32 import java.net.URL; 56 /* the url for the Jar file */ 57 private URL jarFileURL; 64 /* the url connection for the JAR file */ 79 public JarURLConnection(URL url, Handler handler) 81 super(url); 181 /* if the URL referes to an archive */ 184 /* if the URL referes to an archive entry */
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
JavaNetHttpHelper.java | 27 import java.net.URL; 74 * @param url Request URI. 81 public String get(String url, Map<String,String> requestHeaders) 85 c = createConnection(url, requestHeaders); 101 public String post(String url, Map<String,String> requestHeaders, String content) 110 c = createConnection(url, requestHeaders); 127 private HttpURLConnection createConnection(String url, Map<String, String> headers) 129 URL u = new URL(mRewriter.rewrite(url)); [all...] |
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
WifiDownloadReceiver.java | 15 import java.net.URL; 34 public WifiDownloadReceiver(PMCMainActivity activity, String url, int interval, 37 mDownloadURL = url; 106 URL url = new URL(sUrl[0]); local 107 connection = (HttpURLConnection) url.openConnection();
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
FakeSystemFacade.java | 24 import java.net.URL; 82 final URL url = (URL) invocation.getArguments()[0]; 83 return url.openConnection();
|
/platform_testing/libraries/system-helpers/connectivity-helper/src/android/system/helpers/ |
ConnectivityHelper.java | 36 import java.net.URL; 92 URL url = new URL(DEFAULT_PING_SITE); local 93 conn = (HttpURLConnection) url.openConnection();
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
MultipartForm.java | 26 import java.net.URL; 76 * Submits the form to the server url. 95 URL url = new URL(serverUrl); local 96 connection = (HttpURLConnection) url.openConnection();
|
/external/oauth/core/src/main/java/net/oauth/ |
OAuthMessage.java | 49 public OAuthMessage(String method, String URL, 52 this.URL = URL; 65 public String URL; 73 return "OAuthMessage(" + method + ", " + URL + ", " + parameters + ")"; 213 into.put("URL", URL);
|
/frameworks/base/media/java/android/media/ |
MediaHTTPConnection.java | 30 import java.net.URL; 50 private URL mURL = null; 81 mURL = new URL(uri); 154 private static final boolean isLocalHost(URL url) { 155 if (url == null) { 159 String host = url.getHost(); 184 URL url = mURL; local 187 boolean noProxy = isLocalHost(url); [all...] |
/libcore/luni/src/test/java/tests/java/security/ |
SecureClassLoaderTest.java | 29 import java.net.URL; 170 URL[] urls = new URL[] { new URL("http://localhost") }; 182 URL url = new URL("http://localhost"); local 183 CodeSource cs = new CodeSource(url, (Certificate[]) null);
|
/prebuilts/go/darwin-x86/src/net/http/httptest/ |
httptest.go | 22 // path or an absolute URL. If target is an absolute URL, the host name 23 // from the URL is used. Otherwise, "example.com" is used.
|
/prebuilts/go/linux-x86/src/net/http/httptest/ |
httptest.go | 22 // path or an absolute URL. If target is an absolute URL, the host name 23 // from the URL is used. Otherwise, "example.com" is used.
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
RichFeedUtil.java | 34 import java.net.URL; 70 URLConnection urlConnection = new URL(catalogUri.toString()).openConnection();
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoDownloadRunnable.java | 25 import java.net.URL; 28 * This task downloads bytes from a resource addressed by a URL. When the task 70 * @return The byte array downloaded from the URL in the last read 87 * Gets the URL for the image being downloaded 88 * @return The image URL 90 URL getImageURL(); 126 * A try block that downloads a Picasa image from a URL. The URL value is in the field 153 // Opens an HTTP connection to the image's URL 208 * Reads from the URL location int [all...] |
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/util/ |
ASMifierTest.java | 36 import java.net.URL; 106 final static IClassLoader CL = new ClassLoaderIClassLoader(new URLClassLoader(new URL[0]));
|
/external/annotation-tools/asmx/test/perf/org/objectweb/asm/xml/ |
XMLPerfTest.java | 38 import java.net.URL; 99 // byte[] classData = getCode(new URL(className).openStream()); 123 final InputStream is = new BufferedInputStream(new URL(u.substring(4,
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
SourceDebugExtensionDebuggee.java | 31 import java.net.URL; 141 return new URLClassLoader(new URL[] { jarPath.toUri().toURL() });
|
/external/apache-harmony/support/src/test/java/tests/util/ |
SerializationTester.java | 29 import java.net.URL; 145 URL url = SerializationTester.class.getClassLoader().getResource( local 147 if (null == url) { 153 input = url.openStream();
|
/external/autotest/frontend/client/src/autotest/common/ui/ |
TabView.java | 9 import com.google.gwt.http.client.URL; 116 Utils.openUrlInNewWindow(URL.encode(newUrl));
|
/external/blktrace/ |
btrace.spec | 19 URL: http://brick.kernel.dk/snaps
|
/external/curl/tests/libtest/ |
lib1533.c | 128 int test(char *URL) 148 test_setopt(curl, CURLOPT_URL, URL);
|
lib500.c | 60 int test(char *URL) 78 test_setopt(curl, CURLOPT_URL, URL);
|
lib555.c | 26 * argv1 = URL 76 int test(char *URL) 90 easy_setopt(curl, CURLOPT_URL, URL);
|