/cts/libs/testserver/src/android/webkit/cts/ |
D | SslMode.java | 25 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
|
D | CtsTestServer.java | 148 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/ |
D | WebViewSslTest.java | 532 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 …]
|
D | WebViewClientTest.java | 182 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 …]
|
D | WebSettingsTest.java | 239 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 …]
|
D | CookieManagerTest.java | 137 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()
|
D | WebViewTest.java | 322 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 …]
|
D | WebBackForwardListTest.java | 98 SharedSdkWebServer server = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testGetCurrentItem()
|
D | WebHistoryItemTest.java | 81 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in setUp()
|
D | HttpAuthHandlerTest.java | 67 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in setUp()
|
D | WebViewZoomTest.java | 137 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.TRUST_ANY_CLIENT); in setUpPage()
|
D | WebChromeClientTest.java | 82 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in setUp()
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewDeviceSideStartupTest.java | 27 import android.webkit.cts.SslMode; 69 CtsTestServer server = new CtsTestServer(mActivity, SslMode.INSECURE); in testCookieManagerBlockingUiThread()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 29 import android.webkit.cts.SslMode; 218 webServer = new CtsTestServer(getApplication(), SslMode.TRUST_ANY_CLIENT); in testNetworkAccess()
|
/cts/libs/webkit-shared/src/android/webkit/cts/ |
D | SharedWebViewTestEnvironment.java | 131 public SharedSdkWebServer getSetupWebServer(@SslMode int sslMode) { 137 @SslMode int sslMode, @Nullable byte[] acceptedIssuerDer, int keyResId, int certResId) { 254 @SslMode int sslMode,
|
D | SharedSdkWebServer.java | 41 @SslMode int sslMode, @Nullable byte[] acceptedIssuerDer, int keyResId, int certResId) { in start()
|