Lines Matching refs:adb_connection_socket_
258 adb_connection_socket_(-1), in AdbConnectionState()
416 adb_connection_socket_.reset(); in CloseFds()
489 if (adb_connection_socket_ == -1 || !performed_handshake_) { in SendDdmPacket()
552 ssize_t res = TEMP_FAILURE_RETRY(writev(adb_connection_socket_, iovs, kIovSize)); in SendDdmPacket()
596 android::base::unique_fd read_fd(art::DupCloexec(adb_connection_socket_)); in SendAgentFds()
598 android::base::unique_fd write_fd(art::DupCloexec(adb_connection_socket_)); in SendAgentFds()
697 {should_listen_on_connection ? adb_connection_socket_ : -1, POLLIN | POLLRDHUP, 0}}; in RunPollLoop()
723 if (adb_connection_socket_ != -1) { in RunPollLoop()
758 } else if (adb_connection_socket_ != -1) { in RunPollLoop()
766 adb_connection_socket_ = std::move(new_fd); in RunPollLoop()
832 ssize_t res = TEMP_FAILURE_RETRY(recv(adb_connection_socket_.get(), in HandleDataWithoutAgent()
862 res = TEMP_FAILURE_RETRY(ioctl(adb_connection_socket_.get(), FIONREAD, &avail)); in HandleDataWithoutAgent()
877 res = TEMP_FAILURE_RETRY(recv(adb_connection_socket_.get(), full_pkt.data(), full_len, 0)); in HandleDataWithoutAgent()
923 int res = TEMP_FAILURE_RETRY(ioctl(adb_connection_socket_.get(), FIONREAD, &avail)); in PerformHandshake()
934 res = TEMP_FAILURE_RETRY(recv(adb_connection_socket_.get(), in PerformHandshake()
948 res = TEMP_FAILURE_RETRY(send(adb_connection_socket_.get(), in PerformHandshake()