/external/python/cpython2/Lib/test/ |
test_xmlrpc.py | 310 ADDR = PORT = URL = None 344 global ADDR, PORT, URL 350 URL = "http://%s:%d"%(ADDR, PORT) 404 global ADDR, PORT, URL 410 URL = "http://%s:%d"%(ADDR, PORT) 490 p = xmlrpclib.ServerProxy(URL) 504 p = xmlrpclib.ServerProxy(URL) 524 p = xmlrpclib.ServerProxy(URL, encoding='iso-8859-15') 536 p = xmlrpclib.ServerProxy(URL, encoding='iso-8859-15') 559 p = xmlrpclib.ServerProxy(URL) [all...] |
test_urllibnet.py | 103 # Make sure same URL as opened is returned by geturl. 104 URL = "http://www.example.com/" 105 open_url = self.urlopen(URL) 110 self.assertEqual(gotten_url, URL) 114 URL = "http://www.pythontest.net/XXXinvalidXXX" 115 open_url = urllib.FancyURLopener().open(URL)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
ProjectClassLoader.java | 46 import java.net.URL; 271 URL[] jars = getExternalJars(); 294 private final URL[] getExternalJars() { 298 ArrayList<URL> oslibraryList = new ArrayList<URL>(); 338 return oslibraryList.toArray(new URL[oslibraryList.size()]); 341 private void handleClassPathEntry(IClasspathEntry e, ArrayList<URL> oslibraryList) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
InstallDependencyPage.java | 43 import java.net.URL; 55 /** URL containing more info */ 56 private static final String URL = 105 mLink.setText("<a href=\"" + URL + "\">" + URL + "</a>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ 286 browser.openURL(new URL(URL)); 289 URL);
|
/external/libxml2/include/libxml/ |
parser.h | 358 * @SystemID: the SYSTEM ID (e.g. filename or URL) 371 * @SystemID: the SYSTEM ID (e.g. filename or URL) 794 * @URL: The System ID of the resource requested 802 typedef xmlParserInputPtr (*xmlExternalEntityLoader) (const char *URL, 963 const xmlChar *URL, 969 const xmlChar *URL, [all...] |
/cts/tests/tests/netsecpolicy/src/android/security/ |
NetworkSecurityPolicyTestBase.java | 21 import java.net.URL; 74 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); local 78 conn = (HttpURLConnection) url.openConnection(); 87 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); 92 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); local 96 conn = (HttpURLConnection) url.openConnection() 123 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); local 136 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); local [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssService.java | 33 import java.net.URL; 148 // Get the URL for the feed from the cursor. 149 int urlColumnIndex = mCur.getColumnIndex(RssContentProvider.URL); 150 String url = mCur.getString(urlColumnIndex); local 151 queryItem(url); 162 private boolean queryItem(String url) { 164 URL wrappedUrl = new URL(url); 166 mLogger.info("RSS Feed " + url + ":\n " + rssFeed) [all...] |
/development/samples/training/network-usage/src/com/example/android/networkusage/ |
NetworkActivity.java | 42 import java.net.URL; 67 private static final String URL = 150 new DownloadXmlTask().execute(URL); 220 String url = null; local 263 // Given a string representation of a URL, sets up a connection and gets 266 URL url = new URL(urlString); local 267 HttpURLConnection conn = (HttpURLConnection) url.openConnection();
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_urllibnet.py | 96 # Make sure same URL as opened is returned by geturl.
97 URL = "http://www.python.org/"
98 open_url = self.urlopen(URL)
103 self.assertEqual(gotten_url, URL)
107 URL = "http://www.python.org/XXXinvalidXXX"
108 open_url = urllib.FancyURLopener().open(URL)
|
/external/curl/tests/libtest/ |
lib643.c | 73 static int once(char *URL, bool oldstyle) 228 /* First set the URL that is about to receive our POST. */ 229 test_setopt(curl, CURLOPT_URL, URL); 278 int test(char *URL) 287 res = once(URL, TRUE); /* old */ 289 res = once(URL, FALSE); /* new */
|
/external/emma/tools/java/com/vladium/tools/ |
ClassDep.java | 15 import java.net.URL; 51 final URL [] classPath; 54 classPath = new URL [tokenizer.countTokens ()]; 99 public ClassDep (final String [] rootSet, final URL [] classPath) 217 private final URL [] m_classPath;
|
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
HttpTransportSE.java | 33 import java.net.URL; 47 * Creates instance of HttpTransportSE with set url 49 * @param url 52 public HttpTransportSE(String url) { 53 super(null, url); 57 * Creates instance of HttpTransportSE with set url and defines a 62 * @param url 65 public HttpTransportSE(Proxy proxy, String url) { 66 super(proxy, url); 70 * Creates instance of HttpTransportSE with set url [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Request.java | 21 import java.net.URL; 29 private final HttpUrl url; field in class:Request 35 private volatile URL javaNetUrl; // Lazily initialized. 40 this.url = builder.url; 48 return url; 51 public URL url() { method in class:Request 52 URL result = javaNetUrl; 53 return result != null ? result : (javaNetUrl = url.url()) 121 private HttpUrl url; field in class:Request.Builder 140 public Builder url(HttpUrl url) { method in class:Request.Builder 152 public Builder url(String url) { method in class:Request.Builder 173 public Builder url(URL url) { method in class:Request.Builder [all...] |
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
Fs.java | 11 import java.net.URL; 26 public static Fs fromJar(URL url) { 27 return new JarFs(new File(fixFileURL(url).getPath())); 30 private static URI fixFileURL(URL u) { 38 * @deprecated Use {@link #fromURL(URL)} instead. 51 public static FsFile fromURL(URL url) { 52 switch (url.getProtocol()) { 54 return new FileFsFile(new File(url.getPath())) [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
HttpFacade.java | 39 import java.net.URL; 98 * @param url The url to send request to. 101 private HttpURLConnection httpRequest(String url) throws IOException { 102 URL targetURL = new URL(url); 111 Log.e("Failed to open a connection to " + url); 130 @Rpc(description = "Download a file from specified url, to an (optionally) specified path.") 131 public void httpDownloadFile(@RpcParameter(name = "url") String url 217 URL url = new URL(hostString); local [all...] |
/external/volley/src/main/java/com/android/volley/toolbox/ |
HurlStack.java | 28 import java.net.URL; 49 * Returns a URL to use instead of the provided one, or null to indicate 50 * this URL should not be used at all. 81 String url = request.getUrl(); local 86 String rewritten = mUrlRewriter.rewriteUrl(url); 88 throw new IOException("URL blocked by rewriter: " + url); 90 url = rewritten; 92 URL parsedUrl = new URL(url) [all...] |
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
NetworkActivity.java | 42 import java.net.URL; 67 private static final String URL = 150 new DownloadXmlTask().execute(URL); 220 String url = null; local 263 // Given a string representation of a URL, sets up a connection and gets 266 URL url = new URL(urlString); local 267 HttpURLConnection conn = (HttpURLConnection) url.openConnection();
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
NetworkMonitor.java | 81 import java.net.URL; 102 // TODO: append a random length parameter to the default HTTPS url. 157 * obj = String representing URL that Internet probe was redirect to, if it was redirected. 265 private final URL mCaptivePortalHttpsUrl; 266 private final URL mCaptivePortalHttpUrl; 267 private final URL[] mCaptivePortalFallbackUrls; 366 private void validationLog(int probeType, Object url, String msg) { 368 validationLog(String.format("%s %s %s", probeName, url, msg)); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
ClassLoaderTest.java | 25 import java.net.URL; 71 // Test for method java.net.URL 83 // Test for method java.net.URL 139 URL resourceFromJar = testClassLoader.getResource(TEST_RESOURCE_NAME); 154 URL resourceFromJar = testClassLoader.getResource(TEST_RESOURCE_NAME); 177 URL resourceFromJar = testClassLoader.getResource(TEST_RESOURCE_NAME); 217 java.net.URL u = classLoader.getResource(resourceName);
|
/libcore/luni/src/main/java/javax/xml/validation/ |
SchemaFactoryFinder.java | 27 import java.net.URL; 220 for (URL resource : createServiceFileIterator()) { 292 private Iterable<URL> createServiceFileIterator() { 298 Enumeration<URL> e = classLoader.getResources(SERVICE_ID); 408 URL it = loader.getResource(classnameAsResource);
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldManifestTest.java | 25 import java.net.URL; 87 Manifest manifest = new Manifest(new URL(Support_Resources 95 Manifest manifest1 = new Manifest(new URL(Support_Resources.getURL( 97 Manifest manifest2 = new Manifest(new URL(Support_Resources.getURL( 112 manifest1 = new Manifest(new URL(Support_Resources 115 fail("Malformed URL"); 140 fail("Malformed URL");
|
/libcore/ojluni/src/main/java/java/util/ |
ServiceLoader.java | 33 import java.net.URL; 243 private static void fail(Class<?> service, URL u, int line, String msg) 252 private int parseLine(Class<?> service, URL u, BufferedReader r, int lc, 281 // Parse the content of the given URL as a provider-configuration file. 288 // The URL naming the configuration file to be parsed 295 // If an I/O error occurs while reading from the given URL, or 298 private Iterator<String> parse(Class<?> service, URL u) 330 Enumeration<URL> configs = null;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_urllibnet.py | 96 # Make sure same URL as opened is returned by geturl. 97 URL = "http://www.python.org/" 98 open_url = self.urlopen(URL) 103 self.assertEqual(gotten_url, URL) 107 URL = "http://www.python.org/XXXinvalidXXX" 108 open_url = urllib.FancyURLopener().open(URL)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_urllibnet.py | 96 # Make sure same URL as opened is returned by geturl. 97 URL = "http://www.python.org/" 98 open_url = self.urlopen(URL) 103 self.assertEqual(gotten_url, URL) 107 URL = "http://www.python.org/XXXinvalidXXX" 108 open_url = urllib.FancyURLopener().open(URL)
|
/prebuilts/go/darwin-x86/src/net/http/httputil/ |
dump_test.go | 14 "net/url" 34 URL: &url.URL{ 57 URL: mustParseURL("/foo"), 78 // Test that an https URL doesn't try to do an SSL negotiation 94 URL: &url.URL{ 119 URL: &url.URL [all...] |