Lines Matching refs:sock_fd
45 const Uuid* uuid, int channel, int* sock_fd,
48 const Uuid* uuid, int channel, int* sock_fd,
134 int* sock_fd, int flags, int app_uid) { in btsock_listen() argument
136 CHECK(sock_fd != NULL); in btsock_listen()
139 *sock_fd = INVALID_FD; in btsock_listen()
150 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, in btsock_listen()
155 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen()
172 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen()
175 status = btsock_sco_listen(sock_fd, flags); in btsock_listen()
195 const Uuid* uuid, int channel, int* sock_fd, in btsock_connect() argument
198 CHECK(sock_fd != NULL); in btsock_connect()
200 *sock_fd = INVALID_FD; in btsock_connect()
211 btsock_rfc_connect(bd_addr, uuid, channel, sock_fd, flags, app_uid); in btsock_connect()
215 status = btsock_l2cap_connect(bd_addr, channel, sock_fd, flags, app_uid); in btsock_connect()
222 status = btsock_l2cap_connect(bd_addr, channel, sock_fd, flags, app_uid); in btsock_connect()
226 status = btsock_sco_connect(bd_addr, sock_fd, flags); in btsock_connect()