Home
last modified time | relevance | path

Searched refs:URL (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java25 import java.net.URL;
109 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertUrlConnectionFails()
120 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertUrlConnectionSucceeds()
127 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertHttpClientSucceeds()
138 URL url = new URL((https ? "https://" : "http://") + host + ":" + port); in assertHttpClientFails()
/cts/hostsidetests/incident/apps/netstatsapp/src/com/android/server/cts/netstats/
DNetstatsDeviceTest.java26 import java.net.URL;
56 final URL url = new URL("https://www.android.com/"); in makeNetworkRequest()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java21 import java.net.URL;
74 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertCleartextHttpURLConnectionSucceeds()
92 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertCleartextHttpURLConnectionBlocked()
123 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertAndroidHttpClientCleartextRequestSucceeds()
136 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertAndroidHttpClientCleartextRequestBlocked()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9490/
Dpoc.cpp25 #define URL u"" macro
50 resolver.get(), URL, HOST), &free); in main()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DJarTestFinder.java22 import java.net.URL;
41 URL[] urls = {new URL(String.format("jar:file:%s!/", jarTestFile.getAbsolutePath()))}; in getClasses()
DTestSuiteParser.java41 import java.net.URL;
418 URL[] urls = { in getJarTestClasses()
419 new URL(String.format("jar:file:%s!/", jarTestFile.getAbsolutePath())), in getJarTestClasses()
420 new URL(String.format("jar:file:%s!/", tfFile.getAbsolutePath())) in getJarTestClasses()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DJarTestFinder.java23 import java.net.URL;
44 URL[] urls = { in getClasses()
45 new URL(String.format("jar:file:%s!/", jarTestFile.getAbsolutePath())) in getClasses()
DTestCaseReport.java45 import java.net.URL;
298 URL[] urls = { in getJarTestClasses()
299 new URL(String.format("jar:file:%s!/", jarTestFile.getAbsolutePath())), in getJarTestClasses()
300 new URL(String.format("jar:file:%s!/", tfPath)) in getJarTestClasses()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DNetworkLoggingDelegateTest.java35 import java.net.URL;
139 final URL url = new URL("http://" + server); in connectToWebsite()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java37 import java.net.URL;
224 URL url; in testNetworkAccess()
226 url = new URL(webServer.getAssetUrl("hello.html")); in testNetworkAccess()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java42 import java.net.URL;
240 URL url = new URL(rtspLookupUri[0]);
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java71 import java.net.URL;
197 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testCleartextNetwork()
216 ((HttpURLConnection) new URL("https://example.com/").openConnection()) in testEncryptedNetwork()
312 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testUntaggedSocketsHttp()
321 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testUntaggedSocketsHttp()
450 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testNetwork()
603 ((HttpURLConnection) new URL("http://example.com/").openConnection()) in testNoCleartextHttpTrafficAllowed()
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildUtilBase.java26 import java.net.URL;
67 private static String readURL(URL in) { in readURL()
83 URL resource = getClass().getClassLoader().getResource(searchPath); in parseTestMethod()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java50 import java.net.URL;
167 final URL url = new URL(address); in checkNetworkStatus()
/cts/libs/vogar-expect/src/vogar/
DExpectationStore.java29 import java.net.URL;
145 URL url = owningClass.getResource(expectationsPath); in parseResources()
156 private void parse(URL url, ModeId mode) throws IOException { in parse()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java43 import java.net.URL;
328 final URL url = new URL("http://" + server); in connectToWebsite()
/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java36 import java.net.URL;
138 URL url = new URL(mServerUri + SHUTDOWN_PREFIX); in shutdown()
322 private URLConnection openConnection(URL url) in openConnection()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java44 import java.net.URL;
330 URL url = startWebServer(); in doInBackground()
353 private URL startWebServer() throws Exception { in startWebServer()
391 private void makeHttpsRequest(URL url) throws Exception { in makeHttpsRequest()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java47 import java.net.URL;
169 private void exerciseRemoteHost(Network network, URL url) throws Exception { in exerciseRemoteHost()
271 private URL mUrl;
276 NetworkCallback(long tolerance, URL url) { in NetworkCallback()
311 NetworkCallback callback = new NetworkCallback(tolerance, new URL(CHECK_CONNECTIVITY_URL)); in shouldTestThisNetworkType()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityBackgroundTestActivity.java53 import java.net.URL;
629 (HttpURLConnection) network.openConnection(new URL(url));
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java92 import java.net.URL;
313 URL url = new URL("http://google-ipv6test.appspot.com/ip.js?fmt=text"); in testOpenConnection()
333 private static String httpGet(Network network, URL httpUrl) throws IOException { in httpGet()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiManagerTest.java53 import java.net.URL;
492 URL url = new URL("http://www.google.com/"); in testWifiWatchdog()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java58 import java.net.URL;
1087 URL url = new URL(uri); in verifyServer()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerDrmTestBase.java53 import java.net.URL;
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java97 import java.net.URL;
2828 new URL(WebView.getSafeBrowsingPrivacyPolicyUrl().toString()); in testGetSafeBrowsingPrivacyPolicyUrl()

12