Lines Matching refs:channel
45 const Uuid* uuid, int channel, int* sock_fd,
48 const Uuid* uuid, int channel, int* sock_fd,
133 const Uuid* service_uuid, int channel, in btsock_listen() argument
141 int original_channel = channel; in btsock_listen()
147 0, 0, app_uid, channel, android::bluetooth::SOCKET_ROLE_LISTEN); 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()
160 channel = 0; in btsock_listen()
161 } else if (channel <= 0) { in btsock_listen()
163 __func__, channel); in btsock_listen()
170 __func__, channel, original_channel, flags); in btsock_listen()
172 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen()
189 0, 0, app_uid, channel, android::bluetooth::SOCKET_ROLE_LISTEN); in btsock_listen()
195 const Uuid* uuid, int channel, int* sock_fd, in btsock_connect() argument
207 0, 0, app_uid, channel, android::bluetooth::SOCKET_ROLE_CONNECTION); 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()
221 __func__, channel, flags); in btsock_connect()
222 status = btsock_l2cap_connect(bd_addr, channel, sock_fd, flags, app_uid); in btsock_connect()
240 0, 0, app_uid, channel, android::bluetooth::SOCKET_ROLE_CONNECTION); in btsock_connect()