Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_sock_util.cc55 OSI_NO_INTR(ret = send(sock_fd, buf, s, 0)); in sock_send_all()
70 OSI_NO_INTR(ret = recv(sock_fd, buf, r, MSG_WAITALL)); in sock_recv_all()
113 OSI_NO_INTR(ret = sendmsg(sock_fd, &msg, MSG_NOSIGNAL)); in sock_send_fd()
Dbtif_sock_thread.cc239 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_add_fd()
257 OSI_NO_INTR(ret = send(ts[thread_handle].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_remove_fd_and_close()
290 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, cmd_send, size_send, 0)); in btsock_thread_post_cmd()
306 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_wakeup()
322 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0)); in btsock_thread_exit()
409 OSI_NO_INTR(ret = recv(fd, &cmd, sizeof(cmd), MSG_WAITALL)); in process_cmd_sock()
503 OSI_NO_INTR(ret = poll(pfds, ts[h].poll_count, -1)); in sock_poll_thread()
Dbtif_pan.cc412 OSI_NO_INTR(ret = write(tap_fd, packet, len + sizeof(tETH_HDR))); in btpan_tap_send()
672 OSI_NO_INTR(ret = read(fd, btpan_cb.congest_packet, in btu_exec_tap_fd_read()
724 OSI_NO_INTR(ret = poll(&ufd, 1, 0)); in btu_exec_tap_fd_read()
Dbtif_sock_l2cap.cc812 OSI_NO_INTR(sent = send(sock->our_fd, buf, len, MSG_DONTWAIT)); in flush_incoming_que_on_wr_signal_l()
872 OSI_NO_INTR(count = recv(fd, get_l2cap_sdu_start_ptr(buffer), size, in btsock_l2cap_signaled()
Dbtif_sock_rfc.cc783 OSI_NO_INTR( in send_data_to_app()
937 OSI_NO_INTR(received = recv(slot->fd, buf, size, 0)); in bta_co_rfc_data_outgoing()
Dbtif_rc.cc5505 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()
125 OSI_NO_INTR(client_socket = accept(listen_socket_, NULL, NULL)); in listen_fn_()
140 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.cc118 OSI_NO_INTR(fd = accept(socket->fd, NULL, NULL)); in socket_accept()
135 OSI_NO_INTR(ret = recv(socket->fd, buf, count, MSG_DONTWAIT)); in socket_read()
145 OSI_NO_INTR(ret = send(socket->fd, buf, count, MSG_DONTWAIT)); in socket_write()
178 OSI_NO_INTR(ret = sendmsg(socket->fd, &msg, MSG_DONTWAIT)); in socket_write_and_transfer_fd()
Dreactor.cc246 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.cc40 OSI_NO_INTR(listen_fd_ = socket(AF_INET, SOCK_STREAM, 0)); in SetUp()
81OSI_NO_INTR(accept_fd = accept(listen_fd_, reinterpret_cast<sockaddr*>(&test_channel_address), &so… in Accept()
/system/bt/service/ipc/
Dlinux_ipc_host.cc250 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/vendor_libs/test_vendor_lib/model/setup/
Dtest_channel_transport.cc37 OSI_NO_INTR(listen_fd_ = socket(AF_INET, SOCK_STREAM, 0)); in SetUp()
80 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.cc64 OSI_NO_INTR(ret = write(fd, ev, sizeof(*ev))); in uhid_write()
87 OSI_NO_INTR(ret = read(p_dev->fd, &ev, sizeof(ev))); in uhid_read_event()
256 OSI_NO_INTR(ret = poll(pfds, 1, 50)); in btif_hh_poll_event_thread()
/system/bt/tools/hci/
Dmain.c187 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.cc296 OSI_NO_INTR(read = recv(fd, p, len, MSG_NOSIGNAL)); in skt_read()
310 OSI_NO_INTR(sent = send(fd, p, len, MSG_NOSIGNAL)); in skt_write()
320 OSI_NO_INTR(sent = send(fd, p, len - count, MSG_NOSIGNAL | MSG_DONTWAIT)); in skt_write()
362 OSI_NO_INTR(ret = recv(common->ctrl_fd, buffer, length, MSG_NOSIGNAL)); in ha_ctrl_receive()
399 OSI_NO_INTR(sent = send(common->ctrl_fd, buffer, remaining, MSG_NOSIGNAL)); in ha_ctrl_send()
446 OSI_NO_INTR(sent = send(common->ctrl_fd, &cmd, 1, MSG_NOSIGNAL)); in ha_command()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc290 OSI_NO_INTR(read = recv(fd, p, len, MSG_NOSIGNAL)); in skt_read()
304 OSI_NO_INTR(sent = send(fd, p, len, MSG_NOSIGNAL)); in skt_write()
314 OSI_NO_INTR(sent = send(fd, p, len - count, MSG_NOSIGNAL | MSG_DONTWAIT)); in skt_write()
356 OSI_NO_INTR(ret = recv(common->ctrl_fd, buffer, length, MSG_NOSIGNAL)); in a2dp_ctrl_receive()
393 OSI_NO_INTR(sent = send(common->ctrl_fd, buffer, remaining, MSG_NOSIGNAL)); in a2dp_ctrl_send()
441 OSI_NO_INTR(sent = send(common->ctrl_fd, &cmd, 1, MSG_NOSIGNAL)); in a2dp_command()
/system/bt/service/
Dgatt_server_old.cc284 OSI_NO_INTR(status = write(g_internal->pipefd[kPipeWriteEnd], in RequestWriteCallback()
325 OSI_NO_INTR(status = write(g_internal->pipefd[kPipeWriteEnd], uuid.data(), in RequestExecWriteCallback()
/system/bt/common/
Dmetrics.cc477 OSI_NO_INTR(ret = write(fd, protoBase64.c_str(), protoBase64.size())); in WriteBase64()