/system/bt/hci/src/ |
D | btsnoop_net.c | 82 OSI_NO_INTR(ret = send(client_socket_, data, length, 0)); in btsnoop_net_write() 123 OSI_NO_INTR(client_socket = accept(listen_socket_, NULL, NULL)); in listen_fn_() 138 OSI_NO_INTR(send(client_socket_, "btsnoop\0\0\0\0\1\0\0\x3\xea", 16, 0)); in listen_fn_()
|
D | hci_hal_h4.c | 158 OSI_NO_INTR(ret = write(uart_fd, data + transmitted_length, length)); in transmit_data()
|
D | hci_hal_mct.c | 164 OSI_NO_INTR(ret = write(fd, data + transmitted_length, length)); in transmit_data_on()
|
/system/bt/udrv/ulinux/ |
D | uipc.c | 184 OSI_NO_INTR(poll_ret = poll(&pfd, 1, 0)); in accept_server_socket() 193 OSI_NO_INTR(fd = accept(sfd, (struct sockaddr *)&remote, &len)); in accept_server_socket() 337 OSI_NO_INTR(recv(uipc_main.signal_fds[0], &sig_recv, sizeof(sig_recv), in uipc_check_interrupt_locked() 347 OSI_NO_INTR(send(uipc_main.signal_fds[1], &sig_on, sizeof(sig_on), 0)); in uipc_wakeup_locked() 403 OSI_NO_INTR(ret = poll(&pfd, 1, 1)); in uipc_flush_ch_locked() 702 OSI_NO_INTR(ret = write(uipc_main.ch[ch_id].fd, p_buf, msglen)); in UIPC_Send() 753 OSI_NO_INTR(poll_ret = poll(&pfd, 1, in UIPC_Read() 778 OSI_NO_INTR(n = recv(fd, p_buf+n_read, len-n_read, 0)); in UIPC_Read()
|
/system/bt/osi/src/ |
D | socket.c | 117 OSI_NO_INTR(fd = accept(socket->fd, NULL, NULL)); in socket_accept() 134 OSI_NO_INTR(ret = recv(socket->fd, buf, count, MSG_DONTWAIT)); in socket_read() 144 OSI_NO_INTR(ret = send(socket->fd, buf, count, MSG_DONTWAIT)); in socket_write() 177 OSI_NO_INTR(ret = sendmsg(socket->fd, &msg, MSG_DONTWAIT)); in socket_write_and_transfer_fd()
|
D | metrics.cpp | 200 OSI_NO_INTR(ret = write(fd, protoBase64.c_str(), protoBase64.size())); in metrics_write() 221 OSI_NO_INTR(ret = write(fd, pretty_output.c_str(), pretty_output.size())); in metrics_print()
|
D | eager_reader.c | 251 OSI_NO_INTR(bytes_read = read(reader->inbound_fd, buffer->data, in inbound_data_waiting()
|
D | reactor.c | 240 OSI_NO_INTR(ret = epoll_wait(reactor->epoll_fd, events, MAX_EVENTS, -1)); in run_reactor()
|
/system/bt/btif/src/ |
D | btif_sock_util.c | 65 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() 129 OSI_NO_INTR(ret = sendmsg(sock_fd, &msg, MSG_NOSIGNAL)); in sock_send_fd()
|
D | btif_sock_thread.c | 268 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_add_fd() 289 OSI_NO_INTR(ret = send(ts[thread_handle].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_remove_fd_and_close() 327 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, cmd_send, size_send, 0)); in btsock_thread_post_cmd() 346 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_wakeup() 365 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_exit() 463 OSI_NO_INTR(ret = recv(fd, &cmd, sizeof(cmd), MSG_WAITALL)); in process_cmd_sock() 573 OSI_NO_INTR(ret = poll(pfds, ts[h].poll_count, -1)); in sock_poll_thread()
|
D | btif_pan.c | 460 OSI_NO_INTR(ret = write(tap_fd, packet, len + sizeof(tETH_HDR))); in btpan_tap_send() 745 OSI_NO_INTR(ret = read(fd, btpan_cb.congest_packet, in btu_exec_tap_fd_read() 792 OSI_NO_INTR(ret = poll(&ufd, 1, 0)); in btu_exec_tap_fd_read()
|
D | btif_sock_rfc.c | 741 OSI_NO_INTR(sent = send(fd, p_buf->data + p_buf->offset, p_buf->len, in send_data_to_app() 910 OSI_NO_INTR(received = recv(slot->fd, buf, size, 0)); in bta_co_rfc_data_outgoing()
|
D | btif_sock_l2cap.c | 1002 OSI_NO_INTR(sent = send(sock->our_fd, buf, len, MSG_DONTWAIT)); in flush_incoming_que_on_wr_signal_l() 1061 OSI_NO_INTR(count = recv(fd, buffer, L2CAP_MAX_SDU_LENGTH, in btsock_l2cap_signaled()
|
D | btif_hl.c | 4659 OSI_NO_INTR(r = recv(p_scb->socket_id[1], p_dcb->p_tx_pkt, in btif_hl_select_monitor_callback() 4718 OSI_NO_INTR(ret = send(signal_fds[1], &sig_on, sizeof(sig_on), 0)); in btif_hl_select_wakeup() 4738 OSI_NO_INTR(ret = send(signal_fds[1], &sig_on, sizeof(sig_on), 0)); in btif_hl_select_close_connected() 4759 OSI_NO_INTR(result = send(signal_fds[1], &sig_on, sizeof(sig_on), 0)); in btif_hl_close_select_thread() 4791 OSI_NO_INTR(r = recv(signal_fds[0], &sig_recv, sizeof(sig_recv), in btif_hl_select_wake_reset()
|
D | btif_rc.c | 320 OSI_NO_INTR(ret = write(fd, &event, sizeof(event))); in send_event() 379 OSI_NO_INTR(ret = write(fd, &dev, sizeof(dev))); in uinput_create() 4241 OSI_NO_INTR(nanosleep(&delay, &delay)); in sleep_ms()
|
/system/bt/service/ipc/ |
D | linux_ipc_host.cpp | 254 OSI_NO_INTR(size = recv(pfds_[kFdIpc].fd, &ipc_msg[0], 0, in OnMessage() 265 OSI_NO_INTR(size = read(pfds_[kFdIpc].fd, &ipc_msg[0], ipc_msg.size())); in OnMessage() 315 OSI_NO_INTR(r = read(pfds_[kFdGatt].fd, id.data(), id.size())); in OnGattWrite() 334 OSI_NO_INTR(r = write(pfds_[kFdIpc].fd, transmit.data(), transmit.size())); in OnGattWrite()
|
/system/bt/osi/include/ |
D | osi.h | 64 #define OSI_NO_INTR(fn) do {} while ((fn) == -1 && errno == EINTR) macro
|
/system/bt/vendor_libs/linux/ |
D | bt_vendor_linux.c | 184 OSI_NO_INTR(wrote = write(fd, &ev, 6)); in bt_vendor_wait_hcidev() 193 OSI_NO_INTR(n = poll(fds, 1, MGMT_EV_POLL_TIMEOUT)); in bt_vendor_wait_hcidev() 296 OSI_NO_INTR(len = write(fd, &event, sizeof(event))); in bt_vendor_rfkill()
|
/system/bt/osi/src/socket_utils/ |
D | socket_local_client.c | 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.c | 63 OSI_NO_INTR(ret = write(fd, ev, sizeof(*ev))); in uhid_write() 88 OSI_NO_INTR(ret = read(p_dev->fd, &ev, sizeof(ev))); in uhid_read_event() 211 OSI_NO_INTR(ret = poll(pfds, 1, 50)); in btif_hh_poll_event_thread()
|
D | bta_hl_co.c | 385 OSI_NO_INTR(r = send(p_dcb->p_scb->socket_id[1], p_dcb->p_rx_pkt, in bta_hl_co_put_rx_data()
|
/system/bt/tools/hci/ |
D | main.c | 180 OSI_NO_INTR(ret = connect(sock, (const struct sockaddr *)&addr, in write_hci_command()
|
/system/bt/audio_a2dp_hw/ |
D | audio_a2dp_hw.c | 266 OSI_NO_INTR(read = recv(fd, p, len, MSG_NOSIGNAL)); in skt_read() 282 OSI_NO_INTR(sent = send(fd, p, len, MSG_NOSIGNAL)); in skt_write() 293 OSI_NO_INTR(sent = send(fd, p, len - count, MSG_NOSIGNAL | MSG_DONTWAIT)); in skt_write() 339 OSI_NO_INTR(ret = recv(common->ctrl_fd, buffer, length, MSG_NOSIGNAL)); in a2dp_ctrl_receive() 381 OSI_NO_INTR(sent = send(common->ctrl_fd, &cmd, 1, MSG_NOSIGNAL)); in a2dp_command()
|
/system/bt/service/ |
D | gatt_server_old.cpp | 235 OSI_NO_INTR(status = write(g_internal->pipefd[kPipeWriteEnd], in RequestWriteCallback() 278 OSI_NO_INTR(status = write(g_internal->pipefd[kPipeWriteEnd], uuid.data(), in RequestExecWriteCallback()
|