Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_sock_l2cap.c97 static int pth = -1; variable
218 ret = pth != -1; in is_inited()
367 pth = handle; in btsock_l2cap_init()
378 pth = -1; in btsock_l2cap_cleanup()
486 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_EXCEPTION, sock->id); in on_srv_l2cap_psm_connect_l()
487 btsock_thread_add_fd(pth, accept_rs->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_srv_l2cap_psm_connect_l()
529 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_EXCEPTION, sock->id); in on_srv_l2cap_le_connect_l()
530 btsock_thread_add_fd(pth, accept_rs->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_srv_l2cap_le_connect_l()
554 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, sock->id); in on_cl_l2cap_psm_connect_l()
573 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, sock->id); in on_cl_l2cap_le_connect_l()
[all …]
Dbtif_sock_rfc.c96 static volatile int pth = -1; // poll thread handle variable
107 return pth != -1; in is_init_done()
111 pth = poll_thread_handle; in btsock_rfc_init()
130 pth = -1; in btsock_rfc_cleanup()
310 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, slot->id); in btsock_rfc_listen()
370 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, slot->id); in btsock_rfc_connect()
499 btsock_thread_add_fd(pth, srv_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, srv_rs->id); in on_srv_rfc_connect()
500 btsock_thread_add_fd(pth, accept_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, accept_rs->id); in on_srv_rfc_connect()
553 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, slot->id); in on_rfc_write_done()
569 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, slot->id); in on_rfc_outgoing_congest()
[all …]