Home
last modified time | relevance | path

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

/external/cronet/net/test/android/javatests/src/org/chromium/net/test/
DEmbeddedTestServerRule.java20 private EmbeddedTestServer mServer; field in EmbeddedTestServerRule
39 if (mServer != null) mServer.stopAndDestroyServer(); in apply()
51 if (mServer == null) {
53 mServer = mUseHttps
58 return mServer;
72 assert mServer == null;
78 assert mServer == null;
84 assert mServer == null;
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DSimpleServer.java44 private ServerSocket mServer; field in SimpleServer
205 mServer = new ServerSocket(port, 5, address); in startLocal()
210 mServer = new ServerSocket(0, 5, address); in startLocal()
220 return InetSocketAddress.createUnresolved(mServer.getInetAddress().getHostAddress(), in startLocal()
235 mServer = new ServerSocket(port, 5 /* backlog */, address); in startPublic()
241 return InetSocketAddress.createUnresolved(mServer.getInetAddress().getHostAddress(), in startPublic()
253 mServer = new ServerSocket(port, 5 /* backlog */); in startAllInterfaces()
259 return InetSocketAddress.createUnresolved(mServer.getInetAddress().getHostAddress(), in startAllInterfaces()
267 Socket sock = mServer.accept(); in start()
281 Log.v("Bound to " + mServer.getInetAddress()); in start()
[all …]
/external/cronet/components/cronet/android/test/smoketests/src/org/chromium/net/smoke/
DHttp2Test.java25 private TestSupport.TestServer mServer; field in Http2Test
32 mServer = mRule.getTestSupport().createTestServer( in setUp()
38 mServer.shutdown(); in tearDown()
47 Assert.assertTrue(mServer.start()); in testHttp2()
50 mServer.getSuccessURL(), callback, callback.getExecutor()); in testHttp2()
54 CronetSmokeTestRule.assertSuccessfulNonEmptyResponse(callback, mServer.getSuccessURL()); in testHttp2()
DPlatformOnlyEngineTest.java29 private TestSupport.TestServer mServer; field in PlatformOnlyEngineTest
37 mServer = mRule.getTestSupport().createTestServer( in setUp()
39 Assert.assertTrue(mServer.start()); in setUp()
40 mURL = mServer.getSuccessURL(); in setUp()
45 mServer.shutdown(); in tearDown()
DQuicTest.java30 private TestSupport.TestServer mServer; field in QuicTest
37 mServer = mRule.getTestSupport().createTestServer( in setUp()
43 mServer.shutdown(); in tearDown()
49 Assert.assertTrue(mServer.start()); in testQuic()
50 final String urlString = mServer.getSuccessURL(); in testQuic()
/external/ot-br-posix/src/web/web-service/
Dweb_server.cpp104 : mServer(new HttpServer()) in WebServer()
110 delete mServer; in ~WebServer()
127 mServer->config.address = aListenAddr; in StartWebServer()
129 mServer->config.port = aPort; in StartWebServer()
144 mServer->start(); in StartWebServer()
156 mServer->stop(); in StopWebServer()
165mServer->resource[aUrl][aMethod] = [aCallback, this](std::shared_ptr<HttpServer::Response> respons… in HandleHttpRequest()
216mServer->default_resource[OT_REQUEST_METHOD_GET] = [this](std::shared_ptr<HttpServer::Response> re… in DefaultHttpResponse()
261 DefaultResourceSend(*mServer, response, ifs); in DefaultHttpResponse()
Dweb_server.hpp131 HttpServer * mServer; member in otbr::Web::WebServer
/external/mobly-snippet-lib/third_party/sl4a/src/main/java/com/google/android/mobly/snippet/rpc/
DSimpleServer.java46 private ServerSocket mServer; field in SimpleServer
168 mServer = new ServerSocket(port, 5 /* backlog */, address); in startLocal()
173 return mServer.getLocalPort(); in getPort()
183 Socket sock = mServer.accept(); in start()
202 Log.v("Bound to " + mServer.getInetAddress()); in start()
269 mServer.close(); in shutdown()