Home
last modified time | relevance | path

Searched refs:CtsTestServer (Results 1 – 19 of 19) 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()
DWebBackForwardListTest.java66 CtsTestServer server = new CtsTestServer(getActivity(), false); in testGetCurrentItem()
DWebViewClientTest.java51 private CtsTestServer mWebServer;
120 mWebServer = new CtsTestServer(getActivity()); in testShouldOverrideUrlLoadingOnCreateWindow()
190 mWebServer = new CtsTestServer(getActivity()); in testLoadPage()
274 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedErrorForSubresource()
290 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedHttpError()
307 mWebServer = new CtsTestServer(getActivity()); in testOnFormResubmission()
333 mWebServer = new CtsTestServer(getActivity()); in testDoUpdateVisitedHistory()
354 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedHttpAuthRequest()
400 mWebServer = new CtsTestServer(getActivity()); in testOnScaleChanged()
DWebViewStartupTest.java53 CtsTestServer server = new CtsTestServer(mActivity, false); in testCookieManagerBlockingUiThread()
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()
316 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;
192 mServer = new CtsTestServer(mContext); in localHttpAudioStreamTest()
203 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX; in localHttpAudioStreamTest()
250 mServer = new CtsTestServer(mContext, true); in localHttpsAudioStreamTest()
261 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX; in localHttpsAudioStreamTest()
323 mServer = new CtsTestServer(mContext); in testPlayHlsStreamWithTimedId3()
457 mServer = new CtsTestServer(mContext); in testBlockingReadRelease()
499 mServer = new CtsTestServer(mContext); in localHlsTest()
DMediaPlayerFlakyNetworkTest.java24 import android.webkit.cts.CtsTestServer;
61 private CtsTestServer mServer;
230 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.java25 import android.webkit.cts.CtsTestServer;
39 private CtsTestServer mWebServer;
44 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/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java92 public class CtsTestServer { class
156 public CtsTestServer(Context context) throws Exception { in CtsTestServer() method in CtsTestServer
177 public CtsTestServer(Context context, boolean ssl) throws Exception { in CtsTestServer() method in CtsTestServer
187 public CtsTestServer(Context context, SslMode sslMode) throws Exception { in CtsTestServer() method in CtsTestServer
198 public CtsTestServer(Context context, SslMode sslMode, X509TrustManager trustManager) in CtsTestServer() method in CtsTestServer
854 private CtsTestServer mServer;
916 public ServerThread(CtsTestServer server, SslMode sslMode) throws Exception { in ServerThread()
/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/tests/app/src/android/app/cts/
DDownloadManagerTest.java35 import android.webkit.cts.CtsTestServer;
55 private CtsTestServer mWebServer;
61 mWebServer = new CtsTestServer(mContext); in setUp()