Home
last modified time | relevance | path

Searched refs:Dup (Results 1 – 22 of 22) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc/
Dmain.cpp102 cuttlefish::SharedFD::Dup(FLAGS_audio_server_fd); in CreateAudioServer()
117 auto control_socket = cuttlefish::SharedFD::Dup(FLAGS_command_fd); in main()
141 auto touch_shared_fd = cuttlefish::SharedFD::Dup(touch_fd); in main()
150 inputs_builder.WithRotary(cuttlefish::SharedFD::Dup(FLAGS_rotary_fd)); in main()
154 inputs_builder.WithKeyboard(cuttlefish::SharedFD::Dup(FLAGS_keyboard_fd)); in main()
158 inputs_builder.WithSwitches(cuttlefish::SharedFD::Dup(FLAGS_switches_fd)); in main()
165 cuttlefish::SharedFD::Dup(FLAGS_kernel_log_events_fd); in main()
314 cuttlefish::SharedFD custom_action_server = cuttlefish::SharedFD::Dup(fd); in main()
/device/google/cuttlefish/host/commands/gnss_grpc_proxy/
Dgnss_grpc_proxy.cpp409 auto gnss_in = cuttlefish::SharedFD::Dup(FLAGS_gnss_in_fd); in RunServer()
418 auto gnss_out = cuttlefish::SharedFD::Dup(FLAGS_gnss_out_fd); in RunServer()
427 cuttlefish::SharedFD::Dup(FLAGS_fixed_location_in_fd); in RunServer()
437 cuttlefish::SharedFD::Dup(FLAGS_fixed_location_out_fd); in RunServer()
/device/google/cuttlefish/host/commands/console_forwarder/
Dmain.cpp93 auto pty_shared_fd = SharedFD::Dup(pty); in OpenPTY()
220 auto console_in = SharedFD::Dup(FLAGS_console_in_fd); in ConsoleForwarderMain()
225 auto console_out = SharedFD::Dup(FLAGS_console_out_fd); in ConsoleForwarderMain()
/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dmain.cc57 auto shared_fd = cuttlefish::SharedFD::Dup(fd); in SubscribersFromCmdline()
88 pipe = cuttlefish::SharedFD::Dup(FLAGS_log_pipe_fd); in main()
/device/google/cuttlefish/host/commands/tcp_connector/
Dmain.cpp77 auto fifo_in = cuttlefish::SharedFD::Dup(FLAGS_fifo_in); in main()
85 auto fifo_out = cuttlefish::SharedFD::Dup(FLAGS_fifo_out); in main()
/device/google/cuttlefish/host/commands/log_tee/
Dlog_tee.cpp75 auto log_fd = cuttlefish::SharedFD::Dup(FLAGS_log_fd_in); in main()
92 auto int_fd = cuttlefish::SharedFD::Dup(sfd); in main()
/device/google/cuttlefish/host/commands/config_server/
Dmain.cpp37 cuttlefish::SharedFD server_fd = cuttlefish::SharedFD::Dup(FLAGS_server_fd); in main()
/device/google/cuttlefish/common/libs/utils/
Dshared_fd_flag.cpp39 out = SharedFD::Dup(raw_fd); in Set()
Dtee_logging.cpp286 SharedFD::Dup(/* stderr */ 2), in LogToStderrAndFiles()
Dunix_sockets.cpp152 SharedFD shared_fd = SharedFD::Dup(fd); in AsSharedFDs()
Dsubprocess.cpp364 SharedFD::Dup(static_cast<int>(parent_channel))); in RedirectStdIO()
/device/google/cuttlefish/host/example_custom_actions/
Dmain.cpp37 SharedFD webrtc_socket = SharedFD::Dup(fd); in main()
/device/google/cuttlefish/host/commands/logcat_receiver/
Dmain.cpp54 pipe = cuttlefish::SharedFD::Dup(FLAGS_log_pipe_fd); in main()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dassemble_cvd.cc285 {ConsoleSeverity(), SharedFD::Dup(2), MetadataLevel::ONLY_MESSAGE}, in SetLogger()
548 auto input_fd = SharedFD::Dup(0); in AssembleCvdMain()
/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dserver.cpp94 DupServer::DupServer(int fd) : fd_(fd), sfd_(SharedFD::Dup(fd_)) { in DupServer()
Dsocket_vsock_proxy.cpp157 auto events = SharedFD::Dup(events_fd); in ListenEventsAndProxy()
/device/google/cuttlefish/host/commands/modem_simulator/
Dmain.cpp53 auto shared_fd = SharedFD::Dup(fd); in ServerFdsFromCmdline()
/device/google/cuttlefish/host/commands/run_cvd/
Dmain.cc190 auto input_fd = SharedFD::Dup(0); in FindConfigFromStdin()
Dboot_state_machine.cc206 reboot_notification_ = SharedFD::Dup(FLAGS_reboot_notification_fd); in ResultSetup()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.h142 static SharedFD Dup(int unmanaged_fd);
Dshared_fd.cpp392 SharedFD SharedFD::Dup(int unmanaged_fd) { in Dup() function in cuttlefish::SharedFD
/device/google/cuttlefish/host/commands/secure_env/
Dsecure_env_not_windows_main.cpp100 SharedFD duped = SharedFD::Dup(fd); in DupFdFlag()