Home
last modified time | relevance | path

Searched refs:recv (Results 1 – 25 of 56) sorted by relevance

123

/system/core/base/
Dcmsg_test.cpp44 android::base::Socketpair(Seqpacket() ? SOCK_SEQPACKET : SOCK_STREAM, &send, &recv)); in SetUp()
58 unique_fd recv; member
75 ASSERT_EQ(1, ReceiveFileDescriptors(recv.get(), buf, 2, &received)); in TEST_P()
88 ssize_t rc = ReceiveFileDescriptors(recv.get(), buf, 1, &received1, &received2); in TEST_P()
100 ASSERT_EQ(1, read(recv.get(), buf, 2)); in TEST_P()
109 ASSERT_EQ(-1, ReceiveFileDescriptors(recv.get(), buf, 1, &received)); in TEST_P()
118 ASSERT_EQ(1, ::recv(recv.get(), buf, sizeof(buf), MSG_PEEK)); in TEST_P()
122 ASSERT_EQ(1, ReceiveFileDescriptors(recv.get(), buf, 1, &received)); in TEST_P()
136 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(recv.get(), buf, 2))); in TEST_P()
140 ssize_t rc = ReceiveFileDescriptorVector(recv.get(), buf, 1, 1, &received1); in TEST_P()
[all …]
/system/core/libcutils/
Dsockets_test.cpp49 EXPECT_EQ(3, recv(server, buffer, sizeof(buffer), 0)); in TestConnectedSockets()
60 EXPECT_EQ(3, recv(client, buffer, sizeof(buffer), 0)); in TestConnectedSockets()
69 EXPECT_EQ(11, recv(server, buffer, sizeof(buffer), 0)); in TestConnectedSockets()
85 EXPECT_EQ(-1, recv(sock, buffer, sizeof(buffer), 0)); in TestReceiveTimeout()
91 EXPECT_EQ(-1, recv(sock, buffer, sizeof(buffer), 0)); in TestReceiveTimeout()
/system/libhwbinder/vts/performance/
DPerfTest.h45 recv(val); in wait()
55 int recv(T& v) { in recv() function
DBenchmark_throughput.cpp83 template<typename T> void recv(T& v) { in recv() function in Pipe
386 worker_pipes[i].recv(tmp_results); in main()
/system/connectivity/wifilogd/
Draw_os.cpp47 return recv(sockfd, buf, buflen, flags); in Recv()
/system/core/logd/tests/
Dlogd_test.cpp373 user_logger_content = recv(fd, msg.buf, sizeof(msg), 0) > 0; in TEST()
637 content_wrap = recv(fd, msg_wrap.buf, sizeof(msg_wrap), 0) > 0; in timeout_negative()
642 content_timeout = recv(fd, msg_timeout.buf, sizeof(msg_timeout), 0) > 0; in timeout_negative()
645 recv(fd, msg_timeout.buf, sizeof(msg_timeout), 0) > 0; in timeout_negative()
751 content_wrap = recv(fd, msg_wrap.buf, sizeof(msg_wrap), 0) > 0; in TEST()
756 content_timeout = recv(fd, msg_timeout.buf, sizeof(msg_timeout), 0) > 0; in TEST()
759 recv(fd, msg_timeout.buf, sizeof(msg_timeout), 0) > 0; in TEST()
855 bool read_one = recv(fd, msg.buf, sizeof(msg), 0) > 0; in TEST()
868 recv_ret = recv(fd, msg.buf, sizeof(msg), 0); in TEST()
/system/core/init/
Dproperty_service_test.cpp53 TEMP_FAILURE_RETRY(recv(fd, &result, sizeof(result), MSG_WAITALL))); in TEST()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp160 rc = TEMP_FAILURE_RETRY(recv(set_timeout(sockfd.get()), &response, sizeof(response), MSG_TRUNC)); in debuggerd_trigger_dump()
185 rc = TEMP_FAILURE_RETRY(recv(set_timeout(sockfd.get()), &response, sizeof(response), MSG_TRUNC)); in debuggerd_trigger_dump()
/system/netd/client/
DFwmarkClient.cpp123 if (TEMP_FAILURE_RETRY(recv(mChannel, &error, sizeof(error), 0)) == -1) { in send()
/system/bt/btif/src/
Dbtif_sock_util.cc83 OSI_NO_INTR(ret = recv(sock_fd, buf, r, MSG_WAITALL)); in sock_recv_all()
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dsimple_stack.py125 return self._socket.recv(size)
Dsimple_link_layer_socket.py92 return self._socket.recv(size)
Dlink_layer_socket.py94 more_raw_bytes = self._socket.recv(min(size - len(raw_bytes), 2048))
Dsend_simple_commands.py106 return self._socket.recv(size)
Dtest_channel.py79 return self._socket.recv(size)
/system/netd/tests/
Dtun_interface.cpp160 ssize_t len = recv(s, buf, sizeof(buf), 0); in addAddress()
/system/chre/host/common/
Dsocket_client.cc148 ssize_t bytesReceived = recv(mSockFd, buffer, sizeof(buffer), 0); in receiveThread()
/system/netd/server/
DNetlinkCommands.cpp52 int ret = recv(sock, &response, sizeof(response), 0); in recvNetlinkAck()
DSockDiag.cpp57 ssize_t bytesread = recv(fd, &ack, sizeof(ack), MSG_DONTWAIT | MSG_PEEK); in checkError()
63 recv(fd, &ack, sizeof(ack), 0); in checkError()
/system/sepolicy/prebuilts/api/29.0/private/
Daccess_vectors469 recv
503 recv
/system/sepolicy/prebuilts/api/26.0/private/
Daccess_vectors460 recv
494 recv
/system/sepolicy/prebuilts/api/27.0/private/
Daccess_vectors464 recv
498 recv
/system/sepolicy/reqd_mask/
Daccess_vectors469 recv
503 recv
/system/sepolicy/prebuilts/api/28.0/private/
Daccess_vectors473 recv
507 recv
/system/sepolicy/private/
Daccess_vectors469 recv
503 recv

123