Home
last modified time | relevance | path

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

/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/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/tests/tests/os/src/android/os/cts/
DStrictModeTest.java29 import java.net.URL;
67 ((HttpURLConnection) new URL("http://example.com/").openConnection()).getResponseCode(); in testCleartextNetwork()
90 ((HttpURLConnection) new URL("https://example.com/").openConnection()).getResponseCode(); in testEncryptedNetwork()
/cts/common/util/src/com/android/compatibility/common/util/
DMultipartForm.java26 import java.net.URL;
95 URL url = new URL(serverUrl); in submitForm()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DMultipartForm.java26 import java.net.URL;
74 URL url = new URL(serverUrl); in submitForm()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DJarHostTestTest.java26 import java.net.URL;
49 Class<?> loadClass(String className, URL[] urls) throws ClassNotFoundException { in setUp()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DJarHostTest.java35 import java.net.URL;
100 URL[] urls = { in getClasses()
101 new URL(String.format("jar:file:%s!/", file.getAbsolutePath())) in getClasses()
DCompatibilityTest.java91 private static final String URL = "dynamic-config-url"; field in CompatibilityTest
152 @Option(name = URL,
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java37 import java.net.URL;
220 URL url; in testNetworkAccess()
222 url = new URL(webServer.getAssetUrl("hello.html")); in testNetworkAccess()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DDynamicConfigPusher.java40 import java.net.URL;
106 java.net.URL request = new URL(requestUrl); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java42 import java.net.URL;
240 URL url = new URL(rtspLookupUri[0]);
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java47 import java.net.URL;
187 final URL url = new URL(address); in checkNetworkStatus()
/cts/tests/tests/mediastress/preconditions/src/android/mediastress/cts/preconditions/
DMediaPreparer.java39 import java.net.URL;
221 URL url; in downloadMediaToHost()
225 url = new URL(mediaUrlString); in downloadMediaToHost()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DJarHostTest.java45 import java.net.URL;
304 URL urls[] = {jarFile.getCanonicalFile().toURI().toURL()}; in loadClass()
330 Class<?> loadClass(String className, URL[] urls) throws ClassNotFoundException { in loadClass()
/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/tests/tests/os/jni/seccomp-tests/
DREADME.android3 URL: https://github.com/redpig/seccomp
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java44 import java.net.URL;
289 URL url = startWebServer(); in doInBackground()
312 private URL startWebServer() throws Exception { in startWebServer()
339 private void makeHttpsRequest(URL url) throws Exception { in makeHttpsRequest()
/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()
DCtsTestServer.java60 import java.net.URL;
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiManagerTest.java39 import java.net.URL;
503 URL url = new URL("http://www.google.com/"); in testWifiWatchdog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityScreenOffTestActivity.java54 import java.net.URL;
622 (HttpURLConnection) network.openConnection(new URL(url));
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java40 import java.net.URL;
134 urlc = (HttpURLConnection) network.openConnection(new URL( in exerciseRemoteHost()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex2503 java.net.URL)
2660 public java.net.URL getURL(
2663 public java.net.URL getURL(
2910 java.net.URL)
3152 public abstract java.net.URL getURL(
3155 public abstract java.net.URL getURL(
3652 public java.net.URL getURL(
3655 public java.net.URL getURL(
4898 @dalvik.annotation.Signature (value =(Ljava/net/URL;Ljava/lang/ClassLoader;Ljava/util/TreeMap<Ljava…
4900 java.net.URL
[all …]
Dclasses.out.dex61982 public static final java.lang.String URL
62001 public static final java.lang.String URL
62480 public static final java.lang.String URL
98932 private static final java.lang.String URL
129846 public static final com.android.internal.telephony.gsm.stk.ComprehensionTlvTag URL
143226 final java.net.URL val$url
143230 java.net.URL)
143310 java.net.URL)