Home
last modified time | relevance | path

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

/system/core/adb/daemon/
Dshell_service.cpp196 unique_fd stdinout_sfd_, stderr_sfd_, protocol_sfd_; member in __anon50c78ba60111::Subprocess
444 if (!CreateSocketpair(&protocol_sfd_, &local_socket_sfd_)) { in ConnectProtocolEndpoints()
449 D("protocol FD = %d", protocol_sfd_.get()); in ConnectProtocolEndpoints()
451 input_ = std::make_unique<ShellProtocol>(protocol_sfd_); in ConnectProtocolEndpoints()
452 output_ = std::make_unique<ShellProtocol>(protocol_sfd_); in ConnectProtocolEndpoints()
530 if (protocol_sfd_ == -1) { in PassDataStreams()
538 for (unique_fd* sfd : {&protocol_sfd_, &stdinout_sfd_, &stderr_sfd_}) { in PassDataStreams()
546 while (protocol_sfd_ != -1 && (stdinout_sfd_ != -1 || stderr_sfd_ != -1)) { in PassDataStreams()
552 if (dead_sfd == &protocol_sfd_) { in PassDataStreams()
584 int select_n = std::max(std::max(protocol_sfd_, stdinout_sfd_), stderr_sfd_) + 1; in SelectLoop()
[all …]