Home
last modified time | relevance | path

Searched refs:mServer (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieManagerTest.java46 private CtsTestServer mServer; field in CookieManagerTest
74 if (mServer != null) { in tearDown()
75 mServer.shutdown(); in tearDown()
111 mServer = new CtsTestServer(getActivity(), false); in testAcceptCookie()
112 String url = mServer.getCookieUrl("conquest.html"); in testAcceptCookie()
121 url = mServer.getCookieUrl("war.html"); in testAcceptCookie()
133 url = mServer.getCookieUrl("famine.html"); in testAcceptCookie()
143 url = mServer.getCookieUrl("death.html"); in testAcceptCookie()
347 mServer = new CtsTestServer(getActivity()); in testThirdPartyCookie()
363mServer.getSetCookieUrl("/cookie_1.js", "test1", "value1", "SameSite=None; Secure")); in testThirdPartyCookie()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DStreamingMediaPlayerTest.java76 private CtsTestServer mServer; field in StreamingMediaPlayerTest
282 mServer = new CtsTestServer(mContext); in localHttpAudioStreamTest()
289 stream_url = mServer.getRedirectingAssetUrl(mInpPrefix + name, 4); in localHttpAudioStreamTest()
291 stream_url = mServer.getAssetUrl(mInpPrefix + name); in localHttpAudioStreamTest()
336 mServer.shutdown(); in localHttpAudioStreamTest()
341 mServer = new CtsTestServer(mContext, true); in localHttpsAudioStreamTest()
348 stream_url = mServer.getRedirectingAssetUrl(mInpPrefix + name, 4); in localHttpsAudioStreamTest()
350 stream_url = mServer.getAssetUrl(mInpPrefix + name); in localHttpsAudioStreamTest()
384 mServer.shutdown(); in localHttpsAudioStreamTest()
415 mServer = new CtsTestServer(mContext); in testPlayHlsStreamWithTimedId3()
[all …]
DMediaPlayerFlakyNetworkTest.java67 private CtsTestServer mServer; field in MediaPlayerFlakyNetworkTest
237 mServer = new CtsTestServer(mContext) { in createHttpServer()
246 if (mServer != null) { in releaseHttpServer()
247 mServer.shutdown(); in releaseHttpServer()
248 mServer = null; in releaseHttpServer()
255 String stream_url = mServer.getAssetUrl(mInpPrefix + name); in localHttpStreamTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DMessageTestActivity.java79 private final boolean mServer; field in MessageTestActivity
87 mServer = server; in MessageTestActivity()
99 if (mServer) { in onCreate()
122 makeDiscoverableButton.setVisibility(mServer ? View.VISIBLE : View.GONE); in onCreate()
137 if (!mServer) { in onCreate()
177 if (mServer) { in startChatService()
273 if (!mServer) { in sendInitialMessageFromClient()
302 if (mServer && number == 10 || !mServer && number == 11) { in addNewMessage()
/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java490 private TestWebServer mServer; field in TestWebServer.ServerThread
550 mServer = server; in ServerThread()
592 HttpResponse response = mServer.getResponse(request); in run()
DCtsTestServer.java919 private CtsTestServer mServer; field in CtsTestServer.ServerThread
1011 mServer = server; in ServerThread()
1026 mSslContext.init(keyManagers, mServer.getTrustManagers(), null); in ServerThread()
1063 DefaultHttpServerConnection conn = mServer.createHttpServerConnection(); in run()
1136 HttpResponse response = mServer.getResponse(mRequest); in run()