Home
last modified time | relevance | path

Searched refs:IsOpen (Results 1 – 25 of 49) sorted by relevance

12

/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dmain.cpp59 if (!socket_->IsOpen()) { in SendAll()
146 CHECK(server->IsOpen()) << "Could not start server on " << FLAGS_tcp_port; in TcpServer()
151 CHECK(client_socket->IsOpen()) << "error creating client socket"; in TcpServer()
154 if (vsock_socket->IsOpen()) { in TcpServer()
176 if (sock->IsOpen()) { in OpenSocketConnection()
201 if (!vsock->IsOpen() && !socketErrorIsRecoverable(vsock->GetErrno())) { in VsockServer()
205 } while (!vsock->IsOpen()); in VsockServer()
206 CHECK(vsock->IsOpen()) << "Could not start server on " << FLAGS_vsock_port; in VsockServer()
210 CHECK(vsock_client->IsOpen()) << "error creating vsock socket"; in VsockServer()
213 CHECK(client->IsOpen()) << "error connecting to guest client"; in VsockServer()
/device/google/cuttlefish/host/commands/secure_env/
Dsecure_env.cpp102 CHECK(keymaster_server->IsOpen()) << "Could not dup server fd: " in main()
109 CHECK(gatekeeper_server->IsOpen()) << "Could not dup server fd: " in main()
117 CHECK(keymaster_conn->IsOpen()) << "Unable to open connection: " in main()
131 CHECK(gatekeeper_conn->IsOpen()) << "Unable to open connection: " in main()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd_test.cpp33 EXPECT_TRUE(fds[0]->IsOpen()); in TEST()
34 EXPECT_TRUE(fds[1]->IsOpen()); in TEST()
Dshared_fd.cpp126 if (IsOpen() && FD_ISSET(fd_, in)) { in IsSet()
141 if (!IsOpen()) { in Set()
286 if (!rval->IsOpen()) { in SocketLocalClient()
301 if (!rval->IsOpen()) { in SocketLocalClient()
318 if(!rval->IsOpen()) { in SocketLocalServer()
349 if (!rval->IsOpen()) { in SocketLocalServer()
386 if (!vsock->IsOpen()) { in VsockServer()
413 if (!vsock->IsOpen()) { in VsockClient()
/device/google/cuttlefish/host/libs/screen_connector/
Dsocket_based_screen_connector.cpp60 if (!server->IsOpen()) { in ServerLoop()
70 if (!conn->IsOpen()) { in ServerLoop()
74 while (conn->IsOpen()) { in ServerLoop()
/device/google/cuttlefish/host/commands/vtpm_passthrough/
Dvtpm_passthrough.cpp79 CHECK(server->IsOpen()) << "Could not dup vsock server fd: " << server->StrError(); in main()
82 CHECK(device->IsOpen()) << "Could not open " << FLAGS_device << ": " << device->StrError(); in main()
86 CHECK(client->IsOpen()) << "Could not accept TPM client: " << client->StrError(); in main()
/device/google/cuttlefish/host/commands/console_forwarder/
Dmain.cpp113 if (!pty_shared_fd->IsOpen()) { in OpenPTY()
171 if (!client_fd->IsOpen()) { in ReadLoop()
191 if (client_fd->IsOpen()) { in ReadLoop()
235 if (!console_in->IsOpen()) { in main()
244 if (!console_out->IsOpen()) { in main()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_image_unpacker.cc38 if (!dest->IsOpen()) { in ExtractFile()
55 if (!boot_img->IsOpen()) { in FromImages()
69 if (!vendor_boot_img->IsOpen()) { in FromImages()
/device/google/cuttlefish/host/commands/modem_simulator/
Dchannel_monitor.cpp67 if (server_->IsOpen()) in ChannelMonitor()
85 if (write_pipe_->IsOpen()) { in SetRemoteClient()
94 if (!client_fd->IsOpen()) { in AcceptIncomingConnection()
192 if (write_pipe_->IsOpen()) { in CloseRemoteConnection()
205 if (write_pipe_->IsOpen()) { in ~ChannelMonitor()
Dmain.cpp96 CHECK(fd->IsOpen()) << "Error creating or inheriting modem simulator server: " in main()
119 if (!monitor_socket->IsOpen()) { in main()
/device/google/cuttlefish/host/commands/run_cvd/
Dlaunch.cc72 if (!server->IsOpen()) { in CreateUnixInputServer()
100 if (!touch_server->IsOpen()) { in CreateStreamerServers()
106 if (!keyboard_server->IsOpen()) { in CreateStreamerServers()
121 if (!frames_server->IsOpen()) { in CreateStreamerServers()
204 if (!socket->IsOpen()) { in LaunchConfigServer()
237 if (!socket->IsOpen()) { in LaunchTombstoneReceiverIfEnabled()
337 if (!monitor_sock->IsOpen()) { in StopModemSimulator()
399 if (!socket->IsOpen()) { in LaunchModemSimulatorIfEnabled()
472 if (!server->IsOpen()) { in LaunchTpmPassthrough()
Dmain.cc120 if (fg_launcher_pipe_->IsOpen()) { in MaybeWriteToForegroundLauncher()
160 if (!env->IsOpen()) { in WriteCuttlefishEnvironment()
216 if (!log->IsOpen()) { in DaemonizeLauncher()
224 if (!dev_null->IsOpen()) { in DaemonizeLauncher()
316 while (client->IsOpen() && client->Read(&action, sizeof(action)) > 0) { in ServerLoop()
493 if (!launcher_monitor_socket->IsOpen()) { in main()
501 if (!foreground_launcher_pipe->IsOpen()) { in main()
/device/google/cuttlefish/common/libs/tcp_socket/
Dtcp_socket.cpp72 if (!fd_->IsOpen()) { in SendNoSignal()
95 if (!fd_->IsOpen()) {
102 if (!client->IsOpen()) { in Accept()
/device/google/cuttlefish/guest/commands/vtpm_manager/
Dmain.cpp120 CHECK(proxy->IsOpen()) << proxy->StrError(); in main()
123 CHECK(vtpmx->IsOpen()) << vtpmx->StrError(); in main()
131 CHECK(device_fd->IsOpen()) << device_fd->StrError(); in main()
/device/google/cuttlefish/guest/commands/vsoc_input_service/
Dvsoc_input_service.cpp86 if (!keyboard_fd->IsOpen()) { in ProcessEvents()
94 if (!touch_fd->IsOpen()) { in ProcessEvents()
/device/google/cuttlefish/guest/monitoring/tombstone_transmit/
Dtombstone_transmit.cpp118 while (log_fd->IsOpen() && ifs.is_open() && !ifs.eof()) { in main()
125 if (!log_fd->IsOpen()) { in main()
/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_manager.cpp49 if (tap_fd->IsOpen()) { in AddTapFdParameter()
60 if (!lease_file_fd->IsOpen()) { in ReleaseDhcpLeases()
252 if (!console_in_wr->IsOpen()) { in StartCommands()
259 if (!console_out_rd->IsOpen()) { in StartCommands()
/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dmain.cc90 if (!pipe->IsOpen()) { in main()
99 if (subscriber_fd->IsOpen()) { in main()
/device/google/cuttlefish/host/commands/config_server/
Dmain.cpp39 CHECK(server_fd->IsOpen()) << "Inheriting logcat server: " in main()
/device/google/cuttlefish/guest/hals/keymaster/remote/
Dservice4.cpp40 if (!vsockFd->IsOpen()) { in main()
/device/google/cuttlefish/guest/hals/gatekeeper/remote/
Dservice.cpp44 if (!vsockFd->IsOpen()) { in main()
/device/google/cuttlefish/host/frontend/adb_connector/
Dadb_connection_maintainer.cpp59 if (!sock->IsOpen()) { in SendAll()
97 if (!sock->IsOpen()) { in AdbSendMessage()
/device/google/cuttlefish/host/commands/log_tee/
Dlog_tee.cpp48 CHECK(log_fd->IsOpen()) << "Failed to dup log_fd_in: " << log_fd->StrError(); in main()
/device/google/cuttlefish/common/libs/device_config/
Dguest_device_config.cpp44 if (!config_server->IsOpen()) { in GetRawFromServer()
/device/google/cuttlefish/host/commands/logcat_receiver/
Dmain.cpp57 if (!pipe->IsOpen()) { in main()

12