Home
last modified time | relevance | path

Searched refs:StrError (Results 1 – 25 of 66) sorted by relevance

123

/device/google/cuttlefish/host/commands/run_cvd/
Dboot_state_machine.cc101 LOG(ERROR) << "Failed to create launcher log file: " << log->StrError(); in DaemonizeLauncher()
108 LOG(ERROR) << "Failed to open /dev/null: " << dev_null->StrError(); in DaemonizeLauncher()
112 LOG(ERROR) << "Failed dup2 stdin: " << dev_null->StrError(); in DaemonizeLauncher()
116 LOG(ERROR) << "Failed dup2 stdout: " << log->StrError(); in DaemonizeLauncher()
120 LOG(ERROR) << "Failed dup2 seterr: " << log->StrError(); in DaemonizeLauncher()
174 << interrupt_fd_write_->StrError(); in ~CvdBootStateMachine()
182 << restore_complete_stop_write_->StrError(); in ~CvdBootStateMachine()
202 CF_EXPECT(interrupt_fd_read_->IsOpen(), interrupt_fd_read_->StrError()); in ResultSetup()
203 CF_EXPECT(interrupt_fd_write_->IsOpen(), interrupt_fd_write_->StrError()); in ResultSetup()
209 reboot_notification_->StrError()); in ResultSetup()
[all …]
/device/google/cuttlefish/common/libs/utils/
Dsocket2socket_proxy.cpp42 LOG(FATAL) << "Failed to open eventfd: " << stop_fd_->StrError(); in ProxyPair()
59 LOG(ERROR) << "Failed to stop proxy thread: " << stop_fd_->StrError(); in ~ProxyPair()
93 LOG(ERROR) << label << ": Error reading: " << from->StrError(); in Forward()
96 LOG(ERROR) << label << ": Error writing: " << to->StrError(); in Forward()
117 LOG(FATAL) << "Failed to open eventfd: " << stop_fd_->StrError(); in ProxyServer()
153 LOG(ERROR) << "Failed to accept incoming connection: " << client->StrError(); in ProxyServer()
164 LOG(ERROR) << "Cannot connect to the target to setup proxying: " << target->StrError(); in ProxyServer()
185 LOG(ERROR) << "Failed to stop proxy thread: " << stop_fd_->StrError(); in ~ProxyServer()
Dunix_sockets.cpp64 CF_EXPECT(fd_copy >= 0, "Failed to duplicate fd: " << fds[i]->StrError()); in FromFileDescriptors()
209 << socket->StrError(); in UnixMessageSocket()
217 << socket_->StrError()); in EnableCredentials()
251 CF_EXPECT(bytes_sent >= 0, "Failed to send message: " << socket_->StrError()); in WriteMessage()
280 CF_EXPECT(bytes_read >= 0, "Read error: " << socket_->StrError()); in ReadMessage()
Dfiles.cpp462 file->StrError()); in ReadFileContents()
466 file->StrError()); in ReadFileContents()
483 LOG(ERROR) << "Could not open \"" << path << "\": " << fd->StrError(); in SparseFileSizes()
489 LOG(ERROR) << "Could not lseek in \"" << path << "\": " << fd->StrError(); in SparseFileSizes()
501 LOG(ERROR) << "Could not lseek in \"" << path << "\": " << fd->StrError(); in SparseFileSizes()
517 LOG(ERROR) << "Could not lseek in \"" << path << "\": " << fd->StrError(); in SparseFileSizes()
Dvsock_connection.cpp58 LOG(INFO) << "Disconnecting with fd status:" << fd_->StrError(); in Disconnect()
218 LOG(ERROR) << "Failed to connect:" << fd_->StrError(); in Connect()
228 << ": server fd status:" << server_fd_->StrError(); in ServerShutdown()
/device/google/cuttlefish/host/commands/tcp_connector/
Dmain.cpp46 LOG(ERROR) << "Failed to open socket: " << (*fd)->StrError(); in OpenSocket()
80 << fifo_in->StrError(); in main()
88 << fifo_out->StrError(); in main()
100 LOG(WARNING) << "Error reading from guest: " << fifo_in->StrError(); in main()
107 << sock->StrError(); in main()
122 << sock->StrError(); in main()
130 LOG(WARNING) << "Failed to write to guest: " << fifo_out->StrError(); in main()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp186 message << __FUNCTION__ << ": " << identity_ << " failed (" << StrError() << ")"; in Close()
215 LOG(ERROR) << "Could not get current file descriptor flags: " << StrError(); in ConnectWithTimeout()
219 LOG(ERROR) << "Failed to set O_NONBLOCK: " << StrError(); in ConnectWithTimeout()
228 LOG(ERROR) << "Failed to restore original flags: " << StrError(); in ConnectWithTimeout()
235 LOG(DEBUG) << "Immediate connection failure: " << StrError(); in ConnectWithTimeout()
237 LOG(ERROR) << "Failed to restore original flags: " << StrError(); in ConnectWithTimeout()
249 LOG(ERROR) << "Failed to restore original flags: " << StrError(); in ConnectWithTimeout()
261 LOG(ERROR) << "Failed to get socket options: " << StrError(); in ConnectWithTimeout()
505 CF_EXPECTF(ret->IsOpen(), "Failed to open '{}': '{}'", path, ret->StrError()); in Fifo()
635 LOG(ERROR) << "SetSockOpt failed " << rval->StrError(); in SocketLocalServer()
[all …]
/device/google/cuttlefish/host/libs/audio_connector/
Dserver.cpp38 << (*shm_fd)->StrError(); in AllocateShm()
45 << " bytes: " << (*shm_fd)->StrError(); in AllocateShm()
53 << (*shm_fd)->StrError(); in AllocateShm()
69 << (*local)->StrError(); in CreateSocketPair()
96 LOG(ERROR) << "Failed to send entire reply: " << socket->StrError(); in SendStatusCallback()
108 LOG(ERROR) << "Connection failed on audio server: " << conn_fd->StrError(); in AcceptClient()
155 << client_socket->StrError(); in Create()
353 << control_socket_->StrError(); in CmdReply()
372 << socket->StrError(); in ReceiveMsg()
/device/google/cuttlefish/host/commands/run_cvd/launch/
Dstreamer.cpp46 LOG(ERROR) << "Unable to create unix input server: " << server->StrError(); in CreateUnixInputServer()
143 CF_EXPECT(touch_socket->IsOpen(), touch_socket->StrError()); in ResultSetup()
149 CF_EXPECT(rotary_server_->IsOpen(), rotary_server_->StrError()); in ResultSetup()
151 CF_EXPECT(keyboard_server_->IsOpen(), keyboard_server_->StrError()); in ResultSetup()
154 CF_EXPECT(frames_server_->IsOpen(), frames_server_->StrError()); in ResultSetup()
160 CF_EXPECT(audio_server_->IsOpen(), audio_server_->StrError()); in ResultSetup()
306 CF_EXPECT(switches_server_->IsOpen(), switches_server_->StrError()); in ResultSetup()
310 kernel_log_events_pipe_->StrError()); in ResultSetup()
/device/google/cuttlefish/host/commands/console_forwarder/
Dmain.cpp96 << "Error dupping fd " << pty << ": " << pty_shared_fd->StrError(); in OpenPTY()
130 LOG(ERROR) << "Error writing to fd: " << fd->StrError(); in WriteLoop()
171 << console_out_->StrError(); in ReadLoop()
187 << client_fd->StrError(); in ReadLoop()
222 << ": " << console_in->StrError(); in ConsoleForwarderMain()
227 << ": " << console_out->StrError(); in ConsoleForwarderMain()
/device/google/cuttlefish/host/libs/image_aggregator/
Dimage_aggregator.cc420 LOG(ERROR) << "Could not write GPT beginning: " << out->StrError(); in WriteBeginning()
432 LOG(ERROR) << "Could not write GPT end padding: " << out->StrError(); in WriteEnd()
436 LOG(ERROR) << "Could not write GPT end contents: " << out->StrError(); in WriteEnd()
479 << "\": " << output->StrError(); in AggregateImage()
486 << "\" to \"" << output_path << "\": " << output->StrError(); in AggregateImage()
494 << "\": " << output->StrError(); in AggregateImage()
499 << "\": " << output->StrError(); in AggregateImage()
528 << "\": " << header->StrError(); in CreateCompositeDisk()
533 << "\": " << footer->StrError(); in CreateCompositeDisk()
/device/google/cuttlefish/host/libs/command_util/
Dutil.cc50 CF_EXPECTF(n > 0, "Write error: {}", fd->StrError()); in WriteAllBinaryResult()
58 CF_EXPECTF(n > 0, "Read error: {}", fd->StrError()); in ReadExactBinaryResult()
82 << monitor_path << ":" << monitor_socket->StrError()); in GetLauncherMonitorFromInstance()
115 CF_EXPECTF(n > 0, "Read error: {}", monitor_socket->StrError()); in ReadLauncherActionFromFd()
177 CF_EXPECTF(n > 0, "Write error: {}", monitor_socket->StrError()); in RunLauncherAction()
/device/google/cuttlefish/host/commands/gnss_grpc_proxy/
Dgnss_grpc_proxy.cpp160 LOG(ERROR) << "Error writing to fd: " << gnss_in_->StrError(); in sendToSerial()
181 LOG(ERROR) << "Error writing to fd: " << gnss_in_->StrError(); in sendGnssRawToSerial()
333 << " Error sg:" << source_out->StrError(); in SendCommand()
413 << gnss_in->StrError(); in RunServer()
422 << gnss_out->StrError(); in RunServer()
431 << fixed_location_in->StrError(); in RunServer()
441 << fixed_location_out->StrError(); in RunServer()
/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dutils.cc29 LOG(ERROR) << "Failed to read event buffer size: " << fd->StrError(); in ReadEvent()
35 LOG(ERROR) << "Failed to read event buffer: " << fd->StrError(); in ReadEvent()
61 LOG(ERROR) << "Failed to write event buffer size: " << fd->StrError(); in WriteEvent()
66 LOG(ERROR) << "Failed to write event buffer: " << fd->StrError(); in WriteEvent()
Dmain.cc93 LOG(ERROR) << "Error opening log pipe: " << pipe->StrError(); in main()
106 << subscriber_fd->StrError(); in main()
114 LOG(ERROR) << "Subscriber fd isn't valid: " << subscriber_fd->StrError(); in main()
/device/google/cuttlefish/host/libs/process_monitor/
Dprocess_monitor_channel.cc38 fd->StrError(), sizeof(type_), n_bytes); in Write()
50 err_msg, fd->StrError(), sizeof(type), n_bytes); in Read()
65 fd->StrError(), sizeof(type_), n_bytes); in Write()
77 err_msg, fd->StrError(), sizeof(type), n_bytes); in Read()
/device/google/cuttlefish/host/commands/secure_env/
Dworker_thread_loop_body.cpp55 "socket read failed: " << snapshot_socket->StrError()); in WorkerInnerLoop()
62 "socket write failed: " << snapshot_socket->StrError()); in WorkerInnerLoop()
68 "socket read failed: " << snapshot_socket->StrError()); in WorkerInnerLoop()
Dsuspend_resume_handler.cpp29 "socket write failed: " << socket->StrError()); in WriteSuspendRequest()
37 "socket read failed: " << socket->StrError()); in ReadSuspendAck()
46 "socket write failed: " << socket->StrError()); in WriteResumeRequest()
/device/google/cuttlefish/host/libs/avb/
Davb.cpp101 output_path, output_file->StrError()); in WriteInfoImage()
160 vbmeta_fd->StrError()); in EnforceVbMetaSize()
163 vbmeta_fd->StrError()); in EnforceVbMetaSize()
165 path, vbmeta_fd->StrError()); in EnforceVbMetaSize()
/device/google/cuttlefish/host/commands/logcat_receiver/
Dmain.cpp59 LOG(ERROR) << "Error opening log pipe: " << pipe->StrError(); in main()
72 LOG(ERROR) << "Could not read logcat: " << pipe->StrError(); in main()
77 << logcat_file->StrError() in main()
/device/google/cuttlefish/common/libs/transport/
Dchannel_sharedfd.cpp43 << "Could not read message: " << input_->StrError()); in ReceiveMessage()
52 "Could not read message: " << input_->StrError()); in ReceiveMessage()
75 "Could not write message: " << output_->StrError()); in SendMessage()
/device/google/cuttlefish/common/libs/security/
Dkeymaster_channel_sharedfd.cpp59 LOG(ERROR) << "Could not write Keymaster Message: " << output_->StrError(); in SendMessage()
70 LOG(ERROR) << "Could not read Keymaster Message: " << input_->StrError(); in ReceiveMessage()
81 LOG(ERROR) << "Could not read Keymaster Message: " << input_->StrError(); in ReceiveMessage()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dassemble_cvd.cc282 << log->StrError(); in SetLogger()
328 "failed to open " << path << ": " << fd->StrError()); in InitFilesystemAndCreateConfig()
331 "failed to write to " << path << ": " << fd->StrError()); in InitFilesystemAndCreateConfig()
390 return CF_ERR("Failed to create restore file: " << temp->StrError()); in InitFilesystemAndCreateConfig()
412 << ": " << log->StrError(); in InitFilesystemAndCreateConfig()
551 << input_fd->StrError() << "\""); in AssembleCvdMain()
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dserver_connection.cpp187 << conn_->StrError(); in Send()
202 LOG(ERROR) << "Failed to connect to unix socket: " << conn_->StrError(); in Connect()
211 << thread_notifier_->StrError(); in Connect()
260 << thread_notifier_->StrError(); in ReadLoop()
273 LOG(ERROR) << "Failed to read from server: " << conn_->StrError(); in ReadLoop()
275 observer->OnError(conn_->StrError()); in ReadLoop()
/device/google/cuttlefish/host/libs/config/
Ddata_image.cpp72 CF_EXPECTF(fd->IsOpen(), "Can't open '{}': '{}'", data_image, fd->StrError()); in ResizeImage()
74 data_image_mb, data_image, fd->StrError()); in ResizeImage()
164 fd->StrError()); in CreateBlankImage()
193 "Writing MBR to '{}' failed: '{}'", image, fd->StrError()); in CreateBlankImage()

123