/system/bt/hci/src/ |
D | btsnoop_net.cc | 84 OSI_NO_INTR(ret = send(client_socket_, data, length, 0)); in btsnoop_net_write() 128 OSI_NO_INTR(client_socket = accept(listen_socket_, NULL, NULL)); in listen_fn_() 144 OSI_NO_INTR(send(client_socket_, "btsnoop\0\0\0\0\1\0\0\x3\xea", 16, 0)); in listen_fn_()
|
D | hci_layer_linux.cc | 314 OSI_NO_INTR(wrote = write(fd, &ev, 6)); in wait_hcidev() 323 OSI_NO_INTR(n = poll(fds, 1, MGMT_EV_POLL_TIMEOUT)); in wait_hcidev() 335 OSI_NO_INTR(n = read(fd, &ev, sizeof(struct mgmt_pkt))); in wait_hcidev() 383 OSI_NO_INTR(len = write(fd, &event, sizeof(event))); in rfkill()
|
/system/bt/osi/src/ |
D | socket.cc | 120 OSI_NO_INTR(fd = accept(socket->fd, NULL, NULL)); in socket_accept() 138 OSI_NO_INTR(ret = recv(socket->fd, buf, count, MSG_DONTWAIT)); in socket_read() 148 OSI_NO_INTR(ret = send(socket->fd, buf, count, MSG_DONTWAIT)); in socket_write() 181 OSI_NO_INTR(ret = sendmsg(socket->fd, &msg, MSG_DONTWAIT)); in socket_write_and_transfer_fd()
|
D | reactor.cc | 248 OSI_NO_INTR(ret = epoll_wait(reactor->epoll_fd, events, MAX_EVENTS, -1)); in run_reactor()
|
D | metrics.cc | 423 OSI_NO_INTR(ret = write(fd, protoBase64.c_str(), protoBase64.size())); in WriteBase64()
|
/system/bt/udrv/ulinux/ |
D | uipc.cc | 175 OSI_NO_INTR(poll_ret = poll(&pfd, 1, 0)); in accept_server_socket() 183 OSI_NO_INTR(fd = accept(sfd, (struct sockaddr*)&remote, &len)); in accept_server_socket() 318 OSI_NO_INTR(recv(uipc_main.signal_fds[0], &sig_recv, sizeof(sig_recv), in uipc_check_interrupt_locked() 327 OSI_NO_INTR(send(uipc_main.signal_fds[1], &sig_on, sizeof(sig_on), 0)); in uipc_wakeup_locked() 375 OSI_NO_INTR(ret = poll(&pfd, 1, 1)); in uipc_flush_ch_locked() 634 OSI_NO_INTR(ret = write(uipc_main.ch[ch_id].fd, p_buf, msglen)); in UIPC_Send() 676 OSI_NO_INTR(poll_ret = poll(&pfd, 1, uipc_main.ch[ch_id].read_poll_tmo_ms)); in UIPC_Read() 698 OSI_NO_INTR(n = recv(fd, p_buf + n_read, len - n_read, 0)); in UIPC_Read()
|
/system/bt/btif/src/ |
D | btif_sock_util.cc | 68 OSI_NO_INTR(ret = send(sock_fd, buf, s, 0)); in sock_send_all() 83 OSI_NO_INTR(ret = recv(sock_fd, buf, r, MSG_WAITALL)); in sock_recv_all() 126 OSI_NO_INTR(ret = sendmsg(sock_fd, &msg, MSG_NOSIGNAL)); in sock_send_fd()
|
D | btif_sock_thread.cc | 246 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_add_fd() 264 OSI_NO_INTR(ret = send(ts[thread_handle].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_remove_fd_and_close() 298 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, cmd_send, size_send, 0)); in btsock_thread_post_cmd() 314 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_wakeup() 330 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_exit() 417 OSI_NO_INTR(ret = recv(fd, &cmd, sizeof(cmd), MSG_WAITALL)); in process_cmd_sock() 525 OSI_NO_INTR(ret = poll(pfds, ts[h].poll_count, -1)); in sock_poll_thread()
|
D | btif_pan.cc | 430 OSI_NO_INTR(ret = write(tap_fd, packet, len + sizeof(tETH_HDR))); in btpan_tap_send() 698 OSI_NO_INTR(ret = read(fd, btpan_cb.congest_packet, in btu_exec_tap_fd_read() 750 OSI_NO_INTR(ret = poll(&ufd, 1, 0)); in btu_exec_tap_fd_read()
|
D | btif_sock_rfc.cc | 765 OSI_NO_INTR( in send_data_to_app() 919 OSI_NO_INTR(received = recv(slot->fd, buf, size, 0)); in bta_co_rfc_data_outgoing()
|
D | btif_sock_l2cap.cc | 991 OSI_NO_INTR(sent = send(sock->our_fd, buf, len, MSG_DONTWAIT)); in flush_incoming_que_on_wr_signal_l() 1047 OSI_NO_INTR(count = recv(fd, buffer, L2CAP_MAX_SDU_LENGTH, in btsock_l2cap_signaled()
|
D | btif_hl.cc | 4417 OSI_NO_INTR(r = recv(p_scb->socket_id[1], p_dcb->p_tx_pkt, p_dcb->mtu, in btif_hl_select_monitor_callback() 4482 OSI_NO_INTR(ret = send(signal_fds[1], &sig_on, sizeof(sig_on), 0)); in btif_hl_select_wakeup() 4502 OSI_NO_INTR(ret = send(signal_fds[1], &sig_on, sizeof(sig_on), 0)); in btif_hl_select_close_connected() 4522 OSI_NO_INTR(result = send(signal_fds[1], &sig_on, sizeof(sig_on), 0)); in btif_hl_close_select_thread() 4553 OSI_NO_INTR( in btif_hl_select_wake_reset()
|
D | btif_rc.cc | 5420 OSI_NO_INTR(nanosleep(&delay, &delay)); in sleep_ms()
|
/system/bt/vendor_libs/linux/ |
D | bt_vendor_linux.cc | 179 OSI_NO_INTR(wrote = write(fd, &ev, 6)); in bt_vendor_wait_hcidev() 188 OSI_NO_INTR(n = poll(fds, 1, MGMT_EV_POLL_TIMEOUT)); in bt_vendor_wait_hcidev() 200 OSI_NO_INTR(n = read(fd, &ev, sizeof(struct mgmt_pkt))); in bt_vendor_wait_hcidev() 286 OSI_NO_INTR(len = write(fd, &event, sizeof(event))); in bt_vendor_rfkill()
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | test_channel_transport.cc | 38 OSI_NO_INTR(listen_fd_ = socket(AF_INET, SOCK_STREAM, 0)); in SetUp() 80 OSI_NO_INTR(accept_fd = accept(listen_fd_, reinterpret_cast<sockaddr*>( in Accept()
|
/system/bt/osi/include/ |
D | osi.h | 65 #define OSI_NO_INTR(fn) \ macro
|
/system/bt/service/ipc/ |
D | linux_ipc_host.cc | 250 OSI_NO_INTR(size = in OnMessage() 261 OSI_NO_INTR(size = read(pfds_[kFdIpc].fd, &ipc_msg[0], ipc_msg.size())); in OnMessage() 310 OSI_NO_INTR(r = read(pfds_[kFdGatt].fd, id.data(), id.size())); in OnGattWrite() 329 OSI_NO_INTR(r = write(pfds_[kFdIpc].fd, transmit.data(), transmit.size())); in OnGattWrite()
|
/system/bt/osi/src/socket_utils/ |
D | socket_local_client.cc | 124 OSI_NO_INTR(err = connect(fd, (struct sockaddr*)&addr, alen)); in osi_socket_local_client_connect()
|
/system/bt/btif/co/ |
D | bta_hh_co.cc | 63 OSI_NO_INTR(ret = write(fd, ev, sizeof(*ev))); in uhid_write() 86 OSI_NO_INTR(ret = read(p_dev->fd, &ev, sizeof(ev))); in uhid_read_event() 205 OSI_NO_INTR(ret = poll(pfds, 1, 50)); in btif_hh_poll_event_thread()
|
D | bta_hl_co.cc | 350 OSI_NO_INTR( in bta_hl_co_put_rx_data()
|
/system/bt/tools/hci/ |
D | main.c | 186 OSI_NO_INTR(ret = connect(sock, (const struct sockaddr*)&addr, sizeof(addr))); in write_hci_command()
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 280 OSI_NO_INTR(read = recv(fd, p, len, MSG_NOSIGNAL)); in skt_read() 294 OSI_NO_INTR(sent = send(fd, p, len, MSG_NOSIGNAL)); in skt_write() 304 OSI_NO_INTR(sent = send(fd, p, len - count, MSG_NOSIGNAL | MSG_DONTWAIT)); in skt_write() 346 OSI_NO_INTR(ret = recv(common->ctrl_fd, buffer, length, MSG_NOSIGNAL)); in a2dp_ctrl_receive() 383 OSI_NO_INTR(sent = send(common->ctrl_fd, buffer, remaining, MSG_NOSIGNAL)); in a2dp_ctrl_send() 429 OSI_NO_INTR(sent = send(common->ctrl_fd, &cmd, 1, MSG_NOSIGNAL)); in a2dp_command()
|
/system/bt/service/ |
D | gatt_server_old.cc | 281 OSI_NO_INTR(status = write(g_internal->pipefd[kPipeWriteEnd], in RequestWriteCallback() 323 OSI_NO_INTR(status = write(g_internal->pipefd[kPipeWriteEnd], uuid.data(), in RequestExecWriteCallback()
|