Searched refs:monitor_sock (Results 1 – 2 of 2) sorted by relevance
59 auto monitor_sock = cuttlefish::SharedFD::SocketLocalClient( in Stop() local62 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()
335 auto monitor_sock = cuttlefish::SharedFD::SocketLocalClient( in StopModemSimulator() local337 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()