Home
last modified time | relevance | path

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

/cts/tests/tests/webkit/src/android/webkit/cts/
DHttpAuthHandlerTest.java34 private static final String CORRECT_USERNAME = CtsTestServer.AUTH_USER;
35 private static final String CORRECT_PASSWORD = CtsTestServer.AUTH_PASS;
37 private CtsTestServer mWebServer;
119 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in incorrectCredentialsAccessDenied()
120 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in incorrectCredentialsAccessDenied()
131 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in missingCredentialsAccessDenied()
132 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in missingCredentialsAccessDenied()
143 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in correctCredentialsAccessGranted()
151 mWebServer = new CtsTestServer(getActivity()); in testProceed()
163 mWebServer = new CtsTestServer(getActivity()); in testCancel()
[all …]
DWebViewSslTest.java429 private CtsTestServer mWebServer;
470 mWebServer = new CtsTestServer(getActivity(), secure); in startWebServer()
710 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.WANTS_CLIENT_AUTH); in testSecureServerRequestingClientCertDoesNotCancelRequest()
726 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testSecureServerRequiringClientCertDoesCancelRequest()
745 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testProceedClientCertRequest()
772 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testProceedClientCertRequestKeyWithAndroidKeystoreKey()
802 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testIgnoreClientCertRequest()
833 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testCancelClientCertRequest()
882 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH, in testClientCertIssuersReceivedCorrectly()
DWebViewStartupTest.java52 CtsTestServer server = new CtsTestServer(mActivity, false); in testCookieManagerBlockingUiThread()
DWebViewClientTest.java48 private CtsTestServer mWebServer;
113 mWebServer = new CtsTestServer(getActivity()); in testShouldOverrideUrlLoadingOnCreateWindow()
183 mWebServer = new CtsTestServer(getActivity()); in testLoadPage()
233 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedErrorForSubresource()
249 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedHttpError()
266 mWebServer = new CtsTestServer(getActivity()); in testOnFormResubmission()
292 mWebServer = new CtsTestServer(getActivity()); in testDoUpdateVisitedHistory()
313 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedHttpAuthRequest()
359 mWebServer = new CtsTestServer(getActivity()); in testOnScaleChanged()
DWebBackForwardListTest.java66 CtsTestServer server = new CtsTestServer(getActivity(), false); in testGetCurrentItem()
DWebHistoryItemTest.java31 private CtsTestServer mWebServer;
57 mWebServer = new CtsTestServer(getActivity()); in setUp()
DCookieManagerTest.java100 CtsTestServer server = new CtsTestServer(getActivity(), false); in testAcceptCookie()
326 CtsTestServer server = null; in testThirdPartyCookie()
338 server = new CtsTestServer(getActivity()); in testThirdPartyCookie()
DWebChromeClientTest.java35 private CtsTestServer mWebServer;
52 mWebServer = new CtsTestServer(getActivity()); in setUp()
DWebSettingsTest.java62 private CtsTestServer mWebServer;
1024 mWebServer = new CtsTestServer(getActivity(), false);
DWebViewTest.java132 private CtsTestServer mWebServer;
179 mWebServer = new CtsTestServer(getActivity(), secure); in startWebServer()
276 mWebServer = new CtsTestServer(getActivity()); in testZoom()
/cts/tests/tests/media/src/android/media/cts/
DStreamingMediaPlayerTest.java27 import android.webkit.cts.CtsTestServer;
38 private CtsTestServer mServer;
189 mServer = new CtsTestServer(mContext); in localHttpAudioStreamTest()
200 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX; in localHttpAudioStreamTest()
247 mServer = new CtsTestServer(mContext, true); in localHttpsAudioStreamTest()
258 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX; in localHttpsAudioStreamTest()
315 mServer = new CtsTestServer(mContext); in testPlayHlsStreamWithTimedId3()
449 mServer = new CtsTestServer(mContext); in testBlockingReadRelease()
491 mServer = new CtsTestServer(mContext); in localHlsTest()
DMediaPlayerFlakyNetworkTest.java24 import android.webkit.cts.CtsTestServer;
63 private CtsTestServer mServer;
239 mServer = new CtsTestServer(mContext) { in createHttpServer()
DNativeDecoderTest.java36 import android.webkit.cts.CtsTestServer;
99 CtsTestServer foo = new CtsTestServer(mContext); in testExtractor()
/cts/tests/tests/net/src/android/net/http/cts/
DApacheHttpClientTest.java26 import android.webkit.cts.CtsTestServer;
39 private CtsTestServer mWebServer;
44 mWebServer = new CtsTestServer(mContext); in setUp()
/cts/tests/tests/security/src/android/security/cts/
DBrowserTest.java26 import android.webkit.cts.CtsTestServer;
40 private CtsTestServer mWebServer;
45 mWebServer = new CtsTestServer(mContext); in setUp()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java28 import android.webkit.cts.CtsTestServer;
212 CtsTestServer webServer = null; in testNetworkAccess()
215 webServer = new CtsTestServer(getApplication()); in testNetworkAccess()
/cts/suite/cts/deviceTests/browserbench/src/com/android/cts/browser/
DBrowserBenchTest.java25 import android.webkit.cts.CtsTestServer;
59 private CtsTestServer mWebServer;
80 mWebServer = new CtsTestServer(getContext()) { in setUp()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java14 import android.webkit.cts.CtsTestServer;
30 private CtsTestServer mHttpOnlyWebServer;
41 mHttpOnlyWebServer = new CtsTestServer(mContext, false); in setUp()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java95 public class CtsTestServer { class
160 public CtsTestServer(Context context) throws Exception { in CtsTestServer() method in CtsTestServer
181 public CtsTestServer(Context context, boolean ssl) throws Exception { in CtsTestServer() method in CtsTestServer
191 public CtsTestServer(Context context, SslMode sslMode) throws Exception { in CtsTestServer() method in CtsTestServer
202 public CtsTestServer(Context context, SslMode sslMode, X509TrustManager trustManager) in CtsTestServer() method in CtsTestServer
924 private CtsTestServer mServer;
983 public ServerThread(CtsTestServer server, SslMode sslMode) throws Exception { in ServerThread()
/cts/tests/tests/app/src/android/app/cts/
DDownloadManagerTest.java33 import android.webkit.cts.CtsTestServer;
52 private CtsTestServer mWebServer;
58 mWebServer = new CtsTestServer(mContext); in setUp()