Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_sock_l2cap.cc101 static int pth = -1; variable
203 return pth != -1; in is_inited()
354 pth = handle; in btsock_l2cap_init()
362 pth = -1; in btsock_l2cap_cleanup()
484 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, in on_srv_l2cap_psm_connect_l()
486 btsock_thread_add_fd(pth, accept_rs->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_srv_l2cap_psm_connect_l()
533 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, in on_srv_l2cap_le_connect_l()
535 btsock_thread_add_fd(pth, accept_rs->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_srv_l2cap_le_connect_l()
571 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_cl_l2cap_psm_connect_l()
602 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_cl_l2cap_le_connect_l()
[all …]
Dbtif_sock_rfc.cc110 static volatile int pth = -1; // poll thread handle variable
121 static bool is_init_done(void) { return pth != -1; } in is_init_done()
124 pth = poll_thread_handle; in btsock_rfc_init()
143 pth = -1; in btsock_rfc_cleanup()
334 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, in btsock_rfc_listen()
393 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in btsock_rfc_connect()
536 btsock_thread_add_fd(pth, srv_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, in on_srv_rfc_connect()
538 btsock_thread_add_fd(pth, accept_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in on_srv_rfc_connect()
606 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in on_rfc_write_done()
622 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in on_rfc_outgoing_congest()
[all …]