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

12

/system/netd/client/
H A DFwmarkClient.h41 int send(FwmarkCommand* data, int fd, FwmarkConnectInfo* connectInfo);
48 // addresses and only send basic information necessary for marking sockets.
H A DNetdClient.cpp71 if (int error = FwmarkClient().send(&command, acceptedSocket, nullptr)) {
83 if (int error = FwmarkClient().send(&command, sockfd, nullptr)) {
101 FwmarkClient().send(&command, sockfd, &connectInfo);
209 return FwmarkClient().send(&command, socketFd, nullptr);
225 return FwmarkClient().send(&command, socketFd, nullptr);
233 return FwmarkClient().send(&command, socketFd, nullptr);
238 return FwmarkClient().send(&command, -1, nullptr);
H A DFwmarkClient.cpp66 int FwmarkClient::send(FwmarkCommand* data, int fd, FwmarkConnectInfo* connectInfo) { function in class:FwmarkClient
/system/core/init/
H A Dproperty_service_test.cpp42 // ...so we can send it a malformed request.
47 ASSERT_EQ(static_cast<ssize_t>(sizeof(msg)), send(fd, &msg, sizeof(msg), 0));
48 ASSERT_EQ(static_cast<ssize_t>(sizeof(size)), send(fd, &size, sizeof(size), 0));
49 ASSERT_EQ(static_cast<ssize_t>(sizeof(data)), send(fd, &data, sizeof(data), 0));
/system/netd/server/
H A DNFLogListener.cpp64 Status cfgCmdPfUnbind(const SendFn& send) { argument
79 return send(makeSlice(msg));
85 Status cfgMode(const SendFn& send, uint16_t nfLogGroup, uint32_t range, uint8_t mode) { argument
102 return send(makeSlice(msg));
106 Status cfgCmdBind(const SendFn& send, uint16_t nfLogGroup) { argument
122 return send(makeSlice(msg));
126 Status cfgCmdUnbind(const SendFn& send, uint16_t nfLogGroup) { argument
142 return send(makeSlice(msg));
172 const auto sendFn = [this](const Slice msg) { return mListener->send(msg); };
179 const auto sendFn = [this](const Slice msg) { return mListener->send(ms
[all...]
H A DNetlinkListener.h40 virtual netdutils::Status send(const netdutils::Slice msg) = 0;
77 netdutils::Status send(const netdutils::Slice msg) override;
H A DNFLogListenerTest.cpp58 MOCK_METHOD1(send, netdutils::Status(const netdutils::Slice msg));
82 // Two sends for cfgCmdBind() & cfgMode(), one send at destruction time for cfgCmdUnbind()
83 EXPECT_CALL(*mNLListener, send(_)).Times(Exactly(3)).WillRepeatedly(Invoke(sendOk));
H A DNetlinkListener.cpp78 Status NetlinkListener::send(const Slice msg) { function in class:android::net::NetlinkListener
/system/core/libmemunreachable/tests/
H A DBinder_test.cpp134 Parcel send; local
137 send.writeStrongBinder(binder);
138 status_t rv = service->transact(0, send, &reply);
/system/bt/hci/src/
H A Dbtsnoop_net.cc84 OSI_NO_INTR(ret = send(client_socket_, data, length, 0));
138 /* When a new client connects, we have to send the btsnoop file header. This
144 OSI_NO_INTR(send(client_socket_, "btsnoop\0\0\0\0\1\0\0\x3\xea", 16, 0));
/system/libhwbinder/vts/performance/
H A DPerfTest.h33 // a send() on the other side to unblock.
41 send(val);
50 int send(const T& v) { function in class:Pipe
H A DLatency.cpp121 uint32_t ret = service->send(verbose, call_sta);
215 uint32_t ret = service->send(verbose, call_sta);
224 // wait to send result
231 int sent = p.send(presults);
H A DBenchmark_throughput.cpp79 template<typename T> void send(const T& v) { function in class:Pipe
252 p.send(results);
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp131 Parcel send, reply; local
140 send.writeInt32(val1);
141 send.writeInt32(val2);
146 send, &reply)) != 0) {
/system/bt/vendor_libs/test_vendor_lib/scripts/
H A Dtest_channel.py73 def send(self, data): member in class:Connection
103 self._connection.send(command)
158 user can send to the controller as well. These commands are processed parallel
163 test_channel: The communication channel to send data to the controller.
/system/core/libcutils/tests/
H A Dsockets_test.cpp44 ASSERT_EQ(3, send(client, "foo", 3, 0));
53 // Now send server -> client.
58 ASSERT_EQ(3, send(server, "bar", 3, 0));
/system/bt/tools/hci/
H A Dmain.c189 if (send(sock, &type, 1, 0) != 1) goto error;
191 if (send(sock, &length, 2, 0) != 2) goto error;
193 if (send(sock, packet, length, 0) != (ssize_t)length) goto error;
/system/bt/btif/src/
H A Dbtif_sock_thread.cc246 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0));
264 OSI_NO_INTR(ret = send(ts[thread_handle].cmd_fdw, &cmd, sizeof(cmd), 0));
298 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, cmd_send, size_send, 0));
314 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0));
330 OSI_NO_INTR(ret = send(ts[h].cmd_fdw, &cmd, sizeof(cmd), 0));
/system/chre/host/common/
H A Dsocket_client.cc89 ssize_t bytesSent = send(mSockFd, data, length, 0);
91 LOGE("Failed to send %zu bytes of data: %s", length, strerror(errno));
93 LOGW("Failed to send data; remote side disconnected");
230 // Set the send buffer size to 2MB to allow plenty of room for nanoapp
/system/extras/tests/tcp_nuke_addr/
H A Dtcp_nuke_addr_test.cpp104 send(s, "foo", 3, 0);
/system/sepolicy/prebuilts/api/26.0/private/
H A Daccess_vectors340 send
459 send
/system/sepolicy/private/
H A Daccess_vectors343 send
463 send
/system/sepolicy/reqd_mask/
H A Daccess_vectors343 send
463 send
/system/netd/tests/
H A Dsock_diag_test.cpp150 ASSERT_EQ(0, ret) << "Failed to send IPv4 dump request: " << strerror(-ret);
159 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);
225 ret = send(clientsockets[i], "foo", sizeof("foo"), 0);
235 ret = send(serversockets[i], "foo", sizeof("foo"), 0);
/system/bt/btif/co/
H A Dbta_hl_co.cc351 r = send(p_dcb->p_scb->socket_id[1], p_dcb->p_rx_pkt, data_size, 0));
353 BTIF_TRACE_DEBUG("socket send success data_size=%d", data_size);
356 BTIF_TRACE_ERROR("socket send failed r=%d data_size=%d", r, data_size);

Completed in 1727 milliseconds

12