Lines Matching refs:adb_connection_socket_
156 adb_connection_socket_(-1), in AdbConnectionState()
309 adb_connection_socket_.reset(); in CloseFds()
347 if (adb_connection_socket_ == -1) { in SendDdmPacket()
410 ssize_t res = TEMP_FAILURE_RETRY(writev(adb_connection_socket_, iovs, kIovSize)); in SendDdmPacket()
454 android::base::unique_fd read_fd(art::DupCloexec(adb_connection_socket_)); in SendAgentFds()
456 android::base::unique_fd write_fd(art::DupCloexec(adb_connection_socket_)); in SendAgentFds()
547 { (adb_connection_socket_ == -1 ? adbconnection_client_pollfd(control_ctx_.get()) : -1), in RunPollLoop()
552 { should_listen_on_connection ? adb_connection_socket_ : -1, POLLIN | POLLRDHUP, 0 } in RunPollLoop()
578 if (adb_connection_socket_ != -1) { in RunPollLoop()
609 } else if (adb_connection_socket_ != -1) { in RunPollLoop()
617 adb_connection_socket_ = std::move(new_fd); in RunPollLoop()
676 ssize_t res = TEMP_FAILURE_RETRY(recv(adb_connection_socket_.get(), in HandleDataWithoutAgent()
706 res = TEMP_FAILURE_RETRY(ioctl(adb_connection_socket_.get(), FIONREAD, &avail)); in HandleDataWithoutAgent()
721 res = TEMP_FAILURE_RETRY(recv(adb_connection_socket_.get(), full_pkt.data(), full_len, 0)); in HandleDataWithoutAgent()
767 int res = TEMP_FAILURE_RETRY(ioctl(adb_connection_socket_.get(), FIONREAD, &avail)); in PerformHandshake()
778 res = TEMP_FAILURE_RETRY(recv(adb_connection_socket_.get(), in PerformHandshake()
792 res = TEMP_FAILURE_RETRY(send(adb_connection_socket_.get(), in PerformHandshake()