Home
last modified time | relevance | path

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

/cts/tests/tests/webkit/src/android/webkit/cts/
DHttpAuthHandlerTest.java36 private static final String CORRECT_USERNAME = CtsTestServer.AUTH_USER;
37 private static final String CORRECT_PASSWORD = CtsTestServer.AUTH_PASS;
39 private CtsTestServer mWebServer;
121 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in incorrectCredentialsAccessDenied()
122 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in incorrectCredentialsAccessDenied()
133 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in missingCredentialsAccessDenied()
134 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in missingCredentialsAccessDenied()
145 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in correctCredentialsAccessGranted()
153 mWebServer = new CtsTestServer(getActivity()); in testProceed()
165 mWebServer = new CtsTestServer(getActivity()); in testCancel()
[all …]
DWebViewSslTest.java436 private CtsTestServer mWebServer;
477 mWebServer = new CtsTestServer(getActivity(), secure); in startWebServer()
714 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.WANTS_CLIENT_AUTH); in testSecureServerRequestingClientCertDoesNotCancelRequest()
731 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testSecureServerRequiringClientCertDoesCancelRequest()
759 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testProceedClientCertRequest()
789 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testProceedClientCertRequestKeyWithAndroidKeystoreKey()
842 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testIgnoreClientCertRequest()
878 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testCancelClientCertRequest()
931 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH, in testClientCertIssuersReceivedCorrectly()
DCookieManagerTest.java46 private CtsTestServer mServer;
111 mServer = new CtsTestServer(getActivity(), false); in testAcceptCookie()
347 mServer = new CtsTestServer(getActivity()); in testThirdPartyCookie()
388 mServer = new CtsTestServer(getActivity()); in testSameSiteLaxByDefault()
406 mServer = new CtsTestServer(getActivity()); in testSameSiteNoneRequiresSecure()
422 mServer = new CtsTestServer(getActivity()); in testSchemefulSameSite()
429 CtsTestServer secureServer = new CtsTestServer(getActivity(), in testSchemefulSameSite()
430 CtsTestServer.SslMode.NO_CLIENT_AUTH, R.raw.trustedkey, R.raw.trustedcert); in testSchemefulSameSite()
DWebBackForwardListTest.java68 CtsTestServer server = new CtsTestServer(getActivity(), false); in testGetCurrentItem()
DWebViewClientTest.java58 private CtsTestServer mWebServer;
149 mWebServer = new CtsTestServer(getActivity()); in testShouldOverrideUrlLoadingOnCreateWindow()
225 mWebServer = new CtsTestServer(getActivity()); in testLoadPage()
319 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedErrorForSubresource()
335 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedHttpError()
352 mWebServer = new CtsTestServer(getActivity()); in testOnFormResubmission()
378 mWebServer = new CtsTestServer(getActivity()); in testDoUpdateVisitedHistory()
399 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedHttpAuthRequest()
445 mWebServer = new CtsTestServer(getActivity()); in testOnScaleChanged()
640 mWebServer = new CtsTestServer(getActivity()); in testOnSafeBrowsingHitBackToSafety()
[all …]
DWebHistoryItemTest.java34 private CtsTestServer mWebServer;
60 mWebServer = new CtsTestServer(getActivity()); in setUp()
DWebViewZoomTest.java51 private CtsTestServer mWebServer;
115 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.TRUST_ANY_CLIENT); in setUpPage()
DWebChromeClientTest.java52 private CtsTestServer mWebServer;
69 mWebServer = new CtsTestServer(getActivity()); in setUp()
DWebSettingsTest.java87 private CtsTestServer mWebServer;
1271 mWebServer = new CtsTestServer(getActivity(), false); in startWebServer()
/cts/tests/tests/apache-http/src/android/net/http/cts/
DApacheHttpClientTest.java27 import android.webkit.cts.CtsTestServer;
41 private CtsTestServer mWebServer;
46 mWebServer = new CtsTestServer(mContext); in setUp()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java28 import android.webkit.cts.CtsTestServer;
214 CtsTestServer webServer = null; in testNetworkAccess()
217 webServer = new CtsTestServer(getApplication(), in testNetworkAccess()
218 CtsTestServer.SslMode.TRUST_ANY_CLIENT); in testNetworkAccess()
/cts/tests/tests/media/src/android/media/cts/
DStreamingMediaPlayerTest.java30 import android.webkit.cts.CtsTestServer;
76 private CtsTestServer mServer;
282 mServer = new CtsTestServer(mContext); in localHttpAudioStreamTest()
294 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX; in localHttpAudioStreamTest()
341 mServer = new CtsTestServer(mContext, true); in localHttpsAudioStreamTest()
353 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX; in localHttpsAudioStreamTest()
415 mServer = new CtsTestServer(mContext); in testPlayHlsStreamWithTimedId3()
550 mServer = new CtsTestServer(mContext); in testBlockingReadRelease()
605 mServer = new CtsTestServer(mContext) { in localHlsTest()
612 mServer = new CtsTestServer(mContext); in localHlsTest()
DMediaPlayerFlakyNetworkTest.java25 import android.webkit.cts.CtsTestServer;
67 private CtsTestServer mServer;
237 mServer = new CtsTestServer(mContext) { in createHttpServer()
DNativeDecoderTest.java34 import android.webkit.cts.CtsTestServer;
145 CtsTestServer foo = new CtsTestServer(mContext); in SKIP_testExtractor()
324 CtsTestServer foo = new CtsTestServer(mContext); in SKIP_testExtractorCachedDurationNative()
969 final CtsTestServer slowServer = new SlowCtsTestServer(); in testAMediaDataSourceClose()
1010 private class SlowCtsTestServer extends CtsTestServer {
DMediaExtractorTest.java42 import android.webkit.cts.CtsTestServer;
646 CtsTestServer foo = new CtsTestServer(getContext()); in SKIP_testExtractorGetCachedDuration()
1140 CtsTestServer server = new CtsTestServer(getContext()); in testFragmentedHttpRead()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java33 import android.webkit.cts.CtsTestServer;
79 CtsTestServer server = new CtsTestServer(mActivity, true); in testCookieManagerBlockingUiThread()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java99 public class CtsTestServer { class
164 public CtsTestServer(Context context) throws Exception { in CtsTestServer() method in CtsTestServer
185 public CtsTestServer(Context context, boolean ssl) throws Exception { in CtsTestServer() method in CtsTestServer
195 public CtsTestServer(Context context, SslMode sslMode) throws Exception { in CtsTestServer() method in CtsTestServer
206 public CtsTestServer(Context context, SslMode sslMode, X509TrustManager trustManager) in CtsTestServer() method in CtsTestServer
219 public CtsTestServer(Context context, SslMode sslMode, int keyResId, int certResId) in CtsTestServer() method in CtsTestServer
233 public CtsTestServer(Context context, SslMode sslMode, X509TrustManager trustManager, in CtsTestServer() method in CtsTestServer
919 private CtsTestServer mServer;
1008 ServerThread(CtsTestServer server, SslMode sslMode, InputStream key, 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/
DDownloadManagerTestBase.java50 import android.webkit.cts.CtsTestServer;
106 private CtsTestServer mWebServer;
114 mWebServer = new CtsTestServer(mContext); in setUp()
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java30 import android.webkit.cts.CtsTestServer;
488 private CtsTestServer mWebServer;
503 mWebServer = new CtsTestServer(context); in setUp()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java48 import android.webkit.cts.CtsTestServer;
1864 CtsTestServer server = null; in doStagefrightTest()
1866 server = new CtsTestServer(context); in doStagefrightTest()