Home
last modified time | relevance | path

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

/system/bt/btif/include/
Dbtif_sock_thread.h29 #define SOCK_THREAD_FD_RD 1 /* BT socket read signal */ macro
/system/bt/btif/src/
Dbtif_sock_l2cap.c504 btsock_thread_add_fd(pth, accept_rs->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_srv_l2cap_psm_connect_l()
546 btsock_thread_add_fd(pth, accept_rs->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, in on_srv_l2cap_le_connect_l()
570 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, sock->id); in on_cl_l2cap_psm_connect_l()
589 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, sock->id); in on_cl_l2cap_le_connect_l()
655 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, sock->id); in on_l2cap_outgoing_congest()
675 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, sock->id); in on_l2cap_write_done()
692 btsock_thread_add_fd(pth, sock->our_fd, BTSOCK_L2CAP, SOCK_THREAD_FD_RD, sock->id); in on_l2cap_write_fixed_done()
1000 if ((flags & SOCK_THREAD_FD_RD) && !sock->server) { in btsock_l2cap_signaled()
Dbtif_pan.c291 btsock_thread_add_fd(pan_pth, tap_fd, 0, SOCK_THREAD_FD_RD, 0); in create_tap_read_thread()
391 btsock_thread_add_fd(pan_pth, btpan_cb.tap_fd, 0, SOCK_THREAD_FD_RD, 0); in btpan_set_flow_control()
691 btsock_thread_add_fd(pan_pth, fd, 0, SOCK_THREAD_FD_RD, 0); in btu_exec_tap_fd_read()
697 btsock_thread_add_fd(pan_pth, fd, 0, SOCK_THREAD_FD_RD, 0); in btu_exec_tap_fd_read()
733 btsock_thread_add_fd(pan_pth, fd, 0, SOCK_THREAD_FD_RD, 0); in btu_exec_tap_fd_read()
760 } else if (flags & SOCK_THREAD_FD_RD) in btpan_tap_fd_signaled()
Dbtif_sock_rfc.c359 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, slot->id); in btsock_rfc_connect()
489 btsock_thread_add_fd(pth, accept_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, accept_rs->id); in on_srv_rfc_connect()
539 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, slot->id); in on_rfc_write_done()
551 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, slot->id); in on_rfc_outgoing_congest()
782 if (flags & SOCK_THREAD_FD_RD && !slot->f.server) { in btsock_rfc_signaled()
Dbtif_sock_thread.c279 add_poll(h, ts[h].cmd_fdr, 0, SOCK_THREAD_FD_RD, 0); in init_cmd_fd()
438 if(flags & SOCK_THREAD_FD_RD) in flags2pevents()
558 flags |= SOCK_THREAD_FD_RD; in process_data_sock()