HomeSort by relevance Sort by last modified time
    Searched refs:URL (Results 251 - 275 of 983) sorted by null

<<11121314151617181920>>

  /developers/build/prebuilts/gradle/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/
MainActivity.java 37 import java.net.URL;
134 * Given a string representation of a URL, sets up a connection and gets
136 * @param urlString A string representation of a URL.
142 URL url = new URL(urlString); local
143 HttpURLConnection conn = (HttpURLConnection) url.openConnection();
  /developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/
MainActivity.java 37 import java.net.URL;
134 * Given a string representation of a URL, sets up a connection and gets
136 * @param urlString A string representation of a URL.
142 URL url = new URL(urlString); local
143 HttpURLConnection conn = (HttpURLConnection) url.openConnection();
  /development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
MainActivity.java 37 import java.net.URL;
134 * Given a string representation of a URL, sets up a connection and gets
136 * @param urlString A string representation of a URL.
142 URL url = new URL(urlString); local
143 HttpURLConnection conn = (HttpURLConnection) url.openConnection();
  /development/samples/training/threadsample/src/com/example/android/threadsample/
RSSPullService.java 30 import java.net.URL;
36 * This service pulls RSS content from a web site URL contained in the incoming Intent (see
64 * URL of the web site from which the RSS parser gets data.
68 // Gets a URL to read from the incoming Intent's "data" value
78 // A URL that's local to this method
79 URL localURL;
85 * A block that tries to connect to the Picasa featured picture URL passed as the "data"
90 // Convert the incoming data string to a URL.
91 localURL = new URL(localUrlString);
94 * Tries to open a connection to the URL. If an IO error occurs, this throws a
    [all...]
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/chromium_org/chrome/browser/android/bookmarks/
partner_bookmarks_shim_unittest.cc 18 #include "url/gurl.h"
46 const GURL& url,
50 return model_->AddURL(parent, parent->child_count(), title, url);
101 partner_bookmark1->set_type(BookmarkNode::URL);
106 partner_bookmark2->set_type(BookmarkNode::URL);
135 partner_bookmark1->set_type(BookmarkNode::URL);
165 partner_bookmark1->set_type(BookmarkNode::URL);
170 partner_bookmark2->set_type(BookmarkNode::URL);
179 partner_bookmark3->set_type(BookmarkNode::URL);
256 partner_bookmark1->set_type(BookmarkNode::URL);
    [all...]
  /external/chromium_org/components/bookmarks/browser/
bookmark_node.h 14 #include "url/gurl.h"
20 // BookmarkNode contains information about a starred entry: title, URL, favicon,
25 URL,
42 // Creates a new node with an id of 0 and |url|.
43 explicit BookmarkNode(const GURL& url);
44 // Creates a new node with |id| and |url|.
45 BookmarkNode(int64 id, const GURL& url);
60 const GURL& url() const { return url_; } function in class:BookmarkNode
61 void set_url(const GURL& url) { url_ = url; }
    [all...]
  /external/chromium_org/content/browser/fileapi/
file_system_operation_runner_unittest.cc 57 FileSystemURL URL(const std::string& path) {
80 operation_runner()->Truncate(URL("foo"), 0,
92 // Invalid URL error, which calls DidFinish synchronously.
109 // Call Truncate with non-existent URL, and try to cancel it immediately
112 operation_runner()->Truncate(URL("foo"), 0,
134 // Call Truncate with invalid URL, and try to cancel it immediately
  /external/chromium_org/ui/base/dragdrop/
os_exchange_data_provider_aura.cc 39 // URL and filename metadata, and does not implement the DownloadURL protocol.
51 void OSExchangeDataProviderAura::SetURL(const GURL& url,
53 url_ = url;
55 formats_ |= OSExchangeData::URL;
57 SetString(base::UTF8ToUTF16(url.spec()));
88 GURL* url,
91 if ((formats_ & OSExchangeData::URL) == 0) {
93 return GetPlainTextURL(url);
99 *url = url_;
138 if ((formats_ & OSExchangeData::URL) != 0)
    [all...]
  /external/mockito/src/org/mockito/internal/configuration/
ClassPathLoader.java 14 import java.net.URL;
144 Enumeration<URL> resources;
152 for (URL resource : Collections.list(resources)) {
  /external/oauth/core/src/main/java/net/oauth/client/httpclient4/
HttpClient4.java 21 import java.net.URL;
62 final String url = request.url.toExternalForm(); local
71 isPost ? new HttpPost(url) : new HttpPut(url);
81 httpRequest = new HttpDelete(url);
83 httpRequest = new HttpGet(url);
88 HttpClient client = clientPool.getHttpClient(new URL(httpRequest.getURI().toString()));
119 public HttpClient getHttpClient(URL server)
  /external/smack/src/org/jivesoftware/smack/
SmackConfiguration.java 24 import java.net.URL;
85 Enumeration<URL> configEnum = classLoader.getResources("META-INF/smack-config.xml");
87 URL url = configEnum.nextElement(); typedefs
90 systemStream = url.openStream();
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
BandwidthTestUtil.java 41 import java.net.URL;
75 * @param server url of the test server
79 * @return download url
89 * Download a given file from a target url to a given destination file.
90 * @param targetUrl the url to download
96 URL url = new URL(targetUrl); local
98 Log.d(LOG_TAG, "Download url:" + url);
    [all...]
  /frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
BandwidthEnforcementTestService.java 34 import java.net.URL;
90 * Tests a normal http url connection.
95 final HttpURLConnection conn = (HttpURLConnection) new URL("http://www.google.com/")
114 * Tests a ipv6 http url connection.
119 final HttpURLConnection conn = (HttpURLConnection) new URL("http://ipv6.google.com/")
  /libcore/benchmarks/src/benchmarks/regression/
HostnameVerifierBenchmark.java 23 import java.net.URL;
53 URL url = new URL("https", host, "/"); local
55 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
  /packages/apps/Browser/src/com/android/browser/
WallpaperHandler.java 35 import java.net.URL;
54 public WallpaperHandler(Context context, String url) {
56 mUrl = url;
180 * Opens the input stream for the URL that the class should
183 * @return An open InputStream for the data at the URL
184 * @throws IOException if there is an error opening the URL stream
185 * @throws MalformedURLException if the URL is malformed
193 URL url = new URL(mUrl) local
    [all...]
  /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...]
  /external/apache-harmony/security/src/test/api/java.injected/java/security/
SecureClassLoaderTest.java 24 import java.net.URL;
172 URL[] urls = new URL[] { new URL("http://localhost") };
181 URL url = new URL("http://localhost"); local
182 CodeSource cs = new CodeSource(url, (Certificate[]) null);
  /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);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ResourceBundleTest.java 23 import java.net.URL;
105 Vector<URL> urlVec = new Vector<URL>();
110 String url; local
112 url = "file:" + path + resPackage + "subfolder/";
114 url = "jar:file:" + path + "!" + resPackage + "subfolder/";
115 urlVec.addElement(new URL(url));
119 URL[] urls = new URL[urlVec.size()]
    [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);
  /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/blktrace/
btrace.spec 19 URL: http://brick.kernel.dk/snaps
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
ChromeBrowserProviderSuggestionsCursor.java 66 return mCursor.getString(mCursor.getColumnIndex(BookmarkColumns.URL));
71 return mCursor.getString(mCursor.getColumnIndex(BookmarkColumns.URL));
  /external/chromium_org/chrome/browser/sync_file_system/local/
local_file_sync_context_unittest.cc 80 const FileSystemURL& url,
91 url,
98 const FileSystemURL& url,
103 StartPrepareForSync(file_system_context, url, sync_mode,
111 const FileSystemURL& url,
119 url, sync_mode, metadata, changes, snapshot);
141 const FileSystemURL& url,
144 url.DebugString());
150 PrepareForSync(file_system_context, url,
157 file_system_context, change, local_path, url,
    [all...]

Completed in 427 milliseconds

<<11121314151617181920>>