Home
last modified time | relevance | path

Searched refs:clients_ (Results 1 – 5 of 5) sorted by relevance

/device/google/cuttlefish/host/commands/modem_simulator/
Dchannel_monitor.cpp127 clients_.push_back(std::move(client)); in AcceptIncomingConnection()
128 if (clients_.size() == 1) { in AcceptIncomingConnection()
150 auto& clients = client.type == Client::REMOTE ? remote_clients_ : clients_; in ReadCommand()
195 auto iter = clients_.begin(); in SendUnsolicitedCommand()
196 if (iter != clients_.end()) { in SendUnsolicitedCommand()
264 for (auto& client : clients_) { in MonitorLoop()
291 removeInvalidClients(clients_); in MonitorLoop()
294 for (auto& client : clients_) { in MonitorLoop()
Dchannel_monitor.h111 std::vector<std::unique_ptr<Client>> clients_; variable
/device/google/cuttlefish/host/frontend/webrtc_operator/
Ddevice_handler.cpp27 : SignalHandler(wsi, registry, server_config), device_info_(), clients_() {} in DeviceHandler()
37 clients_.emplace_back(client_handler); in RegisterClient()
38 return clients_.size(); in RegisterClient()
91 if (client_id <= 0 || client_id > clients_.size()) { in HandleForward()
97 auto client_handler = clients_[client_index].lock(); in HandleForward()
Ddevice_handler.h57 std::vector<std::weak_ptr<ClientHandler>> clients_; variable
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dstreamer.cpp181 std::map<int, std::shared_ptr<ClientHandler>> clients_; member in cuttlefish::webrtc_streaming::Streamer::Impl
262 for (auto& [_, client] : impl_->clients_) { in AddDisplay()
290 for (auto& [_, client] : impl_->clients_) { in RemoveDisplay()
566 if (clients_.count(client_id) == 0) { in HandleClientMessage()
572 clients_.emplace(client_id, client_handler); in HandleClientMessage()
574 auto client_handler = clients_[client_id]; in HandleClientMessage()
725 clients_.erase(client_id); in DestroyClientHandler()
733 auto client_handler = clients_[client_id]; in SetupCameraForClient()