Searched refs:pth (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_l2cap.cc | 92 static int pth = -1; variable 195 return pth != -1; in is_inited() 359 pth = handle; in btsock_l2cap_init() 367 pth = -1; in btsock_l2cap_cleanup() 540 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, in on_srv_l2cap_psm_connect_l() 542 btsock_thread_add_fd(pth, accept_rs->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_srv_l2cap_psm_connect_l() 588 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_cl_l2cap_psm_connect_l() 669 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_l2cap_outgoing_congest() 684 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_l2cap_write_done() 717 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_WR, in on_l2cap_data_ind() [all …]
|
D | btif_sock_rfc.cc | 96 static volatile int pth = -1; // poll thread handle variable 108 static bool is_init_done(void) { return pth != -1; } in is_init_done() 111 pth = poll_thread_handle; in btsock_rfc_init() 131 pth = -1; in btsock_rfc_cleanup() 350 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, in btsock_rfc_listen() 417 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in btsock_rfc_connect() 584 btsock_thread_add_fd(pth, srv_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, in on_srv_rfc_connect() 586 btsock_thread_add_fd(pth, accept_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in on_srv_rfc_connect() 665 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in on_rfc_write_done() 682 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in on_rfc_outgoing_congest() [all …]
|