Home
last modified time | relevance | path

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

/system/bt/hci/src/
Dbtsnoop_net.cc49 static int client_socket_ = -1; variable
71 safe_close_(&client_socket_); in btsnoop_net_close()
82 if (client_socket_ != -1) { in btsnoop_net_write()
84 OSI_NO_INTR(ret = send(client_socket_, data, length, 0)); in btsnoop_net_write()
87 safe_close_(&client_socket_); in btsnoop_net_write()
141 safe_close_(&client_socket_); in listen_fn_()
142 client_socket_ = client_socket; in listen_fn_()
144 OSI_NO_INTR(send(client_socket_, "btsnoop\0\0\0\0\1\0\0\x3\xea", 16, 0)); in listen_fn_()