/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/ |
D | TestUtils.java | 25 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/ |
D | NetstatsDeviceTest.java | 26 import java.net.URL; 56 final URL url = new URL("https://www.android.com/"); in makeNetworkRequest()
|
/cts/tests/tests/netsecpolicy/src/android/security/ |
D | NetworkSecurityPolicyTestBase.java | 21 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/ |
D | poc.cpp | 25 #define URL u"" macro 50 resolver.get(), URL, HOST), &free); in main()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | JarTestFinder.java | 22 import java.net.URL; 41 URL[] urls = {new URL(String.format("jar:file:%s!/", jarTestFile.getAbsolutePath()))}; in getClasses()
|
D | TestSuiteParser.java | 41 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/ |
D | JarTestFinder.java | 23 import java.net.URL; 44 URL[] urls = { in getClasses() 45 new URL(String.format("jar:file:%s!/", jarTestFile.getAbsolutePath())) in getClasses()
|
D | TestCaseReport.java | 45 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/ |
D | NetworkLoggingDelegateTest.java | 35 import java.net.URL; 139 final URL url = new URL("http://" + server); in connectToWebsite()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 37 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/ |
D | StreamingVideoActivity.java | 42 import java.net.URL; 240 URL url = new URL(rtspLookupUri[0]);
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 71 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/ |
D | BuildUtilBase.java | 26 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/ |
D | MyBroadcastReceiver.java | 50 import java.net.URL; 167 final URL url = new URL(address); in checkNetworkStatus()
|
/cts/libs/vogar-expect/src/vogar/ |
D | ExpectationStore.java | 29 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/ |
D | NetworkLoggingTest.java | 43 import java.net.URL; 328 final URL url = new URL("http://" + server); in connectToWebsite()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | TestWebServer.java | 36 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/ |
D | KeyChainTest.java | 44 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/ |
D | NetworkUsageStatsTest.java | 47 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/ |
D | ConnectivityBackgroundTestActivity.java | 53 import java.net.URL; 629 (HttpURLConnection) network.openConnection(new URL(url));
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 92 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/ |
D | WifiManagerTest.java | 53 import java.net.URL; 492 URL url = new URL("http://www.google.com/"); in testWifiWatchdog()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 58 import java.net.URL; 1087 URL url = new URL(uri); in verifyServer()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerDrmTestBase.java | 53 import java.net.URL;
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 97 import java.net.URL; 2828 new URL(WebView.getSafeBrowsingPrivacyPolicyUrl().toString()); in testGetSafeBrowsingPrivacyPolicyUrl()
|