Home
last modified time | relevance | path

Searched refs:server_ (Results 1 – 12 of 12) sorted by relevance

/system/connectivity/shill/vpn/
Dopenvpn_management_server_unittest.cc54 : server_(&driver_) {} in OpenVPNManagementServerTest()
61 void SetSockets() { server_.sockets_ = &sockets_; } in SetSockets()
62 void SetDispatcher() { server_.dispatcher_ = &dispatcher_; } in SetDispatcher()
63 void ExpectNotStarted() { EXPECT_FALSE(server_.IsStarted()); } in ExpectNotStarted()
66 server_.connected_socket_ = kConnectedSocket; in SetConnectedSocket()
125 server_.SendSignal(signal); in SendSignal()
129 server_.OnInput(data); in OnInput()
133 server_.ProcessMessage(message); in ProcessMessage()
137 return server_.ProcessSuccessMessage(message); in ProcessSuccessMessage()
141 return server_.ProcessStateMessage(message); in ProcessStateMessage()
[all …]
/system/webservd/webservd/
Ddbus_protocol_handler.cc40 server_{server} {
51 server_->GetBus()->UnlistenForServiceOwnerChange( in ~DBusProtocolHandler()
81 new RequestHandlerProxy{server_->GetBus(), in_service_name}); in AddRequestHandler()
86 server_->GetBus()->ListenForServiceOwnerChange( in AddRequestHandler()
92 new DBusRequestHandler{server_, p->second.handler_proxy.get()} in AddRequestHandler()
122 server_->GetBus()->UnlistenForServiceOwnerChange( in RemoveRequestHandler()
149 server_->GetBus()->UnlistenForServiceOwnerChange( in OnClientDisconnected()
Dmain.cc65 server_.reset(new webservd::Server{ in RegisterDBusObjectsAsync()
68 server_->RegisterAsync( in RegisterDBusObjectsAsync()
73 server_.reset(); in OnShutdown()
78 std::unique_ptr<webservd::Server> server_; member in __anon6c94b7ee0111::Daemon
Dprotocol_handler.cc156 if (server_) { in Start()
265 server_ = MHD_start_daemon(flags, config->port, nullptr, nullptr, in Start()
268 if (!server_) { in Start()
279 if (server_) { in Stop()
281 MHD_stop_daemon(server_); in Stop()
282 server_ = nullptr; in Stop()
370 MHD_run(server_); in DoWork()
381 CHECK_EQ(MHD_YES, MHD_get_fdset(server_, &rs, &ws, &es, &max_fd)); in DoWork()
412 if (MHD_get_timeout(server_, &mhd_timeout) == MHD_YES) { in DoWork()
Ddbus_request_handler.cc47 : server_{server}, in DBusRequestHandler()
73 server_->GetConfig().use_debug); in HandleRequest()
Ddbus_request_handler.h42 Server* server_{nullptr};
Dprotocol_handler.h112 MHD_Daemon* server_{nullptr};
Ddbus_protocol_handler.h120 Server* server_{nullptr};
/system/webservd/libwebserv/
Ddbus_server.cc31 explicit RequestHandler(DBusServer* server) : server_{server} {} in RequestHandler()
43 DBusServer* server_{nullptr}; member in libwebserv::DBusServer::RequestHandler
62 server_->GetProtocolHandlerByID(protocol_handler_id); in ProcessRequest()
Ddbus_protocol_handler.cc61 : name_{name}, server_{server} { in DBusProtocolHandler()
122 server_->service_name_, in AddHandler()
166 server_->service_name_, in Connect()
Ddbus_protocol_handler.h140 DBusServer* server_{nullptr};
/system/update_engine/common/
Dhttp_fetcher_unittest.cc724 : server_(server) {} in FailureHttpFetcherTestDelegate()
727 if (server_) { in ~FailureHttpFetcherTestDelegate()
729 delete server_; in ~FailureHttpFetcherTestDelegate()
736 if (server_) { in ReceivedBytes()
738 delete server_; in ReceivedBytes()
740 server_ = nullptr; in ReceivedBytes()
751 PythonHttpServer* server_; member in chromeos_update_engine::__anon3e472ea50611::FailureHttpFetcherTestDelegate