Home
last modified time | relevance | path

Searched refs:OSI_NO_INTR (Results 1 – 23 of 23) sorted by relevance

/system/bt/btif/src/
Dbtif_sock_util.cc68 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()
Dbtif_sock_thread.cc246 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()
Dbtif_pan.cc431 OSI_NO_INTR(ret = write(tap_fd, packet, len + sizeof(tETH_HDR))); in btpan_tap_send()
691 OSI_NO_INTR(ret = read(fd, btpan_cb.congest_packet, in btu_exec_tap_fd_read()
743 OSI_NO_INTR(ret = poll(&ufd, 1, 0)); in btu_exec_tap_fd_read()
Dbtif_sock_rfc.cc802 OSI_NO_INTR( in send_data_to_app()
957 OSI_NO_INTR(received = recv(slot->fd, buf, size, 0)); in bta_co_rfc_data_outgoing()
Dbtif_sock_l2cap.cc968 OSI_NO_INTR(sent = send(sock->our_fd, buf, len, MSG_DONTWAIT)); in flush_incoming_que_on_wr_signal_l()
1028 OSI_NO_INTR(count = recv(fd, get_l2cap_sdu_start_ptr(buffer), size, in btsock_l2cap_signaled()
Dbtif_hl.cc4358 OSI_NO_INTR(r = recv(p_scb->socket_id[1], p_dcb->p_tx_pkt, p_dcb->mtu, in btif_hl_select_monitor_callback()
4423 OSI_NO_INTR(ret = send(signal_fds[1], &sig_on, sizeof(sig_on), 0)); in btif_hl_select_wakeup()
4443 OSI_NO_INTR(ret = send(signal_fds[1], &sig_on, sizeof(sig_on), 0)); in btif_hl_select_close_connected()
4463 OSI_NO_INTR(result = send(signal_fds[1], &sig_on, sizeof(sig_on), 0)); in btif_hl_close_select_thread()
4494 OSI_NO_INTR( in btif_hl_select_wake_reset()
Dbtif_rc.cc5367 OSI_NO_INTR(nanosleep(&delay, &delay)); in sleep_ms()
/system/bt/hci/src/
Dbtsnoop_net.cc84 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_()
Dhci_layer_linux.cc315 OSI_NO_INTR(wrote = write(fd, &ev, 6)); in wait_hcidev()
324 OSI_NO_INTR(n = poll(fds, 1, MGMT_EV_POLL_TIMEOUT)); in wait_hcidev()
336 OSI_NO_INTR(n = read(fd, &ev, sizeof(struct mgmt_pkt))); in wait_hcidev()
384 OSI_NO_INTR(len = write(fd, &event, sizeof(event))); in rfkill()
/system/bt/osi/src/
Dsocket.cc120 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()
Dreactor.cc248 OSI_NO_INTR(ret = epoll_wait(reactor->epoll_fd, events, MAX_EVENTS, -1)); in run_reactor()
/system/bt/udrv/ulinux/
Duipc.cc148 OSI_NO_INTR(poll_ret = poll(&pfd, 1, 0)); in accept_server_socket()
156 OSI_NO_INTR(fd = accept(sfd, (struct sockaddr*)&remote, &len)); in accept_server_socket()
290 OSI_NO_INTR( in uipc_check_interrupt_locked()
299 OSI_NO_INTR(send(uipc.signal_fds[1], &sig_on, sizeof(sig_on), 0)); in uipc_wakeup_locked()
347 OSI_NO_INTR(ret = poll(&pfd, 1, 1)); in uipc_flush_ch_locked()
603 OSI_NO_INTR(ret = write(uipc.ch[ch_id].fd, p_buf, msglen)); in UIPC_Send()
646 OSI_NO_INTR(poll_ret = poll(&pfd, 1, uipc.ch[ch_id].read_poll_tmo_ms)); in UIPC_Read()
668 OSI_NO_INTR(n = recv(fd, p_buf + n_read, len - n_read, 0)); in UIPC_Read()
/system/bt/osi/include/
Dosi.h56 #define OSI_NO_INTR(fn) \ macro
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dserver_port_factory.cc44 OSI_NO_INTR(listen_fd_ = socket(AF_INET, SOCK_STREAM, 0)); in SetUp()
85OSI_NO_INTR(accept_fd = accept(listen_fd_, reinterpret_cast<sockaddr*>(&test_channel_address), &so… in Accept()
/system/bt/service/ipc/
Dlinux_ipc_host.cc251 OSI_NO_INTR(size = in OnMessage()
262 OSI_NO_INTR(size = read(pfds_[kFdIpc].fd, &ipc_msg[0], ipc_msg.size())); in OnMessage()
311 OSI_NO_INTR(r = read(pfds_[kFdGatt].fd, id.data(), id.size())); in OnGattWrite()
330 OSI_NO_INTR(r = write(pfds_[kFdIpc].fd, transmit.data(), transmit.size())); in OnGattWrite()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dtest_channel_transport.cc38 OSI_NO_INTR(listen_fd_ = socket(AF_INET, SOCK_STREAM, 0)); in SetUp()
76 OSI_NO_INTR(accept_fd = accept(listen_fd_, NULL, NULL)); in Accept()
/system/bt/osi/src/socket_utils/
Dsocket_local_client.cc124 OSI_NO_INTR(err = connect(fd, (struct sockaddr*)&addr, alen)); in osi_socket_local_client_connect()
/system/bt/btif/co/
Dbta_hh_co.cc65 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()
232 OSI_NO_INTR(ret = poll(pfds, 1, 50)); in btif_hh_poll_event_thread()
/system/bt/tools/hci/
Dmain.c186 OSI_NO_INTR(ret = connect(sock, (const struct sockaddr*)&addr, sizeof(addr))); in write_hci_command()
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc275 OSI_NO_INTR(read = recv(fd, p, len, MSG_NOSIGNAL)); in skt_read()
289 OSI_NO_INTR(sent = send(fd, p, len, MSG_NOSIGNAL)); in skt_write()
299 OSI_NO_INTR(sent = send(fd, p, len - count, MSG_NOSIGNAL | MSG_DONTWAIT)); in skt_write()
341 OSI_NO_INTR(ret = recv(common->ctrl_fd, buffer, length, MSG_NOSIGNAL)); in ha_ctrl_receive()
378 OSI_NO_INTR(sent = send(common->ctrl_fd, buffer, remaining, MSG_NOSIGNAL)); in ha_ctrl_send()
425 OSI_NO_INTR(sent = send(common->ctrl_fd, &cmd, 1, MSG_NOSIGNAL)); in ha_command()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc291 OSI_NO_INTR(read = recv(fd, p, len, MSG_NOSIGNAL)); in skt_read()
305 OSI_NO_INTR(sent = send(fd, p, len, MSG_NOSIGNAL)); in skt_write()
315 OSI_NO_INTR(sent = send(fd, p, len - count, MSG_NOSIGNAL | MSG_DONTWAIT)); in skt_write()
357 OSI_NO_INTR(ret = recv(common->ctrl_fd, buffer, length, MSG_NOSIGNAL)); in a2dp_ctrl_receive()
394 OSI_NO_INTR(sent = send(common->ctrl_fd, buffer, remaining, MSG_NOSIGNAL)); in a2dp_ctrl_send()
442 OSI_NO_INTR(sent = send(common->ctrl_fd, &cmd, 1, MSG_NOSIGNAL)); in a2dp_command()
/system/bt/service/
Dgatt_server_old.cc282 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()
/system/bt/common/
Dmetrics.cc476 OSI_NO_INTR(ret = write(fd, protoBase64.c_str(), protoBase64.size())); in WriteBase64()