Home
last modified time | relevance | path

Searched full:url1 (Results 1 – 25 of 120) sorted by relevance

12345

/aosp_15_r20/external/openscreen/util/
H A Durl_unittest.cc59 Url url1("http://user:[email protected]:99/foo;bar?q=a#ref"); in TEST() local
60 Url url2(url1); in TEST()
62 EXPECT_TRUE(url1.is_valid()); in TEST()
63 EXPECT_TRUE(url1.has_host()); in TEST()
64 EXPECT_TRUE(url1.has_port()); in TEST()
65 EXPECT_TRUE(url1.has_path()); in TEST()
66 EXPECT_TRUE(url1.has_query()); in TEST()
68 EXPECT_EQ("http", url1.scheme()); in TEST()
69 EXPECT_EQ("google.com", url1.host()); in TEST()
70 EXPECT_EQ(99, url1.port()); in TEST()
[all …]
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLStreamHandlerTest.java35 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); in test_equalsLjava_net_URLLjava_net_URL() local
37 assertFalse(url1.equals(url2)); in test_equalsLjava_net_URLLjava_net_URL()
40 assertFalse(handler.equals(url1,url2)); in test_equalsLjava_net_URLLjava_net_URL()
43 assertFalse(handler.equals(null, url1)); in test_equalsLjava_net_URLLjava_net_URL()
55 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); in test_getHostAddress() local
56 assertNull(handler.getHostAddress(url1)); in test_getHostAddress()
66 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); in test_hashCodeLjava_net_URL() local
68 assertTrue(handler.hashCode(url1) != handler.hashCode(url2)); in test_hashCodeLjava_net_URL()
71 assertFalse(handler.equals(url1,url2)); in test_hashCodeLjava_net_URL()
81 URL url1 = new URL("ftp://localhost:21/*test"); in test_hostsEqualLjava_net_URLLjava_net_URL() local
[all …]
/aosp_15_r20/external/cronet/testing/flake_suppressor_common/
H A Dresult_output_unittest.py28 ('some', 'tags'): ['url1', 'url2'],
44 <li><a href="url1">url1</a></li>
58 <li><a href="url1">url1</a></li>
82 'some tags': ['url1', 'url2'],
95 <li><a href="url1">url1</a></li>
117 ('some', 'tags'): ['url1', 'url2'],
124 'some tags': ['url1', 'url2'],
139 'some tags': ['url1', 'url2'],
148 'some_test': ['url1', 'url2'],
/aosp_15_r20/external/cronet/net/cert_net/
H A Dcert_net_fetcher_url_request_unittest.cc268 GURL url1 = test_server_.GetURL("/cert.crt"); in TEST_F() local
270 StartRequest(fetcher(), url1); in TEST_F()
463 GURL url1 = test_server_.GetURL("/cert.crt"); in TEST_F() local
465 StartRequest(fetcher(), url1); in TEST_F()
503 GURL url1 = test_server_.GetURL("/cert.crt"); in TEST_F() local
506 StartRequest(fetcher(), url1); in TEST_F()
535 GURL url1 = test_server_.GetURL("/cert.crt"); in TEST_F() local
538 // Issue 3 requests for url1, and 3 requests for url2 in TEST_F()
540 StartRequest(fetcher(), url1); in TEST_F()
546 StartRequest(fetcher(), url1); in TEST_F()
[all …]
/aosp_15_r20/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionUtilsTest.java57 private void assertsUrlsEquivalent(String url1, String url2) { in assertsUrlsEquivalent() argument
58 assertTrue("Urls " + url1 + " and " + url2 + " not equal", in assertsUrlsEquivalent()
59 SuggestionUtils.normalizeUrl(url1).equals(SuggestionUtils.normalizeUrl(url2))); in assertsUrlsEquivalent()
62 private void assertsUrlsNotEquivalent(String url1, String url2) { in assertsUrlsNotEquivalent() argument
63 assertFalse("Urls " + url1 + " and " + url2 + " equal", in assertsUrlsNotEquivalent()
64 SuggestionUtils.normalizeUrl(url1).equals(SuggestionUtils.normalizeUrl(url2))); in assertsUrlsNotEquivalent()
/aosp_15_r20/external/curl/tests/http/
H A Dtest_04_stuttered.py73 url1 = f'https://{env.authority_for(env.domain1, proto)}/data.json?[0-{warmups-1}]'
77 r = curl.http_download(urls=[url1, urln], alpn_proto=proto,
95 url1 = f'https://{env.authority_for(env.domain1, proto)}/data.json?[0-{warmups-1}]'
99 r = curl.http_download(urls=[url1, urln], alpn_proto=proto,
117 url1 = f'https://{env.authority_for(env.domain1, proto)}/data.json?[0-{warmups-1}]'
121 r = curl.http_download(urls=[url1, urln], alpn_proto=proto,
/aosp_15_r20/external/jsoup/src/test/java/org/jsoup/helper/
H A DHttpConnectionTest.java260 URL url1 = new URL("https://test.com/foo%20bar/%5BOne%5D?q=white+space#frag"); in encodeUrl() local
261 URL url2 = new UrlBuilder(url1).build(); in encodeUrl()
266 … URL url1 = new URL("https://example.com/tools/test��.html"); // = "/tools/test\uD83D\uDCA9.html" in encodeUrlSupplementary() local
267 URL url2 = new UrlBuilder(url1).build(); in encodeUrlSupplementary()
272 URL url1 = new URL("https://test.com/foo%20bar/%5BOne%5D?q=white+space#frag%20ment"); in encodedUrlDoesntDoubleEncode() local
273 URL url2 = new UrlBuilder(url1).build(); in encodedUrlDoesntDoubleEncode()
280 URL url1 = new URL("https://test.com/[foo] bar+/%5BOne%5D?q=white space#frag ment"); in urlPathIsPreservedDoesntDoubleEncode() local
281 URL url2 = new UrlBuilder(url1).build(); in urlPathIsPreservedDoesntDoubleEncode()
/aosp_15_r20/cts/tests/tests/webkit/src/android/webkit/cts/
H A DWebBackForwardListTest.java100 String url1 = server.getAssetUrl(TestHtmlConstants.HTML_URL1); in testGetCurrentItem() local
104 mOnUiThread.loadUrlAndWaitForCompletion(url1); in testGetCurrentItem()
105 checkBackForwardList(url1); in testGetCurrentItem()
108 checkBackForwardList(url1, url2); in testGetCurrentItem()
111 checkBackForwardList(url1, url2, url3); in testGetCurrentItem()
H A DWebViewTest.java540 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HTML_URL1); in testGoBackAndForward() local
544 mOnUiThread.loadUrlAndWaitForCompletion(url1); in testGoBackAndForward()
545 pollingCheckWebBackForwardList(url1, 0, 1); in testGoBackAndForward()
570 pollingCheckWebBackForwardList(url1, 0, 3); in testGoBackAndForward()
1713 final String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HTML_URL1); in testRequestFocusNodeHref() local
1717 + url1 in testRequestFocusNodeHref()
1750 assertEquals(url1, handler.getResultUrl()); in testRequestFocusNodeHref()
1987 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HTML_URL1); in testClearHistory() local
1991 mOnUiThread.loadUrlAndWaitForCompletion(url1); in testClearHistory()
1992 pollingCheckWebBackForwardList(url1, 0, 1); in testClearHistory()
[all …]
/aosp_15_r20/external/cronet/net/proxy_resolution/
H A Dconfigured_proxy_resolution_service_unittest.cc352 const GURL& url1 = GURL(), in GetPendingJobsForURLs() argument
356 if (!url1.is_empty()) in GetPendingJobsForURLs()
357 urls.push_back(url1); in GetPendingJobsForURLs()
376 const GURL& url1 = GURL(), in GetCancelledJobsForURLs() argument
380 if (!url1.is_empty()) in GetCancelledJobsForURLs()
381 urls.push_back(url1); in GetCancelledJobsForURLs()
1393 GURL url1("http://www.google.com/"); in TEST_F() local
1398 int rv = service.ResolveProxy(url1, std::string(), NetworkAnonymizationKey(), in TEST_F()
1413 JobMap jobs = GetPendingJobsForURLs(resolver, url1, url2); in TEST_F()
1416 jobs[url1]->CompleteNow(ERR_PAC_SCRIPT_TERMINATED); in TEST_F()
[all …]
/aosp_15_r20/external/cronet/url/android/javatests/src/org/chromium/url/
H A DGURLJavaTest.java130 GURL url1 = new GURL("filesystem:http://user:[email protected]:21/blah#baz"); in testOrigin() local
134 Assert.assertEquals(kExpectedOrigin1, url1.getOrigin().getSpec()); in testOrigin()
278 GURL url1 = new GURL("https://www.google.com"); in testDomainIs() local
281 Assert.assertTrue(url1.domainIs("com")); in testDomainIs()
283 Assert.assertTrue(url1.domainIs("google.com")); in testDomainIs()
286 Assert.assertTrue(url1.domainIs("www.google.com")); in testDomainIs()
287 Assert.assertFalse(url1.domainIs("images.google.com")); in testDomainIs()
/aosp_15_r20/external/googleapis/google/ads/googleads/v16/resources/
H A Dasset_group_listing_group_filter.proto176 // Example1: for URL1 = www.ads.google.com?ocid=1&euid=2
179 // URL1 will be matched, but URL2 not.
181 // Example2 : If URL1 has Label1, Label2 and URL2 has Label2, Label3, then
182 // with Label1 and Label2 as custom_label conditions, URL1 will be matched
184 // With Label2 as the only custom_label condition then both URL1 and URL2
/aosp_15_r20/external/googleapis/google/ads/googleads/v15/resources/
H A Dasset_group_listing_group_filter.proto176 // Example1: for URL1 = www.ads.google.com?ocid=1&euid=2
179 // URL1 will be matched, but URL2 not.
181 // Example2 : If URL1 has Label1, Label2 and URL2 has Label2, Label3, then
182 // with Label1 and Label2 as custom_label conditions, URL1 will be matched
184 // With Label2 as the only custom_label condition then both URL1 and URL2
/aosp_15_r20/external/chromium-trace/catapult/common/py_utils/py_utils/
H A Dcloud_storage.py264 url1 = 'gs://%s/%s' % (bucket1, remote_path)
266 logger.info('Moving %s to %s', url1, url2)
267 _RunCommand(['mv', url1, url2])
282 url1 = 'gs://%s/%s' % (bucket_from, remote_path_from)
284 logger.info('Copying %s to %s', url1, url2)
285 _RunCommand(['cp', url1, url2])
/aosp_15_r20/external/federated-compute/fcp/demo/
H A Dmedia_test.py76 url1 = group.add('file1', data1)
78 self.assertEqual(service.download(b'', *url1.split('/')[-2:]).body, data1)
88 url1 = group1.add('name', data1)
90 self.assertEqual(service.download(b'', *url1.split('/')[-2:]).body, data1)
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/reflect/
H A DClassPathTest.java78 URL url1 = new URL("file:/a"); in testClassPathEntries_urlClassLoader_noParent() local
80 URLClassLoader classloader = new URLClassLoader(new URL[] {url1, url2}, null); in testClassPathEntries_urlClassLoader_noParent()
87 URL url1 = new URL("file:/a"); in testClassPathEntries_urlClassLoader_withParent() local
89 URLClassLoader parent = new URLClassLoader(new URL[] {url1}, null); in testClassPathEntries_urlClassLoader_withParent()
119 URL url1 = new URL("file:/a"); in testClassPathEntries_notURLClassLoader_withParentAndGrandParent() local
121 URLClassLoader grandParent = new URLClassLoader(new URL[] {url1}, null); in testClassPathEntries_notURLClassLoader_withParentAndGrandParent()
/aosp_15_r20/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java429 final String url1 = "www.url1.com"; in testDataItemCollapsing_website() local
436 mValues1.put(Website.URL, url1); in testDataItemCollapsing_website()
437 mValues2.put(Website.URL, url1); in testDataItemCollapsing_website()
446 assertEquals(url1, ((WebsiteDataItem) dataList.get(0)).getUrl()); in testDataItemCollapsing_website()
/aosp_15_r20/external/rust/android-crates-io/crates/rusqlite/src/types/
Durl.rs48 let url1 = Url::parse("http://www.example1.com/��").unwrap(); in test_sql_url() localVariable
55 params![url0, url1, url2, "illegal"], in test_sql_url()
60 assert_eq!(get_url(db, 1)?, url1); in test_sql_url()
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/reflect/
H A DClassPathTest.java85 URL url1 = new URL("file:/a"); in testClassPathEntries_urlClassLoader_noParent() local
87 URLClassLoader classloader = new URLClassLoader(new URL[] {url1, url2}, null); in testClassPathEntries_urlClassLoader_noParent()
94 URL url1 = new URL("file:/a"); in testClassPathEntries_urlClassLoader_withParent() local
96 URLClassLoader parent = new URLClassLoader(new URL[] {url1}, null); in testClassPathEntries_urlClassLoader_withParent()
126 URL url1 = new URL("file:/a"); in testClassPathEntries_notURLClassLoader_withParentAndGrandParent() local
128 URLClassLoader grandParent = new URLClassLoader(new URL[] {url1}, null); in testClassPathEntries_notURLClassLoader_withParentAndGrandParent()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/distlib/
Dlocators.py203 def prefer_url(self, url1, url2): argument
214 if url1:
215 s1 = self.score_url(url1)
218 result = url1
220 logger.debug('Not replacing %r with %r', url1, url2)
222 logger.debug('Replacing %r with %r', url1, url2)
539 href\\s*=\\s*(?:"(?P<url1>[^"]*)"|'(?P<url2>[^']*)'|(?P<url3>[^>\\s\n]*))
575 url = d['url1'] or d['url2'] or d['url3']
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/distlib/
Dlocators.py203 def prefer_url(self, url1, url2): argument
214 if url1:
215 s1 = self.score_url(url1)
218 result = url1
220 logger.debug('Not replacing %r with %r', url1, url2)
222 logger.debug('Replacing %r with %r', url1, url2)
539 href\\s*=\\s*(?:"(?P<url1>[^"]*)"|'(?P<url2>[^']*)'|(?P<url3>[^>\\s\n]*))
575 url = d['url1'] or d['url2'] or d['url3']
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/distlib/
Dlocators.py203 def prefer_url(self, url1, url2): argument
214 if url1:
215 s1 = self.score_url(url1)
218 result = url1
220 logger.debug('Not replacing %r with %r', url1, url2)
222 logger.debug('Replacing %r with %r', url1, url2)
539 href\\s*=\\s*(?:"(?P<url1>[^"]*)"|'(?P<url2>[^']*)'|(?P<url3>[^>\\s\n]*))
575 url = d['url1'] or d['url2'] or d['url3']
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/distlib/
Dlocators.py203 def prefer_url(self, url1, url2): argument
214 if url1:
215 s1 = self.score_url(url1)
218 result = url1
220 logger.debug('Not replacing %r with %r', url1, url2)
222 logger.debug('Replacing %r with %r', url1, url2)
539 href\\s*=\\s*(?:"(?P<url1>[^"]*)"|'(?P<url2>[^']*)'|(?P<url3>[^>\\s\n]*))
575 url = d['url1'] or d['url2'] or d['url3']
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DURLTest.java714 URL url1 = new URL("file:///anyfile"); in test_sameFileLjava_net_URL() local
716 assertTrue(url1.sameFile(url2)); in test_sameFileLjava_net_URL()
718 url1 = new URL("http:///anyfile"); in test_sameFileLjava_net_URL()
720 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()
722 url1 = new URL("ftp:///anyfile"); in test_sameFileLjava_net_URL()
724 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()
726 url1 = new URL("jar:file:///anyfile.jar!/"); in test_sameFileLjava_net_URL()
728 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()
/aosp_15_r20/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DURLClassLoaderTest.java258 URL url1 = (URL) en.nextElement(); in test_findClassLjava_lang_String() local
261 && url1.equals(new URL("jar:file:/" in test_findClassLjava_lang_String()
426 URL url1 = new URL("file:///"); in test_getResourceLjava_lang_String() local
427 URLClassLoader loader = new URLClassLoader(new URL[] { url1 }, null); in test_getResourceLjava_lang_String()

12345