Home
last modified time | relevance | path

Searched refs:send (Results 1 – 25 of 70) sorted by relevance

123

/system/netd/server/
DNFLogListener.cpp64 Status cfgCmdPfUnbind(const SendFn& send) { in cfgCmdPfUnbind() argument
79 return send(makeSlice(msg)); in cfgCmdPfUnbind()
85 Status cfgMode(const SendFn& send, uint16_t nfLogGroup, uint32_t range, uint8_t mode) { in cfgMode() argument
102 return send(makeSlice(msg)); in cfgMode()
106 Status cfgCmdBind(const SendFn& send, uint16_t nfLogGroup) { in cfgCmdBind() argument
122 return send(makeSlice(msg)); in cfgCmdBind()
126 Status cfgCmdUnbind(const SendFn& send, uint16_t nfLogGroup) { in cfgCmdUnbind() argument
142 return send(makeSlice(msg)); in cfgCmdUnbind()
172 const auto sendFn = [this](const Slice msg) { return mListener->send(msg); }; in ~NFLogListener()
179 const auto sendFn = [this](const Slice msg) { return mListener->send(msg); }; in subscribe()
[all …]
DNetlinkListener.h40 virtual netdutils::Status send(const netdutils::Slice msg) = 0;
77 netdutils::Status send(const netdutils::Slice msg) override;
DNFLogListenerTest.cpp58 MOCK_METHOD1(send, netdutils::Status(const netdutils::Slice msg));
83 EXPECT_CALL(*mNLListener, send(_)).Times(Exactly(3)).WillRepeatedly(Invoke(sendOk)); in subscribe()
DNetlinkListener.cpp78 Status NetlinkListener::send(const Slice msg) { in send() function in android::net::NetlinkListener
/system/netd/client/
DNetdClient.cpp71 if (int error = FwmarkClient().send(&command, acceptedSocket, nullptr)) { in netdClientAccept4()
83 if (int error = FwmarkClient().send(&command, sockfd, nullptr)) { in netdClientConnect()
101 FwmarkClient().send(&command, sockfd, &connectInfo); in netdClientConnect()
209 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForSocket()
225 return FwmarkClient().send(&command, socketFd, nullptr); in protectFromVpn()
233 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForUser()
238 return FwmarkClient().send(&command, -1, nullptr); in queryUserAccess()
DFwmarkClient.h41 int send(FwmarkCommand* data, int fd, FwmarkConnectInfo* connectInfo);
DFwmarkClient.cpp66 int FwmarkClient::send(FwmarkCommand* data, int fd, FwmarkConnectInfo* connectInfo) { in send() function in FwmarkClient
/system/core/init/
Dproperty_service_test.cpp47 ASSERT_EQ(static_cast<ssize_t>(sizeof(msg)), send(fd, &msg, sizeof(msg), 0)); in TEST()
48 ASSERT_EQ(static_cast<ssize_t>(sizeof(size)), send(fd, &size, sizeof(size), 0)); in TEST()
49 ASSERT_EQ(static_cast<ssize_t>(sizeof(data)), send(fd, &data, sizeof(data), 0)); in TEST()
/system/core/libmemunreachable/tests/
DBinder_test.cpp134 Parcel send; in TEST_F() local
137 send.writeStrongBinder(binder); in TEST_F()
138 status_t rv = service->transact(0, send, &reply); in TEST_F()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp131 Parcel send, reply; in BM_addInts() local
140 send.writeInt32(val1); in BM_addInts()
141 send.writeInt32(val2); in BM_addInts()
146 send, &reply)) != 0) { in BM_addInts()
/system/bt/tools/hci/
Dmain.c189 if (send(sock, &type, 1, 0) != 1) goto error; in write_hci_command()
191 if (send(sock, &length, 2, 0) != 2) goto error; in write_hci_command()
193 if (send(sock, packet, length, 0) != (ssize_t)length) goto error; in write_hci_command()
/system/bt/hci/src/
Dbtsnoop_net.cc84 OSI_NO_INTR(ret = send(client_socket_, data, length, 0)); in btsnoop_net_write()
144 OSI_NO_INTR(send(client_socket_, "btsnoop\0\0\0\0\1\0\0\x3\xea", 16, 0)); in listen_fn_()
/system/libhwbinder/vts/performance/
DPerfTest.h41 send(val); in signal()
50 int send(const T& v) { in send() function
DLatency.cpp121 uint32_t ret = service->send(verbose, call_sta); in threadStart()
215 uint32_t ret = service->send(verbose, call_sta); in clientFx()
231 int sent = p.send(presults); in clientFx()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dflatbuffers_types.fbs49 * Message to send scan result(s) from nanoapp to host
74 * Structure to send scan params and filter from host to nanoapp
102 * Structure to keep and send scan statistics from nanoapp to host
/system/tpm/attestation/server/
Dattestationd-seccomp-arm.policy20 send: 1
/system/core/fastboot/
DREADME.md51 send the indicated amount of data. Short packets are always
80 Host: "download:00001234" request to send 0x1234 bytes of data
84 Host: < 0x1234 bytes > send data
94 Host: "powerdown" send a command
131 with "DATA%08x" if it is ready to send %08x bytes of
134 successfully sends %08x bytes, the client shall send
203 Upon connecting, both sides will send a 4-byte handshake message to ensure they
245 3. The host drives all communication; the device may only send a packet as a
295 Both the host and device will send these values, and in each case
300 send a packet with fastboot data, and the device will reply with an
[all …]
/system/core/libcutils/tests/
Dsockets_test.cpp44 ASSERT_EQ(3, send(client, "foo", 3, 0)); in TestConnectedSockets()
58 ASSERT_EQ(3, send(server, "bar", 3, 0)); in TestConnectedSockets()
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dtest_channel.py73 def send(self, data): member in Connection
103 self._connection.send(command)
/system/sepolicy/prebuilts/api/26.0/private/
Dephemeral_app.te42 # Receive or send uevent messages.
45 # Receive or send generic netlink messages
/system/sepolicy/private/
Dephemeral_app.te44 # Receive or send uevent messages.
47 # Receive or send generic netlink messages
/system/bt/btif/src/
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()
/system/netd/tests/
Dsock_diag_test.cpp225 ret = send(clientsockets[i], "foo", sizeof("foo"), 0); in TEST_F()
235 ret = send(serversockets[i], "foo", sizeof("foo"), 0); in TEST_F()
/system/extras/tests/tcp_nuke_addr/
Dtcp_nuke_addr_test.cpp104 send(s, "foo", 3, 0); in connectLoop()
/system/core/adb/
DSERVICES.TXT202 This service is used to send snapshots of the framebuffer to a client.
216 Then, each time the client wants a snapshot, it should send
218 to send it 'size' bytes of framebuffer data.
227 This is used to send the list of JDWP pids periodically to the client.

123