Home
last modified time | relevance | path

Searched refs:monitor_socket (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/host/commands/powerwash_cvd/
Dpowerwash_cvd.cc71 auto monitor_socket = cuttlefish::SharedFD::SocketLocalClient(monitor_path.c_str(), in main() local
73 if (!monitor_socket->IsOpen()) { in main()
75 << ": " << monitor_socket->StrError(); in main()
79 auto bytes_sent = monitor_socket->Send(&request, sizeof(request), 0); in main()
82 << monitor_socket->StrError(); in main()
87 read_set.Set(monitor_socket); in main()
101 auto bytes_recv = monitor_socket->Recv(&response, sizeof(response), 0); in main()
104 << monitor_socket->StrError(); in main()
112 bytes_recv = monitor_socket->Recv(&response, sizeof(response), 0); in main()
116 LOG(ERROR) << monitor_socket->StrError(); in main()
/device/google/cuttlefish/host/commands/cvd_status/
Dcvd_status.cc68 auto monitor_socket = cuttlefish::SharedFD::SocketLocalClient(monitor_path.c_str(), in main() local
70 if (!monitor_socket->IsOpen()) { in main()
72 << ": " << monitor_socket->StrError(); in main()
76 auto bytes_sent = monitor_socket->Send(&request, sizeof(request), 0); in main()
79 << monitor_socket->StrError(); in main()
84 read_set.Set(monitor_socket); in main()
98 auto bytes_recv = monitor_socket->Recv(&response, sizeof(response), 0); in main()
101 << monitor_socket->StrError(); in main()
/device/google/cuttlefish/host/commands/stop_cvd/
Dmain.cc151 auto monitor_socket = cuttlefish::SharedFD::SocketLocalClient(monitor_path.c_str(), in CleanStopInstance() local
153 if (!monitor_socket->IsOpen()) { in CleanStopInstance()
155 << ": " << monitor_socket->StrError(); in CleanStopInstance()
159 auto bytes_sent = monitor_socket->Send(&request, sizeof(request), 0); in CleanStopInstance()
162 << monitor_socket->StrError(); in CleanStopInstance()
167 read_set.Set(monitor_socket); in CleanStopInstance()
181 auto bytes_recv = monitor_socket->Recv(&response, sizeof(response), 0); in CleanStopInstance()
184 << monitor_socket->StrError(); in CleanStopInstance()
/device/google/cuttlefish/host/commands/modem_simulator/
Dmain.cpp117 auto monitor_socket = cuttlefish::SharedFD::SocketLocalServer( in main() local
119 if (!monitor_socket->IsOpen()) { in main()
127 read_set.Set(monitor_socket); in main()
131 } else if (read_set.IsSet(monitor_socket)) { in main()
132 auto conn = cuttlefish::SharedFD::Accept(*monitor_socket); in main()