Home
last modified time | relevance | path

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

/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java30 private CtsTestServer mHttpOnlyWebServer; field in NetworkSecurityPolicyTestBase
41 mHttpOnlyWebServer = new CtsTestServer(mContext, false); in setUp()
47 mHttpOnlyWebServer.shutdown(); in tearDown()
74 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertCleartextHttpURLConnectionSucceeds()
77 mHttpOnlyWebServer.resetRequestState(); in assertCleartextHttpURLConnectionSucceeds()
88 assertTrue(mHttpOnlyWebServer.wasResourceRequested(uri.toString())); in assertCleartextHttpURLConnectionSucceeds()
92 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertCleartextHttpURLConnectionBlocked()
95 mHttpOnlyWebServer.resetRequestState(); in assertCleartextHttpURLConnectionBlocked()
111 assertFalse(mHttpOnlyWebServer.wasResourceRequested(uri.toString())); in assertCleartextHttpURLConnectionBlocked()
123 URL url = new URL(mHttpOnlyWebServer.getUserAgentUrl()); in assertAndroidHttpClientCleartextRequestSucceeds()
[all …]