Home
last modified time | relevance | path

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

1234

/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()
216 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForSocket()
232 return FwmarkClient().send(&command, socketFd, nullptr); in protectFromVpn()
240 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForUser()
245 return FwmarkClient().send(&command, -1, nullptr); in queryUserAccess()
250 return FwmarkClient().send(&command, socketFd, nullptr); in tagSocket()
255 return FwmarkClient().send(&command, socketFd, nullptr); in untagSocket()
260 return FwmarkClient().send(&command, -1, nullptr); in setCounterSet()
[all …]
DFwmarkClient.h41 int send(FwmarkCommand* data, int fd, FwmarkConnectInfo* connectInfo);
/system/netd/server/
DNFLogListener.cpp63 Status cfgCmdPfUnbind(const SendFn& send) { in cfgCmdPfUnbind() argument
78 return send(makeSlice(msg)); in cfgCmdPfUnbind()
84 Status cfgMode(const SendFn& send, uint16_t nfLogGroup, uint32_t range, uint8_t mode) { in cfgMode() argument
101 return send(makeSlice(msg)); in cfgMode()
105 Status cfgCmdBind(const SendFn& send, uint16_t nfLogGroup) { in cfgCmdBind() argument
121 return send(makeSlice(msg)); in cfgCmdBind()
125 Status cfgCmdUnbind(const SendFn& send, uint16_t nfLogGroup) { in cfgCmdUnbind() argument
141 return send(makeSlice(msg)); in cfgCmdUnbind()
171 const auto sendFn = [this](const Slice msg) { return mListener->send(msg); }; in ~NFLogListener()
183 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()
/system/core/libmemunreachable/tests/
DBinder_test.cpp146 Parcel send; in TEST_F() local
149 send.writeStrongBinder(binder); in TEST_F()
150 status_t rv = service->transact(0, send, &reply); in TEST_F()
/system/core/init/
Dproperty_service_test.cpp49 ASSERT_EQ(static_cast<ssize_t>(sizeof(msg)), send(fd, &msg, sizeof(msg), 0)); in TEST()
50 ASSERT_EQ(static_cast<ssize_t>(sizeof(size)), send(fd, &size, sizeof(size), 0)); in TEST()
/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/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/sepolicy/prebuilts/api/26.0/private/
Dephemeral_app.te42 # Receive or send uevent messages.
45 # Receive or send generic netlink messages
/system/sepolicy/prebuilts/api/27.0/private/
Dephemeral_app.te44 # Receive or send uevent messages.
47 # Receive or send generic netlink messages
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dtest_channel.py73 def send(self, data): member in Connection
103 self._connection.send(command)
/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/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/sepolicy/prebuilts/api/28.0/private/
Dephemeral_app.te55 # Receive or send uevent messages.
58 # Receive or send generic netlink messages
/system/sepolicy/private/
Dephemeral_app.te55 # Receive or send uevent messages.
58 # Receive or send generic netlink messages
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/src/main/java/com/example/simpleperf/simpleperfexamplepurejava/
DMultiProcessActivity.java39 mService.send(message);
/system/sepolicy/public/
Dhal_health.te26 # Allow to wake up to send periodic events
/system/sepolicy/prebuilts/api/28.0/public/
Dhal_health.te26 # Allow to wake up to send periodic events

1234