Searched refs:send (Results 26 - 46 of 46) sorted by relevance

12

/system/bt/btif/src/
H A Dbtif_sock_util.cc68 OSI_NO_INTR(ret = send(sock_fd, buf, s, 0));
70 BTIF_TRACE_ERROR("sock fd:%d send errno:%d, ret:%d", sock_fd, errno, ret);
H A Dbtif_sock_l2cap.cc84 unsigned server_psm_sent : 1; // The server shall only send PSM once.
970 /* return true if we have more to send and should wait for user readiness, false
980 OSI_NO_INTR(sent = send(sock->our_fd, buf, len, MSG_DONTWAIT));
H A Dbtif_sock_rfc.cc366 LOG_ERROR(LOG_TAG, "%s unable to send channel number.", __func__);
448 // already send, just return success.
536 LOG_ERROR(LOG_TAG, "%s unable to send connect completion signal to caller.",
764 sent = send(fd, p_buf->data + p_buf->offset, p_buf->len, MSG_DONTWAIT));
H A Dbtif_hl.cc1893 * Description send the channel destroyed callback
1919 * Description send a channel disconnecting callback
1947 * Description send a channel connecting callback
1978 * Description send a channel disconnected callback
2831 * Description Process the send data confirmation
2846 BTIF_TRACE_DEBUG("send success free p_tx_pkt tx_size=%d", p_dcb->tx_size);
3923 BTIF_TRACE_DEBUG("send BTIF_HL_UPDATE_MDL event app_idx=%d ", app_idx);
3962 BTIF_TRACE_DEBUG("send BTIF_HL_UPDATE_MDL event app_idx=%d ", app_idx);
4357 BTIF_TRACE_DEBUG("btif_hl_select_monitor_callback send data r =%d",
4361 "btif_hl_select_monitor_callback send dat
[all...]
/system/bt/osi/src/
H A Dsocket.cc148 OSI_NO_INTR(ret = send(socket->fd, buf, count, MSG_DONTWAIT));
/system/chre/host/common/
H A Dsocket_server.cc61 // poll skips over it, and we don't attempt to send on it
230 ssize_t bytesSent = send(clientSocket, data, length, 0);
/system/core/fastboot/
H A Dsocket.cpp73 // According to Windows setsockopt() documentation, if a Windows socket times out during send() or
75 // to re-send after a timeout, so we must use select() rather than SO_RCVTIMEO.
127 // so will send to that server without needing to specify the address again.
185 TEMP_FAILURE_RETRY(send(sock_, reinterpret_cast<const char*>(data), length, 0));
209 // Incomplete buffer write; adjust the buffer to point to the next byte to send.
/system/core/libappfuse/
H A DFuseBuffer.cc100 result = TEMP_FAILURE_RETRY(send(fd, buf, header.len, sockflag));
/system/extras/alloc-stress/
H A Dalloc-stress.cpp80 template <typename T> void send(const T& v) { function in class:Pipe
/system/extras/simpleperf/
H A DUnixSocket.cpp134 TEMP_FAILURE_RETRY(send(fd_, write_data, write_data_size, MSG_NOSIGNAL));
139 PLOG(ERROR) << "send() failed";
153 // The send buffer is empty. If we can receive more messages, just disable
/system/bt/doc/
H A Dpower_management.md117 - `bta_dm_pm_ssr` calls `BTM_SetSsrParams` to actually send along the SSR
174 `prev_low` field is set, calls `bta_dm_pm_ssr` to re-send SSR params,
/system/bt/hci/src/
H A Dhci_layer_linux.cc235 send(reader_thread_ctrl_fd, msg, sizeof(msg), 0);
276 if (ret != packet->len + 1) LOG(ERROR) << "Should have send whole packet";
/system/netd/tests/dns_responder/
H A Ddns_tls_frontend.cpp306 int sent = send(backend_socket_, query, qlen, 0);
308 ALOGI("Failed to send query");
/system/bt/audio_a2dp_hw/src/
H A Daudio_a2dp_hw.cc254 /* Socket send/receive timeout value */
293 // do not poll, use blocking send
294 OSI_NO_INTR(sent = send(fd, p, len, MSG_NOSIGNAL));
300 // use non-blocking send, poll
304 OSI_NO_INTR(sent = send(fd, p, len - count, MSG_NOSIGNAL | MSG_DONTWAIT));
371 // Sends control info for stream |common|. The data to send is stored in
383 OSI_NO_INTR(sent = send(common->ctrl_fd, buffer, remaining, MSG_NOSIGNAL));
395 ERROR("send control data failed: error(%s)", strerror(errno));
398 INFO("send control data failed (%s), retrying", strerror(errno));
401 ERROR("send contro
[all...]
/system/bt/udrv/ulinux/
H A Duipc.cc327 OSI_NO_INTR(send(uipc_main.signal_fds[1], &sig_on, sizeof(sig_on), 0));
/system/connectivity/wificond/net/
H A Dnetlink_manager.cpp369 TEMP_FAILURE_RETRY(send(fd, data.data(), data.size(), 0));
371 LOG(ERROR) << "Failed to send netlink message: " << strerror(errno);
/system/core/init/
H A Dproperty_service.cpp335 int result = TEMP_FAILURE_RETRY(send(socket_, &value, sizeof(value), 0));
369 PLOG(ERROR) << "sys_prop: error waiting for uid " << cred_.uid << " to send property message";
380 LOG(ERROR) << "sys_prop: timeout waiting for uid " << cred_.uid << " to send property message.";
/system/core/libnetutils/
H A Difc_utils.c341 if (send(s, &req, req.n.nlmsg_len, 0) < 0) {
/system/netd/server/
H A DSockDiagTest.cpp152 ASSERT_EQ(0, ret) << "Failed to send IPv4 dump request: " << strerror(-ret);
160 ASSERT_EQ(0, ret) << "Failed to send mapped dump request: " << strerror(-ret);
166 ASSERT_EQ(0, ret) << "Failed to send IPv6 dump request: " << strerror(-ret);
431 const int ret = send(sock, data, sizeof(data), 0);
/system/nfc/halimpl/bcm2079x/adaptation/
H A Duserial_linux.c469 ** Description send a one byte data to the socket as signal to the read
479 return send(signal_fds[1], &sig_on, sizeof(sig_on), 0);
/system/core/adb/
H A Dsysdeps_win32.cpp516 // considerations: Reportedly send() can return zero on timeout, and POSIX
622 int result = send(f->fh_socket, reinterpret_cast<const char*>(buf), len, 0);
628 D("send fd %d failed: %s", _fh_to_int(f),

Completed in 322 milliseconds

12