/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/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
HttpsURLConnectionTest.java | 22 import java.net.URL; 39 HttpsURLConnection con = new MyHttpsURLConnection(new URL( 107 public MyHttpsURLConnection(URL url) { 108 super(url);
|
/external/chromium-libpac/test/js-unittest/ |
dns_fail.js | 5 function FindProxyForURL(url, host) {
|
/external/clang/docs/tools/ |
dump_ast_matchers.py | 41 url = 'http://clang.llvm.org/doxygen/classclang_1_1%s.html' % name 42 if url not in doxygen_probes: 44 print 'Probing %s...' % url 45 urllib2.urlopen(url) 46 doxygen_probes[url] = True 48 doxygen_probes[url] = False 49 if doxygen_probes[url]: 50 return r'Matcher<<a href="%s">%s</a>>' % (url, name)
|
/external/google-breakpad/src/client/windows/sender/ |
crash_report_sender.cc | 61 const wstring &url, const map<wstring, wstring> ¶meters, 72 url, parameters, dump_file_name, L"upload_file_minidump", NULL, report_code,
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/rule/ |
MockWebServerRuleTest.java | 25 import java.net.URL; 73 URL url = server.getUrl("/aaa"); local 74 HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
/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/v8/test/mjsunit/regress/ |
regress-2374.js | 28 var msg = '{"result":{"profile":{"head":{"functionName":"(root)","url":"","lineNumber":0,"totalTime":495.7243772462511,"selfTime":0,"numberOfCalls":0,"visible":true,"callUID":2771605942,"children":[{"functionName":"(program)","url":"","lineNumber":0,"totalTime":495.7243772462511,"selfTime":495.7243772462511,"numberOfCalls":0,"visible":true,"callUID":1902715303,"children":[]}]},"bottomUpHead":{"functionName":"(root)","url":"","lineNumber":0,"totalTime":495.7243772462511,"selfTime":0,"numberOfCalls":0,"visible":true,"callUID":2771605942,"children":[{"functionName":"(program)","url":"","lineNumber":0,"totalTime":495.7243772462511,"selfTime":495.7243772462511,"numberOfCalls":0,"visible":true,"callUID":1902715303,"children":[]}]}}},"id":41}';
|
/frameworks/av/media/libmediaplayerservice/ |
TestPlayerStub.h | 28 // The URL passed to setDataSource has this format: 30 // test:<name of the .so>?url=<url for the real setDataSource impl.> 33 // test:invoke_test_media_player.so?url=http://youtube.com/ 34 // test:invoke_test_media_player.so?url=speedtest 36 // TestPlayerStub::setDataSource loads the library in the test url. 2 44 // implementation is called with the value of the 'url' parameter. 50 // p.setDataSource("test:invoke_mock_media_player.so?url=http://youtube.com"); 67 // @param url Should be a test url. See class comment [all...] |
/frameworks/base/core/tests/coretests/src/android/provider/ |
SmsProviderTest.java | 71 for (Uri url : urls) { 72 int count = contentResolver.delete(url, null, null);
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
CaptivePortalLoginActivity.java | 51 import java.net.URL; 64 private URL mURL; 80 mURL = new URL("http", server, "/generate_204"); 83 Log.e(TAG, "Invalid captive portal URL, server=" + server); 269 public void onPageStarted(WebView view, String url, Bitmap favicon) { 270 if (url.contains(mBrowserBailOutToken)) { 276 // fetch the proxy settings. Don't update the URL bar, and 279 // For internally generated pages, leave URL bar listing prior URL as this is the URL [all...] |
/frameworks/volley/src/test/java/com/android/volley/ |
RequestTest.java | 84 public UrlParseRequest(String url) { 85 super(Request.Method.GET, url, null);
|
/frameworks/volley/src/test/java/com/android/volley/mock/ |
MockRequest.java | 34 public MockRequest(String url, ErrorListener listener) { 35 super(Request.Method.GET, url, listener);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
JTidyDocumentBuilderFactory.java | 87 public Document load(java.net.URL url) throws DOMTestLoadException { 90 java.io.InputStream stream = url.openStream();
|
/libcore/luni/src/main/java/javax/net/ssl/ |
HttpsURLConnection.java | 21 import java.net.URL; 54 * URL url = new URL("https://www.example.com/"); 55 * HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection(); 88 * URL url = new URL("https://www.example.com/"); 89 * HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection(); 186 * Creates a new {@code HttpsURLConnection} with the specified {@code URL} [all...] |
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
dec.py | 150 def get(self, url, **kw): 153 This creates a request object using the given URL, and any 162 req = self.RequestClass.blank(url, **kw) 165 def post(self, url, POST=None, **kw): 179 req = self.RequestClass.blank(url, POST=POST, **kw) 182 def request(self, url, **kw): 189 req = self.RequestClass.blank(url, **kw)
|
/external/chromium-trace/trace-viewer/tracing/build/ |
run_dev_server_tests | 17 # URL on omahaproxy.appspot.com which lists cloud storage buckets. 20 # URL in cloud storage to download Chrome zip from. 94 def DownloadSignedWinChromeStable(url, version): 96 url = url.replace('%VERSION%', version) 98 installer_path = os.path.join(tmpdir, url[url.rindex('/') + 1:]) 100 local_file.write(urllib2.urlopen(url).read())
|
/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
JarFileResource.java | 25 import java.net.URL; 49 JarFileResource(URL url) 51 super(url); 55 JarFileResource(URL url, boolean useCaches) 57 super(url, useCaches); 68 //if the jvm is not doing url caching, then the JarFiles will not be cached either, 153 // Is this a root URL? 172 JarURLConnection c=(JarURLConnection)((new URL(_jarUrl)).openConnection()) 424 URL url = new URL(string); local [all...] |
JarResource.java | 27 import java.net.URL; 45 JarResource(URL url) 47 super(url,null); 51 JarResource(URL url, boolean useCaches) 53 super(url, null, useCaches); 126 URL url = new URL(_urlString.substring(4,_urlString.length()-2)); typedefs [all...] |
/external/oauth/core/src/main/java/net/oauth/ |
OAuth.java | 278 * Construct a URL like the given one, but with the given parameters added 281 public static String addParameters(String url, String... parameters) 283 return addParameters(url, newList(parameters)); 286 public static String addParameters(String url, 291 return url; 293 return url + ((url.indexOf("?") < 0) ? '?' : '&') + form;
|
/external/smali/ |
build.gradle | 138 repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { 147 url 'http://smali.org' 152 url 'http://opensource.org/licenses/BSD-3-Clause'
|
/ndk/docs/Programmers_Guide/html/ |
resize.js | 74 var url = location.href; 75 var i=url.indexOf("#"); 76 if (i>=0) window.location.hash=url.substr(i);
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBackupAgent.java | 112 mark.url = in.readUTF(); 125 String[] urlCol = new String[] { Bookmarks.URL }; 129 // Does this URL exist in the bookmark table? 132 Bookmarks.URL + " == ?", 133 new String[] { mark.url }, null); 136 if (DEBUG) Log.v(TAG, "Did not see url: " + mark.url); 140 if (DEBUG) Log.v(TAG, "Skipping extant url: " + mark.url); 168 values.put(Bookmarks.URL, mark.url) 176 public String url; field in class:BrowserBackupAgent.Bookmark [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLConnectionTest.java | 31 import java.net.URL; 49 public MockURLConnection(URL url) { 50 super(url); 60 protected URLConnection openConnection(URL u) throws IOException { 82 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); 83 assertNotNull("Cannot find test resource " + resourceName, url); 84 return url.openConnection().getContentType(); 87 URL url [all...] |