Home
last modified time | relevance | path

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

/cts/tests/tests/webkit/src/android/webkit/cts/
DHttpAuthHandlerTest.java50 private static final String CORRECT_USERNAME = CtsTestServer.AUTH_USER;
51 private static final String CORRECT_PASSWORD = CtsTestServer.AUTH_PASS;
155 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in incorrectCredentialsAccessDenied()
156 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in incorrectCredentialsAccessDenied()
167 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in missingCredentialsAccessDenied()
168 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in missingCredentialsAccessDenied()
179 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in correctCredentialsAccessGranted()
200 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in testCancel()
201 … assertEquals(CtsTestServer.getReasonString(HttpStatus.SC_UNAUTHORIZED), mOnUiThread.getTitle()); in testCancel()
214 assertEquals(CtsTestServer.AUTH_REALM, client.realm); in testUseHttpAuthUsernamePassword()
[all …]
/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/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java26 import android.webkit.cts.CtsTestServer;
69 CtsTestServer server = new CtsTestServer(mActivity, SslMode.INSECURE); in testCookieManagerBlockingUiThread()
/cts/tests/tests/media/player/src/android/media/player/cts/
DStreamingMediaPlayerTest.java33 import android.webkit.cts.CtsTestServer;
66 private CtsTestServer mServer;
72 mServer = new CtsTestServer(mContext); in setUp()
274 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX; in localHttpAudioStreamTest()
319 CtsTestServer server = new CtsTestServer(mContext, /* ssl */ true); in localHttpsAudioStreamTest()
330 stream_url = stream_url + "?" + CtsTestServer.NOLENGTH_POSTFIX; in localHttpsAudioStreamTest()
DMediaPlayerFlakyNetworkTest.java26 import android.webkit.cts.CtsTestServer;
76 private CtsTestServer mServer;
260 mServer = new CtsTestServer(mContext) { in createHttpServer()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java28 import android.webkit.cts.CtsTestServer;
215 CtsTestServer webServer = null; in testNetworkAccess()
218 webServer = new CtsTestServer(getApplication(), SslMode.TRUST_ANY_CLIENT); in testNetworkAccess()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DNativeDecoderTest.java31 import android.webkit.cts.CtsTestServer;
157 final CtsTestServer slowServer = new SlowCtsTestServer(); in testAMediaDataSourceClose()
198 private class SlowCtsTestServer extends CtsTestServer {
/cts/libs/webkit-shared/src/android/webkit/cts/
DSharedWebViewTestEnvironment.java251 private CtsTestServer mWebServer;
272 new CtsTestServer.CtsTrustManager() {
278 mWebServer = new CtsTestServer(
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java100 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 int sslMode) throws Exception { in CtsTestServer() method in CtsTestServer
206 public CtsTestServer(Context context, @SslMode int sslMode, X509TrustManager trustManager) in CtsTestServer() method in CtsTestServer
219 public CtsTestServer(Context context, @SslMode int sslMode, int keyResId, int certResId) in CtsTestServer() method in CtsTestServer
233 public CtsTestServer(Context context, @SslMode int sslMode, X509TrustManager trustManager, in CtsTestServer() method in CtsTestServer
1043 private CtsTestServer mServer;
1132 ServerThread(CtsTestServer server, @SslMode int 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;
107 private CtsTestServer mWebServer;
115 mWebServer = new CtsTestServer(mContext); in setUp()
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/
DMediaExtractorTest.java47 import android.webkit.cts.CtsTestServer;
957 CtsTestServer server = new CtsTestServer(getContext()); in testFragmentedHttpRead()
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java39 import android.webkit.cts.CtsTestServer;
503 private CtsTestServer mWebServer;
518 mWebServer = new CtsTestServer(context); in setUp()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java55 import android.webkit.cts.CtsTestServer;
1920 CtsTestServer server = null; in doStagefrightTest()
1922 server = new CtsTestServer(context); in doStagefrightTest()