Home
last modified time | relevance | path

Searched refs:monitor_sock (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/commands/run_cvd/launch/
Dmodem.cpp36 auto monitor_sock = in StopModemSimulator() local
38 if (!monitor_sock->IsOpen()) { in StopModemSimulator()
43 if (monitor_sock->Write(msg.data(), msg.size()) < 0) { in StopModemSimulator()
44 monitor_sock->Close(); in StopModemSimulator()
49 if (monitor_sock->Read(buf, sizeof(buf)) <= 0) { in StopModemSimulator()
50 monitor_sock->Close(); in StopModemSimulator()
55 monitor_sock->Close(); in StopModemSimulator()
/device/google/cuttlefish/host/libs/vm_manager/
Dqemu_manager.cpp56 auto monitor_sock = SharedFD::SocketLocalClient( in Stop() local
59 if (!monitor_sock->IsOpen()) { in Stop()
66 int tmp = monitor_sock->Write(msg, len); in Stop()
68 LOG(ERROR) << "Error writing to socket: " << monitor_sock->StrError(); in Stop()
75 while ((len = monitor_sock->Read(buff, sizeof(buff) - 1)) > 0) { in Stop()