Home
last modified time | relevance | path

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

/cts/libs/testserver/src/android/webkit/cts/
DSslMode.java25 SslMode.INSECURE,
26 SslMode.NO_CLIENT_AUTH,
27 SslMode.WANTS_CLIENT_AUTH,
28 SslMode.NEEDS_CLIENT_AUTH,
29 SslMode.TRUST_ANY_CLIENT
31 public @interface SslMode { annotation
DCtsTestServer.java148 private @SslMode int mSsl;
165 this(context, SslMode.INSECURE); in CtsTestServer()
186 this(context, ssl ? SslMode.NO_CLIENT_AUTH : SslMode.INSECURE); in CtsTestServer()
195 public CtsTestServer(Context context, @SslMode int sslMode) throws Exception { in CtsTestServer()
206 public CtsTestServer(Context context, @SslMode int sslMode, X509TrustManager trustManager) in CtsTestServer()
219 public CtsTestServer(Context context, @SslMode int sslMode, int keyResId, int certResId) in CtsTestServer()
233 public CtsTestServer(Context context, @SslMode int sslMode, X509TrustManager trustManager, in CtsTestServer()
249 if (mSsl == SslMode.INSECURE) { in CtsTestServer()
1045 private @SslMode int mSsl;
1132 ServerThread(CtsTestServer server, @SslMode int sslMode, InputStream key, in ServerThread()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java532 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testInsecureSiteClearsCertificate()
542 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testInsecureSiteClearsCertificate()
562 mWebServer = testEnvironment.getSetupWebServer(SslMode.INSECURE); in testSecureSiteSetsCertificate()
569 mWebServer = testEnvironment.getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testSecureSiteSetsCertificate()
583 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testClearSslPreferences()
632 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testOnReceivedSslError()
655 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testOnReceivedSslErrorProceed()
674 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testOnReceivedSslErrorCancel()
687 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testSslErrorProceedResponseReusedForSameHost()
710 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testSslErrorProceedResponseNotReusedForDifferentHost()
[all …]
DWebViewClientTest.java182 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testShouldOverrideUrlLoadingOnCreateWindow()
270 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testLoadPage()
313 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnReceivedLoginRequest()
352 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnReceivedErrorForSubresource()
367 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnReceivedHttpError()
380 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnFormResubmission()
406 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testDoUpdateVisitedHistory()
425 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnReceivedHttpAuthRequest()
465 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnScaleChanged()
528 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testShouldInterceptRequestParams()
[all …]
DWebSettingsTest.java239 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAccessUserAgentString()
321 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAccessCacheMode_cacheElseNetwork()
344 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAccessCacheMode_noCache()
367 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAccessCacheMode_cacheOnly()
494 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAccessJavaScriptCanOpenWindowsAutomatically()
710 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAppCacheDisabled()
734 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAppCacheEnabled()
768 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testDatabaseDisabled()
808 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testLoadsImagesAutomatically_httpImagesLoaded()
818 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testLoadsImagesAutomatically_dataUriImagesLoaded()
[all …]
DCookieManagerTest.java137 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAcceptCookie()
352 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testThirdPartyCookie()
392 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testSameSiteLaxByDefault()
408 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testSameSiteNoneRequiresSecure()
422 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testSchemefulSameSite()
430 .getSetupWebServer(SslMode.NO_CLIENT_AUTH, null, in testSchemefulSameSite()
DWebViewTest.java322 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testLoadUrl()
356 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testPostUrlWithNetworkUrl()
388 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAppInjectedXRequestedWithHeaderIsNotOverwritten()
412 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAppCanInjectHeadersViaImmutableMap()
441 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testCanInjectHeaders()
460 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testGetVisibleTitleHeight()
472 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testGetOriginalUrl()
500 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testStopLoading()
534 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testGoBackAndForward()
621 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAddJavascriptInterface()
[all …]
DWebBackForwardListTest.java98 SharedSdkWebServer server = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testGetCurrentItem()
DWebHistoryItemTest.java81 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in setUp()
DHttpAuthHandlerTest.java67 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in setUp()
DWebViewZoomTest.java137 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.TRUST_ANY_CLIENT); in setUpPage()
DWebChromeClientTest.java82 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in setUp()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java27 import android.webkit.cts.SslMode;
69 CtsTestServer server = new CtsTestServer(mActivity, SslMode.INSECURE); in testCookieManagerBlockingUiThread()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java29 import android.webkit.cts.SslMode;
218 webServer = new CtsTestServer(getApplication(), SslMode.TRUST_ANY_CLIENT); in testNetworkAccess()
/cts/libs/webkit-shared/src/android/webkit/cts/
DSharedWebViewTestEnvironment.java131 public SharedSdkWebServer getSetupWebServer(@SslMode int sslMode) {
137 @SslMode int sslMode, @Nullable byte[] acceptedIssuerDer, int keyResId, int certResId) {
254 @SslMode int sslMode,
DSharedSdkWebServer.java41 @SslMode int sslMode, @Nullable byte[] acceptedIssuerDer, int keyResId, int certResId) { in start()