Lines Matching refs:status

73   bt_status_t status;  in btif_sock_init()  local
81 status = btsock_rfc_init(thread_handle, uid_set); in btif_sock_init()
82 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
83 LOG_ERROR("%s error initializing RFCOMM sockets: %d", __func__, status); in btif_sock_init()
87 status = btsock_l2cap_init(thread_handle, uid_set); in btif_sock_init()
88 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
89 LOG_ERROR("%s error initializing L2CAP sockets: %d", __func__, status); in btif_sock_init()
100 status = btsock_sco_init(thread); in btif_sock_init()
101 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
102 LOG_ERROR("%s error initializing SCO sockets: %d", __func__, status); in btif_sock_init()
138 bt_status_t status = BT_STATUS_FAIL; in btsock_listen() local
148 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, in btsock_listen()
152 status = in btsock_listen()
169 status = in btsock_listen()
173 status = btsock_sco_listen(sock_fd, flags); in btsock_listen()
178 status = BT_STATUS_UNSUPPORTED; in btsock_listen()
181 if (status != BT_STATUS_SUCCESS) { in btsock_listen()
188 return status; in btsock_listen()
198 bt_status_t status = BT_STATUS_FAIL; in btsock_connect() local
207 status = in btsock_connect()
212 status = btsock_l2cap_connect(bd_addr, channel, sock_fd, flags, app_uid); in btsock_connect()
230 status = btsock_l2cap_connect(bd_addr, channel, sock_fd, flags, app_uid); in btsock_connect()
235 status = btsock_sco_connect(bd_addr, sock_fd, flags); in btsock_connect()
240 status = BT_STATUS_UNSUPPORTED; in btsock_connect()
243 if (status != BT_STATUS_SUCCESS) { in btsock_connect()
250 return status; in btsock_connect()