Searched refs:send_fd (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_util.cc | 78 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) return -1; in sock_send_fd() 94 cmsg->cmsg_len = CMSG_LEN(sizeof send_fd); in sock_send_fd() 95 memcpy(CMSG_DATA(cmsg), &send_fd, sizeof send_fd); in sock_send_fd() 113 send_fd, (int)ret, errno, strerror(errno)); in sock_send_fd() 124 log::verbose("close fd:{} after sent", send_fd); in sock_send_fd() 129 close(send_fd); in sock_send_fd()
|
D | btif_sock_l2cap.cc | 416 int status, int send_fd, uint16_t rx_mtu, in send_app_connect_signal() argument 427 if (send_fd != -1) { in send_app_connect_signal() 428 if (sock_send_fd(fd, (const uint8_t*)&cs, sizeof(cs), send_fd) == in send_app_connect_signal() 435 log::error("Unable to send data to socket fd:{} send_fd:{}", fd, send_fd); in send_app_connect_signal()
|
D | btif_sock_rfc.cc | 501 int status, int send_fd) { in send_app_connect_signal() argument 511 if (send_fd == INVALID_FD) in send_app_connect_signal() 514 return sock_send_fd(fd, (const uint8_t*)&cs, sizeof(cs), send_fd) == in send_app_connect_signal()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_sock_util.h | 32 int sock_send_fd(int sock_fd, const uint8_t* buffer, int len, int send_fd);
|