Searched refs:control_socket_ (Results 1 – 1 of 1) sorted by relevance
/packages/modules/adb/libs/adbconnection/ |
D | adbconnection_client.cpp | 55 unique_fd control_socket_; member 105 write(ctx->control_socket_.get(), serialized_message.data(), serialized_message.size())); in send_app_info() 185 ctx->control_socket_.reset(socket(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0)); in adbconnection_client_new() 186 if (ctx->control_socket_ < 0) { in adbconnection_client_new() 204 setsockopt(ctx->control_socket_.get(), SOL_SOCKET, SO_SNDTIMEO, &timeout, sizeof(timeout)); in adbconnection_client_new() 207 int rc = connect(ctx->control_socket_.get(), reinterpret_cast<sockaddr*>(&addr), addr_len); in adbconnection_client_new() 219 bool trusted = SocketPeerIsTrusted(ctx->control_socket_.get()); in adbconnection_client_new() 287 return ctx->control_socket_.get(); in adbconnection_client_pollfd() 293 ssize_t rc = android::base::ReceiveFileDescriptors(ctx->control_socket_, &dummy, 1, &jdwp_fd); in adbconnection_client_receive_jdwp_fd()
|