Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_sock_l2cap.cc102 static int pth = -1; variable
204 return pth != -1; in is_inited()
361 pth = handle; in btsock_l2cap_init()
369 pth = -1; in btsock_l2cap_cleanup()
491 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, in on_srv_l2cap_psm_connect_l()
493 btsock_thread_add_fd(pth, accept_rs->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_srv_l2cap_psm_connect_l()
540 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, in on_srv_l2cap_le_connect_l()
542 btsock_thread_add_fd(pth, accept_rs->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_srv_l2cap_le_connect_l()
578 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_cl_l2cap_psm_connect_l()
609 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()
333 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, in btsock_rfc_listen()
391 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in btsock_rfc_connect()
534 btsock_thread_add_fd(pth, srv_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, in on_srv_rfc_connect()
536 btsock_thread_add_fd(pth, accept_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in on_srv_rfc_connect()
604 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in on_rfc_write_done()
620 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, in on_rfc_outgoing_congest()
[all …]