Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/modem_simulator/
Dcall_service.cpp105 if (iter->second.remote_client != std::nullopt) { in TimerWaitingRemoteCallResponse()
106 CloseRemoteConnection(*(iter->second.remote_client)); in TimerWaitingRemoteCallResponse()
191 auto remote_client = ConnectToRemoteCvd(remote_port); in HandleDial() local
193 if (!remote_client->IsOpen()) { in HandleDial()
204 client_id = channel_monitor_->SetRemoteClient(remote_client, false); in HandleDial()
218 call_status.remote_client = client_id; in HandleDial()
253 if (call.is_remote_call && call.remote_client != std::nullopt) { in SendCallStatusToRemote()
259 SendCommandToRemote(*(call.remote_client), ss.str()); in SendCallStatusToRemote()
261 CloseRemoteConnection(*(call.remote_client)); in SendCallStatusToRemote()
683 auto client = iter->second.remote_client; in HandleRemoteCall()
[all …]
Dchannel_monitor.cpp95 auto remote_client = std::make_unique<Client>(client, Client::REMOTE); in SetRemoteClient() local
96 auto id = remote_client->Id(); in SetRemoteClient()
100 remote_client->first_read_command_ = true; in SetRemoteClient()
101 ReadCommand(*remote_client); in SetRemoteClient()
104 if (remote_client->client_read_fd_->IsOpen() && in SetRemoteClient()
105 remote_client->client_write_fd_->IsOpen()) { in SetRemoteClient()
106 remote_client->first_read_command_ = false; in SetRemoteClient()
107 remote_clients_.push_back(std::move(remote_client)); in SetRemoteClient()
Dmodem_service.cpp101 void ModemService::SendCommandToRemote(ClientId remote_client, in SendCommandToRemote() argument
104 channel_monitor_->SendRemoteCommand(remote_client, response); in SendCommandToRemote()
109 void ModemService::CloseRemoteConnection(ClientId remote_client) { in CloseRemoteConnection() argument
111 channel_monitor_->CloseRemoteConnection(remote_client); in CloseRemoteConnection()
Dsms_service.cpp254 auto remote_client = ConnectToRemoteCvd(remote_port); in SendSmsToRemote() local
255 if (!remote_client->IsOpen()) { in SendSmsToRemote()
264 remote_client->Write(token.data(), token.size()); in SendSmsToRemote()
265 remote_client->Write(command.data(), command.size()); in SendSmsToRemote()
Dmodem_service.h102 void CloseRemoteConnection(ClientId remote_client);
111 void SendCommandToRemote(ClientId remote_client, std::string response);
Dcall_service.h138 std::optional<ClientId> remote_client; member