/system/core/metricsd/uploader/ |
H A D | sender.h | 27 virtual bool Send(const std::string& content, const std::string& hash) = 0;
|
H A D | sender_http.h | 33 bool Send(const std::string& content, const std::string& hash) override;
|
H A D | sender_http.cc | 29 bool HttpSender::Send(const std::string& content, function in class:HttpSender
|
/system/core/metricsd/uploader/mock/ |
H A D | sender_mock.cc | 23 bool SenderMock::Send(const std::string& content, const std::string& hash) { function in class:SenderMock
|
H A D | sender_mock.h | 30 bool Send(const std::string& content, const std::string& hash) override; 45 // If set to true, the Send method will return true to simulate a successful 49 // Count of how many times Send was called since the last reset. 52 // Last message received by Send.
|
/system/core/trusty/gatekeeper/ |
H A D | trusty_gatekeeper.h | 68 gatekeeper_error_t Send(uint32_t command, const GateKeeperMessage& request, 71 gatekeeper_error_t Send(const EnrollRequest& request, EnrollResponse *response) { function in class:gatekeeper::TrustyGateKeeperDevice 72 return Send(GK_ENROLL, request, response); 75 gatekeeper_error_t Send(const VerifyRequest& request, VerifyResponse *response) { function in class:gatekeeper::TrustyGateKeeperDevice 76 return Send(GK_VERIFY, request, response);
|
H A D | trusty_gatekeeper.cpp | 108 gatekeeper_error_t error = Send(request, &response); 140 gatekeeper_error_t error = Send(request, &response); 160 gatekeeper_error_t TrustyGateKeeperDevice::Send(uint32_t command, const GateKeeperMessage& request, function in class:gatekeeper::TrustyGateKeeperDevice 168 // Send it
|
/system/core/fastboot/ |
H A D | socket.cpp | 114 bool Send(const void* data, size_t length) override; 115 bool Send(std::vector<cutils_socket_buffer_t> buffers) override; 135 bool UdpSocket::Send(const void* data, size_t length) { function in class:UdpSocket 141 bool UdpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { function in class:UdpSocket 172 bool Send(const void* data, size_t length) override; 173 bool Send(std::vector<cutils_socket_buffer_t> buffers) override; 182 bool TcpSocket::Send(const void* data, size_t length) { function in class:TcpSocket 196 bool TcpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { function in class:TcpSocket
|
H A D | socket.h | 64 // calls to Send(). 72 virtual bool Send(const void* data, size_t length) = 0; 81 virtual bool Send(std::vector<cutils_socket_buffer_t> buffers) = 0;
|
H A D | socket_mock.h | 59 bool Send(const void* data, size_t length) override; 60 bool Send(std::vector<cutils_socket_buffer_t> buffers) override; 65 // Adds an expectation for Send(). 68 // Adds an expectation for Send() that returns false. 92 bool status; // Return value for Send() or timeout status for Receive().
|
H A D | socket_mock.cpp | 41 bool SocketMock::Send(const void* data, size_t length) { function in class:SocketMock 43 ADD_FAILURE() << "Send() was called when no message was expected"; 48 ADD_FAILURE() << "Send() was called out-of-order"; 54 ADD_FAILURE() << "Send() expected " << events_.front().message << ", but got " << message; 65 bool SocketMock::Send(std::vector<cutils_socket_buffer_t> buffers) { function in class:SocketMock 70 return Send(data.data(), data.size());
|
H A D | socket_test.cpp | 65 return sock->Send(message.c_str(), message.length()); 196 EXPECT_TRUE(sock->Send(buffers)); 199 EXPECT_FALSE(sock->Send(buffers)); 202 EXPECT_FALSE(sock->Send(buffers)); 205 EXPECT_FALSE(sock->Send(buffers)); 278 EXPECT_EQ(expect_success, sock->Send(buffers));
|
H A D | tcp.cpp | 96 if (!socket_->Send(handshake_message.c_str(), kHandshakeLength)) { 163 if (!socket_->Send(std::vector<cutils_socket_buffer_t>{{header, 8}, {data, length}})) {
|
/system/connectivity/shill/vpn/ |
H A D | openvpn_management_server.cc | 435 void OpenVPNManagementServer::Send(const string& data) { function in class:shill::OpenVPNManagementServer 437 ssize_t len = sockets_->Send(connected_socket_, data.data(), data.size(), 0); 439 << "Send failed."; 444 Send(StringPrintf("state %s\n", state.c_str())); 450 Send(StringPrintf("username \"%s\" %s\n", tag.c_str(), username.c_str())); 456 Send(StringPrintf("password \"%s\" \"%s\"\n", 463 Send(StringPrintf("signal %s\n", signal.c_str())); 468 Send("hold release\n");
|
H A D | openvpn_management_server.h | 91 FRIEND_TEST(OpenVPNManagementServerTest, Send); 106 void Send(const std::string& data);
|
/system/connectivity/shill/net/ |
H A D | rtnl_handler_unittest.cc | 259 EXPECT_CALL(*sockets_, Send(kTestSocket, _, _, 0)).WillOnce(Return(-1)); 272 EXPECT_CALL(*sockets_, Send(kTestSocket, _, _, 0)).WillOnce(ReturnArg<2>()); 284 EXPECT_CALL(*sockets_, Send(kTestSocket, _, _, 0)).WillOnce(ReturnArg<2>()); 309 EXPECT_CALL(*sockets_, Send(_, _, _, 0)).WillRepeatedly(ReturnArg<2>()); 328 EXPECT_CALL(*sockets_, Send(kTestSocket, _, _, 0)).WillOnce(ReturnArg<2>());
|
H A D | mock_sockets.h | 62 MOCK_CONST_METHOD4(Send, ssize_t(int sockfd, const void* buf, size_t len,
|
H A D | netlink_socket.cc | 124 ssize_t result = sockets_->Send(file_descriptor(), out_msg.GetConstData(), 127 PLOG(ERROR) << "Send failed.";
|
H A D | netlink_socket_unittest.cc | 143 // Good Send. 145 Send(kFakeFd, message.GetConstData(), message.GetLength(), 0)) 149 // Short Send. 151 Send(kFakeFd, message.GetConstData(), message.GetLength(), 0)) 155 // Bad Send. 157 Send(kFakeFd, message.GetConstData(), message.GetLength(), 0))
|
H A D | sockets.h | 104 virtual ssize_t Send(int sockfd,
|
H A D | sockets.cc | 139 ssize_t Sockets::Send(int sockfd, function in class:shill::Sockets
|
/system/core/libmemunreachable/ |
H A D | LeakPipe.h | 105 bool Send(const T& value) { function in class:LeakPipe::LeakPipeSender 121 if (!Send(size)) {
|
/system/connectivity/shill/ |
H A D | http_proxy_unittest.cc | 554 EXPECT_CALL(sockets(), Send(kClientFD, _, buf_len, 0)) 562 EXPECT_CALL(sockets(), Send(kClientFD, _, 1, 0)) 755 EXPECT_CALL(sockets(), Send(kServerFD, _, _, 0)) 759 EXPECT_CALL(sockets(), Send(kServerFD, _, _, 0)) 776 EXPECT_CALL(sockets(), Send(kClientFD, _, server_result.length(), 0)) 789 EXPECT_CALL(sockets(), Send(kClientFD, _, server_result.length() - part, 0)) 798 EXPECT_CALL(sockets(), Send(kClientFD, _, _, 0)) 808 EXPECT_CALL(sockets(), Send(kServerFD, _, _, 0)) 818 EXPECT_CALL(sockets(), Send(kServerFD, _, _, 0))
|
H A D | http_request_unittest.cc | 444 EXPECT_CALL(sockets(), Send(kServerFD, _, request_data.GetLength(), 0)) 448 EXPECT_CALL(sockets(), Send(kServerFD, _, 1, 0)) 457 EXPECT_CALL(sockets(), Send(kServerFD, _, request_data.GetLength(), 0)) 469 EXPECT_CALL(sockets(), Send(kServerFD, _, request_data.GetLength(), 0))
|
/system/connectivity/apmanager/ |
H A D | hostapd_monitor.cc | 177 if (sockets_->Send(hostapd_socket_, message, length, 0) < 0) { 178 PLOG(ERROR) << "Send to hostapd failed";
|