Home
last modified time | relevance | path

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

12

/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dmain.cpp55 if (!socket_->IsOpen()) { in SendAll()
142 CHECK(server->IsOpen()) << "Could not start server on " << FLAGS_tcp_port; in TcpServer()
147 CHECK(client_socket->IsOpen()) << "error creating client socket"; in TcpServer()
150 if (vsock_socket->IsOpen()) { in TcpServer()
172 if (sock->IsOpen()) { in OpenSocketConnection()
197 if (!vsock->IsOpen() && !socketErrorIsRecoverable(vsock->GetErrno())) { in VsockServer()
201 } while (!vsock->IsOpen()); in VsockServer()
202 CHECK(vsock->IsOpen()) << "Could not start server on " << FLAGS_vsock_port; in VsockServer()
206 CHECK(vsock_client->IsOpen()) << "error creating vsock socket"; in VsockServer()
209 CHECK(client->IsOpen()) << "error connecting to guest client"; in VsockServer()
/device/google/cuttlefish/host/commands/console_forwarder/
Dmain.cpp112 if (client_fd->IsOpen()) { in ReadLoop()
129 if (client_fd->IsOpen()) { in ReadLoop()
138 if (!client_fd->IsOpen()) { in ReadLoop()
179 if (!console_in->IsOpen()) { in main()
188 if (!console_out->IsOpen()) { in main()
206 if (!socket->IsOpen()) { 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.cpp127 if (IsOpen() && FD_ISSET(fd_, in)) { in IsSet()
142 if (!IsOpen()) { in Set()
287 if (!rval->IsOpen()) { in SocketLocalClient()
302 if (!rval->IsOpen()) { in SocketLocalClient()
319 if(!rval->IsOpen()) { in SocketLocalServer()
350 if (!rval->IsOpen()) { in SocketLocalServer()
387 if (!vsock->IsOpen()) { in VsockServer()
414 if (!vsock->IsOpen()) { in VsockClient()
Dtee.cpp104 while (!log_file_->IsOpen()) { in TeeStderrToFile()
/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/logcat_receiver/
Dmain.cpp37 CHECK(logcat_file->IsOpen()) in main()
43 CHECK(server_fd->IsOpen()) << "Error creating or inheriting logcat server: " 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/run_cvd/
Dlaunch.cc71 if (!server->IsOpen()) { in CreateUnixInputServer()
100 if (!touch_server->IsOpen()) { in CreateStreamerServers()
106 if (!keyboard_server->IsOpen()) { in CreateStreamerServers()
120 if (!frames_server->IsOpen()) { in CreateStreamerServers()
186 if (!socket->IsOpen()) { in LaunchLogcatReceiverIfEnabled()
201 if (!socket->IsOpen()) { in LaunchConfigServer()
233 if (!socket->IsOpen()) { in LaunchTombstoneReceiverIfEnabled()
Dmain.cc118 if (fg_launcher_pipe_->IsOpen()) { in MaybeWriteToForegroundLauncher()
158 if (!env->IsOpen()) { in WriteCuttlefishEnvironment()
214 if (!log->IsOpen()) { in DaemonizeLauncher()
219 if (!dev_null->IsOpen()) { in DaemonizeLauncher()
247 while (client->IsOpen() && client->Read(&action, sizeof(action)) > 0) { in ServerLoop()
381 if (!launcher_monitor_socket->IsOpen()) { in main()
389 if (!foreground_launcher_pipe->IsOpen()) { in main()
/device/google/cuttlefish/common/libs/tcp_socket/
Dtcp_socket.cpp73 if (!fd_->IsOpen()) { in SendNoSignal()
96 if (!fd_->IsOpen()) {
103 if (!client->IsOpen()) { in Accept()
/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/guest/commands/vsock_logcat/
Dmain.cpp107 if (!log_fd->IsOpen()) { in main()
131 while (conn->IsOpen()) { in main()
/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.cpp36 CHECK(server_fd->IsOpen()) << "Inheriting logcat server: " in main()
/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_manager.cpp45 if (tap_fd->IsOpen()) { in AddTapFdParameter()
202 if (!console_out_rd->IsOpen()) { in StartCommands()
/device/google/cuttlefish/common/libs/device_config/
Dguest_device_config.cpp44 if (!config_server->IsOpen()) { in GetRawFromServer()
/device/google/cuttlefish/host/frontend/adb_connector/
Dadb_connection_maintainer.cpp59 if (!sock->IsOpen()) { in SendAll()
97 if (!sock->IsOpen()) { in AdbSendMessage()
Dmain.cpp61 while (evt_shared_fd->IsOpen()) { in WaitForAdbdToBeStarted()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
DEfiSysCall.h329 BOOLEAN ValidateFD (int fd, int IsOpen);
/device/google/cuttlefish/host/commands/cvd_status/
Dcvd_status.cc70 if (!monitor_socket->IsOpen()) { in main()
/device/google/cuttlefish/host/commands/tombstone_receiver/
Dmain.cpp64 CHECK(server_fd->IsOpen()) << "Error inheriting tombstone server: " in main()
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
Dvsocket_screen_view.cpp72 if (!screen_server_->IsOpen()) { in ConnectToScreenServer()
/device/google/cuttlefish/common/libs/utils/
Dnetwork.cpp59 if (!tap_fd->IsOpen()) { in OpenTapInterface()

12