HomeSort by relevance Sort by last modified time
    Searched refs:url (Results 201 - 225 of 2088) sorted by null

1 2 3 4 5 6 7 891011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
webbrowser.py 55 # It is recommended one does "import webbrowser" and uses webbrowser.open(url)
58 def open(url, new=0, autoraise=True):
61 if browser.open(url, new, autoraise):
65 def open_new(url):
66 return open(url, 1)
68 def open_new_tab(url):
69 return open(url, 2)
147 def open(self, url, new=0, autoraise=True):
150 def open_new(self, url):
151 return self.open(url, 1
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
webbrowser.py 55 # It is recommended one does "import webbrowser" and uses webbrowser.open(url)
58 def open(url, new=0, autoraise=True):
61 if browser.open(url, new, autoraise):
65 def open_new(url):
66 return open(url, 1)
68 def open_new_tab(url):
69 return open(url, 2)
147 def open(self, url, new=0, autoraise=True):
150 def open_new(self, url):
151 return self.open(url, 1
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
CacheTest.java 33 import java.net.URL;
179 .url(server.getUrl("/"))
222 Request request = new Request.Builder().url(server.getUrl("/")).build();
259 Request request = new Request.Builder().url(server.getUrl("/")).build();
298 Request request = new Request.Builder().url(server.getUrl("/")).build();
320 Request request1 = new Request.Builder().url(server.getUrl("/foo")).build();
327 Request request2 = new Request.Builder().url(server.getUrl("/bar")).build();
335 Request request3 = new Request.Builder().url(server.getUrl("/baz")).build();
449 URL url = server.getUrl("/") local
463 URL url = server.getUrl("\/"); local
556 URL url = server.getUrl("\/"); local
601 URL url = server.getUrl("\/?foo=bar"); local
725 URL url = server.getUrl("\/"); local
774 URL url = server.getUrl("\/"); local
801 URL url = server.getUrl("\/"); local
890 URL url = server.getUrl("\/"); local
911 URL url = server.getUrl("\/"); local
1195 URL url = server.getUrl("\/"); local
1214 URL url = server.getUrl("\/"); local
1252 URL url = server.getUrl("\/"); local
1320 URL url = server.getUrl("\/"); local
1427 URL url = server.getUrl("\/"); local
1451 URL url = server.getUrl("\/"); local
1520 URL url = server.getUrl("\/"); local
1544 URL url = server.getUrl("\/"); local
1572 URL url = server.getUrl("\/"); local
1599 URL url = server.getUrl("\/"); local
1625 URL url = server.getUrl("\/"); local
1667 URL url = server.getUrl("\/"); local
1693 URL url = server.getUrl("\/"); local
1898 URL url = server.getUrl("\/"); local
1951 URL url = server.getUrl("\/"); local
1966 URL url = server.getUrl("\/"); local
1988 URL url = server.getUrl("\/"); local
2040 URL url = server.getUrl("\/a"); local
2058 URL url = server.getUrl("\/a"); local
2074 URL url = server.getUrl("\/a"); local
2093 URL url = server.getUrl("\/a"); local
2112 URL url = server.getUrl("\/a"); local
2161 URL url = server.getUrl("\/"); local
2208 URL url = server.getUrl("\/"); local
    [all...]
  /cts/tests/tests/webkit/src/android/webkit/cts/
HttpAuthHandlerTest.java 111 private void incorrectCredentialsAccessDenied(String url) throws Throwable {
117 mOnUiThread.loadUrlAndWaitForCompletion(url);
123 private void missingCredentialsAccessDenied(String url) throws Throwable {
129 mOnUiThread.loadUrlAndWaitForCompletion(url);
135 private void correctCredentialsAccessGranted(String url) throws Throwable {
141 mOnUiThread.loadUrlAndWaitForCompletion(url);
152 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local
154 incorrectCredentialsAccessDenied(url);
155 missingCredentialsAccessDenied(url);
156 correctCredentialsAccessGranted(url);
164 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local
179 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local
    [all...]
WebHistoryItemTest.java 96 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local
97 mOnUiThread.loadUrlAndWaitForCompletion(url);
109 assertEquals(url, item.getUrl());
110 assertEquals(url, item.getOriginalUrl());
115 url = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL);
116 mOnUiThread.loadUrlAndWaitForCompletion(url);
  /external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
WebSocketCall.java 64 String url = request.urlString(); local
66 if (url.startsWith("ws://")) {
67 httpUrl = "http://" + url.substring(5);
68 } else if (url.startsWith("wss://")) {
69 httpUrl = "https://" + url.substring(6);
70 } else if (url.startsWith("http://") || url.startsWith("https://")) {
71 httpUrl = url;
74 "Request url must use 'ws', 'wss', 'http', or 'https' scheme: " + url);
199 String url = response.request().urlString(); local
    [all...]
  /development/tools/axl/
chewie.py 20 def add(self, url, time):
21 self.queue.append([url, time])
23 def get(self, url):
26 if rec[0] == url:
94 time, url = x[0], x[3]
95 queued.add(url, time)
102 time, thread, url = x[0], x[1], x[3]
104 qtime = queued.get(url)
105 record = [thread, qtime, opentime, time, None, None, None, url, host, connection]
  /external/chromium-trace/trace-viewer/third_party/Paste/tests/
test_recursive.py 18 def __init__(self, app, url='/error'):
20 self.url = url
22 raise ForwardRequestException(self.url)
51 raise ForwardRequestException(self.url)
59 environ['PATH_INFO'] = self.url
71 environ['PATH_INFO'] = self.url
73 return StatusKeeper(app, status='404 Not Found', url='/error', headers=[])
104 raise ForwardRequestException(path_info=self.url)
  /external/chromium-trace/trace-viewer/third_party/webapp2/tests/
routing_test.py 15 url = route.build(Request.blank('/'), (), {})
16 self.assertEqual(url, '/hello')
21 url = route.build(Request.blank('/'), (), {})
22 self.assertEqual(url, '/hello/world/')
50 url = route.build(Request.blank('/'), (), dict(foo='baz'))
51 self.assertEqual(url, '/baz')
58 url = route.build(Request.blank('/'), (), dict(year='2010'))
59 self.assertEqual(url, '/2010')
63 url = route.build(Request.blank('/'), (), dict(year='2010'))
64 self.assertEqual(url, '/2010/foo/'
    [all...]
  /external/owasp/sanitizer/src/main/org/owasp/html/examples/
UrlTextExample.java 82 String url = attribs.get(i+1).trim(); local
83 String domain = domainOf(url);
162 * The domain (actually authority component) of an HTML5 URL.
165 private static String domainOf(String url) {
167 if (url.startsWith("//")) {
170 start = url.indexOf("://");
175 switch (url.charAt(i)) {
180 int end = url.length();
182 switch (url.charAt(i)) {
188 return url.substring(start, end)
    [all...]
  /libcore/luni/src/main/java/java/sql/
DriverManager.java 133 * Attempts to establish a connection to the given database URL.
135 * @param url
136 * a URL string representing the database target to connect with.
137 * @return a {@code Connection} to the database identified by the URL.
141 * database identified by the URL.
143 public static Connection getConnection(String url) throws SQLException {
144 return getConnection(url, new Properties());
148 * Attempts to establish a connection to the given database URL.
150 * @param url
151 * a URL string representing the database target to connect wit
    [all...]
  /packages/apps/Browser/tests/src/com/android/browser/
BrowserProviderTests.java 112 private void assertInsertQuery(String url, String title, String query) {
113 addBookmark(url, title);
114 assertQueryReturns(url, title, query);
117 private void assertQueryReturns(String url, String title, String query) {
130 assertEquals("Bad URL", url, data);
140 Cursor c = getMockContentResolver().query(suggestUri, null, "url LIKE ?",
146 private void addBookmark(String url, String title) {
147 Uri uri = insertBookmark(url, title);
153 private Uri insertBookmark(String url, String title)
    [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/skia/platform_tools/android/bin/
download_utils.py 140 def WriteSourceStamp(path, url):
142 WriteStamp(stampfile, url)
229 def HashUrlByDownloading(url):
230 """sha1 the data at an url.
233 url: url to download from.
235 sha1 of the data at the url.
238 fh = urllib2.urlopen(url)
240 sys.stderr.write("Failed fetching URL: %s\n" % url)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
HttpsURLConnectionTest.java 22 import java.net.URL;
50 new MyHttpsURLConnection(new URL("https://www.fortify.net/"));
58 URL url = new URL("https://localhost:55555"); local
59 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
66 HttpsURLConnection con = new MyHttpsURLConnection(new URL("https://www.fortify.net/"));
74 URL url = new URL("https://localhost:55555") local
126 URL url = new URL("https:\/\/localhost:55555"); local
144 URL url = new URL("https:\/\/localhost:55555"); local
167 URL url = new URL("https:\/\/localhost:55555"); local
    [all...]
  /frameworks/av/media/libstagefright/rtsp/
SDPLoader.cpp 51 void SDPLoader::load(const char *url, const KeyedVector<String8, String8> *headers) {
55 msg->setString("url", url);
87 AString url; local
88 CHECK(msg->findString("url", &url));
93 ALOGV("onLoad %s", uriDebugString(url, mFlags & kFlagIncognito).c_str());
96 err = mHTTPDataSource->connect(url.c_str(), headers);
  /packages/apps/Browser/src/com/android/browser/
Performance.java 58 static void tracePageStart(String url) {
62 WebAddress uri = new WebAddress(url);
94 static void onPageFinished(String url) {
113 Log.d(LOGTAG, performanceString + "\nWebpage: " + url);
115 if (url != null) {
116 // strip the url to maintain consistency
117 String newUrl = new String(url);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SuggestionUtils.java 94 * Simple url normalization that adds http:// if no scheme exists, and
100 static String normalizeUrl(String url) {
102 if (url != null) {
104 int schemePos = url.indexOf(SCHEME_SEPARATOR);
107 normalized = DEFAULT_SCHEME + SCHEME_SEPARATOR + url;
110 normalized = url;
119 return url;
  /frameworks/base/core/java/android/text/util/
Linkify.java 50 * Alone with the pattern that is to be matched, a url scheme prefix is also
52 * will have the scheme prepended to the matched text when the clickable url
55 * does not have a url scheme prefix, the supplied scheme will be prepended to
56 * create <code>http://example.com</code> when the clickable url link is
101 * Filters out web URL matches that occur after an at-sign (@). This is
119 * Filters out URL matches that don't have enough digits to be a
140 * to be used in a tel: URL. It does this by removing everything
146 public final String transformUrl(final Matcher match, String url) {
158 * support@example.com. So, when matching against a web url pattern you
184 * into a tel: URL the parentheses, white space, and hyphen need to b
384 String url = makeUrl(m.group(0), new String[] { prefix }, local
442 String url = makeUrl(m.group(0), schemes, m, transformFilter); local
563 String url; field in class:LinkSpec
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
HttpUrl.java 22 import java.net.URL;
29 * A <a href="https://url.spec.whatwg.org/">URL</a> with an {@code http} or {@code https} scheme.
35 * TODO: discussion on this vs. java.net.URL vs. java.net.URI
66 /** Canonical URL. */
67 private final String url; field in class:HttpUrl
70 String path, String query, String fragment, String url) {
79 this.url = url;
82 public URL url() method in class:HttpUrl
373 StringBuilder url = new StringBuilder(); local
    [all...]
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
VideoItemLoader.java 35 public VideoItemLoader(Context context, String url) {
38 mUrl = url;
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
VideoItemLoader.java 37 public VideoItemLoader(Context context, String url) {
40 mUrl = url;
  /development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/connectivity/
ConnectivityTest.java 20 import java.net.URL;
60 URL url = new URL(URL_NAME); local
62 URLConnection connection = url.openConnection();
  /external/apache-harmony/support/src/test/java/tests/support/resource/
Support_Resources.java 27 import java.net.URL;
52 URL url = null; local
58 url = new URL("file:/" + resPath + "/" + fileName);
62 return url.toString();
118 public static File getExternalLocalFile(String url) throws IOException, MalformedURLException {
120 InputStream in = new URL(url).openStream();
151 URL url = ClassLoader.getSystemClassLoader().getResource(name) local
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
HttpsURLConnection_ImplTest.java 21 import java.net.URL;
57 public MyHttpsURLConnection(URL url) {
58 super(url);

Completed in 1970 milliseconds

1 2 3 4 5 6 7 891011>>