Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/libs/vm_manager/
Dqemu_manager.cpp59 auto monitor_sock = cuttlefish::SharedFD::SocketLocalClient( in Stop() local
62 if (!monitor_sock->IsOpen()) { in Stop()
69 int tmp = monitor_sock->Write(msg, len); in Stop()
71 LOG(ERROR) << "Error writing to socket: " << monitor_sock->StrError(); in Stop()
78 while ((len = monitor_sock->Read(buff, sizeof(buff) - 1)) > 0) { in Stop()
/device/google/cuttlefish/host/commands/run_cvd/
Dlaunch.cc335 auto monitor_sock = cuttlefish::SharedFD::SocketLocalClient( in StopModemSimulator() local
337 if (!monitor_sock->IsOpen()) { in StopModemSimulator()
342 if (monitor_sock->Write(msg.data(), msg.size()) < 0) { in StopModemSimulator()
343 monitor_sock->Close(); in StopModemSimulator()
348 if (monitor_sock->Read(buf, sizeof(buf)) <= 0) { in StopModemSimulator()
349 monitor_sock->Close(); in StopModemSimulator()
354 monitor_sock->Close(); in StopModemSimulator()