Home
last modified time | relevance | path

Searched refs:CtsTestServer (Results 1 – 24 of 24) 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.java431 private CtsTestServer mWebServer;
472 mWebServer = new CtsTestServer(getActivity(), secure); in startWebServer()
709 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.WANTS_CLIENT_AUTH); in testSecureServerRequestingClientCertDoesNotCancelRequest()
726 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testSecureServerRequiringClientCertDoesCancelRequest()
756 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testProceedClientCertRequest()
783 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testProceedClientCertRequestKeyWithAndroidKeystoreKey()
813 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testIgnoreClientCertRequest()
844 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH); in testCancelClientCertRequest()
893 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.NEEDS_CLIENT_AUTH, in testClientCertIssuersReceivedCorrectly()
DWebViewClientTest.java58 private CtsTestServer mWebServer;
149 mWebServer = new CtsTestServer(getActivity()); in testShouldOverrideUrlLoadingOnCreateWindow()
223 mWebServer = new CtsTestServer(getActivity()); in testLoadPage()
317 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedErrorForSubresource()
333 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedHttpError()
350 mWebServer = new CtsTestServer(getActivity()); in testOnFormResubmission()
376 mWebServer = new CtsTestServer(getActivity()); in testDoUpdateVisitedHistory()
397 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedHttpAuthRequest()
443 mWebServer = new CtsTestServer(getActivity()); in testOnScaleChanged()
641 mWebServer = new CtsTestServer(getActivity()); in testOnSafeBrowsingHitBackToSafety()
[all …]
DWebBackForwardListTest.java68 CtsTestServer server = new CtsTestServer(getActivity(), false); in testGetCurrentItem()
DWebHistoryItemTest.java34 private CtsTestServer mWebServer;
60 mWebServer = new CtsTestServer(getActivity()); in setUp()
DCookieManagerTest.java103 CtsTestServer server = new CtsTestServer(getActivity(), false); in testAcceptCookie()
328 CtsTestServer server = null; in testThirdPartyCookie()
340 server = new CtsTestServer(getActivity()); in testThirdPartyCookie()
DWebViewZoomTest.java50 private CtsTestServer mWebServer;
114 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.TRUST_ANY_CLIENT); in setUpPage()
DWebChromeClientTest.java52 private CtsTestServer mWebServer;
69 mWebServer = new CtsTestServer(getActivity()); in setUp()
DWebSettingsTest.java86 private CtsTestServer mWebServer;
1258 mWebServer = new CtsTestServer(getActivity(), false); in startWebServer()
DWebViewTest.java158 private CtsTestServer mWebServer;
205 mWebServer = new CtsTestServer(getActivity(), secure); in startWebServer()
/cts/tests/tests/net/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/media/src/android/media/cts/
DStreamingMediaPlayerTest.java30 import android.webkit.cts.CtsTestServer;
74 private CtsTestServer mServer;
280 mServer = new CtsTestServer(mContext); in localHttpAudioStreamTest()
291 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX; in localHttpAudioStreamTest()
338 mServer = new CtsTestServer(mContext, true); in localHttpsAudioStreamTest()
349 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX; in localHttpsAudioStreamTest()
411 mServer = new CtsTestServer(mContext); in testPlayHlsStreamWithTimedId3()
545 mServer = new CtsTestServer(mContext); in testBlockingReadRelease()
599 mServer = new CtsTestServer(mContext) { in localHlsTest()
606 mServer = new CtsTestServer(mContext); in localHlsTest()
DMediaPlayerFlakyNetworkTest.java25 import android.webkit.cts.CtsTestServer;
65 private CtsTestServer mServer;
234 mServer = new CtsTestServer(mContext) { in createHttpServer()
D.goutputstream-9KZYJZ33 import android.webkit.cts.CtsTestServer;
68 private CtsTestServer mServer;
340 mServer = new CtsTestServer(mContext);
351 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX;
407 mServer = new CtsTestServer(mContext, true);
418 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX;
464 mServer = new CtsTestServer(mContext);
590 mServer = new CtsTestServer(mContext);
748 mServer = new CtsTestServer(mContext);
797 mServer = new CtsTestServer(mContext);
DNativeDecoderTest.java34 import android.webkit.cts.CtsTestServer;
139 CtsTestServer foo = new CtsTestServer(mContext); in testExtractor()
307 CtsTestServer foo = new CtsTestServer(mContext); in testExtractorCachedDurationNative()
804 final CtsTestServer slowServer = new SlowCtsTestServer(); in testAMediaDataSourceClose()
845 private class SlowCtsTestServer extends CtsTestServer {
DMediaExtractorTest.java34 import android.webkit.cts.CtsTestServer;
278 CtsTestServer foo = new CtsTestServer(getContext()); in testExtractorGetCachedDuration()
DNativeEncoderTest.java29 import android.webkit.cts.CtsTestServer;
/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/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java33 import android.webkit.cts.CtsTestServer;
75 CtsTestServer server = new CtsTestServer(mActivity, true); in testCookieManagerBlockingUiThread()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java92 public class CtsTestServer { class
157 public CtsTestServer(Context context) throws Exception { in CtsTestServer() method in CtsTestServer
178 public CtsTestServer(Context context, boolean ssl) throws Exception { in CtsTestServer() method in CtsTestServer
188 public CtsTestServer(Context context, SslMode sslMode) throws Exception { in CtsTestServer() method in CtsTestServer
199 public CtsTestServer(Context context, SslMode sslMode, X509TrustManager trustManager) in CtsTestServer() method in CtsTestServer
857 private CtsTestServer mServer;
919 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/
DDownloadManagerTestBase.java37 import android.webkit.cts.CtsTestServer;
76 private CtsTestServer mWebServer;
82 mWebServer = new CtsTestServer(mContext); in setUp()
/cts/tests/tests/net/
DAndroid.bp35 // include CtsTestServer as a temporary hack to free net.cts from cts.stub.
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java48 import android.webkit.cts.CtsTestServer;
1064 CtsTestServer server = null; in doStagefrightTest()
1066 server = new CtsTestServer(context); in doStagefrightTest()