Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_util.cc78 int sock_send_fd(int sock_fd, const uint8_t* buf, int len, int send_fd) { in sock_send_fd() argument
85 asrt(send_fd != -1); in sock_send_fd()
86 if (sock_fd == -1 || send_fd == -1) { in sock_send_fd()
96 cmsg->cmsg_len = CMSG_LEN(sizeof send_fd); in sock_send_fd()
97 memcpy(CMSG_DATA(cmsg), &send_fd, sizeof send_fd); in sock_send_fd()
114 log::error("fd:{}, send_fd:{}, sendmsg ret:{}, errno:{}, {}", sock_fd, send_fd, (int)ret, in sock_send_fd()
126 log::verbose("close fd:{} after sent", send_fd); in sock_send_fd()
131 close(send_fd); in sock_send_fd()
Dbtif_sock_l2cap.cc471 int send_fd, uint16_t rx_mtu, uint16_t tx_mtu, in send_app_connect_signal() argument
483 if (send_fd != -1) { in send_app_connect_signal()
484 if (sock_send_fd(fd, (const uint8_t*)&cs, sizeof(cs), send_fd) == sizeof(cs)) { in send_app_connect_signal()
491 log::error("Unable to send data to socket fd:{} send_fd:{}", fd, send_fd); in send_app_connect_signal()
Dbtif_sock_rfc.cc604 int send_fd, uint64_t socket_id) { in send_app_connect_signal() argument
615 if (send_fd == INVALID_FD) { in send_app_connect_signal()
619 return sock_send_fd(fd, (const uint8_t*)&cs, sizeof(cs), send_fd) == sizeof(cs); in send_app_connect_signal()
/packages/modules/Bluetooth/system/btif/include/
Dbtif_sock_util.h32 int sock_send_fd(int sock_fd, const uint8_t* buffer, int len, int send_fd);
/packages/modules/Bluetooth/system/btif/co/
Dbta_hh_co.cc218 int send_fd = PTR_TO_INT(data); in uhid_delayed_ready_cback() local
224 to_uhid_thread(send_fd, &ev, 0); in uhid_delayed_ready_cback()