Home
last modified time | relevance | path

Searched refs:sender (Results 1 – 13 of 13) sorted by relevance

/system/core/metricsd/uploader/
Dupload_service_test.cc106 SenderMock* sender = new SenderMock(); in TEST_F() local
107 upload_service_->sender_.reset(sender); in TEST_F()
109 sender->set_should_succeed(false); in TEST_F()
113 EXPECT_EQ(1, sender->send_call_count()); in TEST_F()
114 std::string sent_string = sender->last_message(); in TEST_F()
117 EXPECT_EQ(2, sender->send_call_count()); in TEST_F()
118 EXPECT_EQ(sent_string, sender->last_message()); in TEST_F()
122 SenderMock* sender = new SenderMock(); in TEST_F() local
123 upload_service_->sender_.reset(sender); in TEST_F()
125 sender->set_should_succeed(false); in TEST_F()
[all …]
/system/connectivity/shill/dbus/
Dchromeos_dhcpcd_listener.cc113 string sender = signal->GetSender(); in HandleMessage() local
129 sender, pid, reason, configurations)); in HandleMessage()
142 sender, pid, status)); in HandleMessage()
152 const string& sender, in EventSignal() argument
166 config->InitProxy(sender); in EventSignal()
173 void ChromeosDHCPCDListener::StatusChangedSignal(const string& sender, in StatusChangedSignal() argument
186 config->InitProxy(sender); in StatusChangedSignal()
Dchromeos_dhcpcd_listener.h64 void EventSignal(const std::string& sender,
68 void StatusChangedSignal(const std::string& sender,
/system/connectivity/shill/
Dpassive_link_monitor.cc110 ByteString sender; in ReceiveRequest() local
112 if (!arp_client_->ReceivePacket(&packet, &sender)) { in ReceiveRequest()
Darp_client_unittest.cc220 ByteString sender; in TEST_F() local
231 EXPECT_FALSE(client_.ReceivePacket(&reply, &sender)); in TEST_F()
237 EXPECT_FALSE(client_.ReceivePacket(&reply, &sender)); in TEST_F()
249 EXPECT_TRUE(client_.ReceivePacket(&reply, &sender)); in TEST_F()
255 sender.Equals(ByteString(kSenderBytes, arraysize(kSenderBytes)))); in TEST_F()
Dmock_arp_client.h37 ByteString* sender));
Darp_client_test_helper.h42 bool SimulateReceivePacket(ArpPacket* packet, ByteString* sender);
Darp_client.cc117 bool ArpClient::ReceivePacket(ArpPacket* packet, ByteString* sender) const { in ReceivePacket()
145 *sender = ByteString( in ReceivePacket()
Darp_client.h54 virtual bool ReceivePacket(ArpPacket* packet, ByteString* sender) const;
Darp_client_test_helper.cc48 ByteString* sender) { in SimulateReceivePacket() argument
Dactive_link_monitor.cc240 ByteString sender; in ReceiveResponse() local
241 if (!arp_client_->ReceivePacket(&packet, &sender)) { in ReceiveResponse()
Dconnection_diagnostics.cc741 ByteString sender; in OnArpReplyReceived() local
742 if (!arp_client_->ReceivePacket(&packet, &sender)) { in OnArpReplyReceived()
/system/core/adb/
Dprotocol.txt51 *sender* of the message, so for a receiver, the meanings are effectively
84 connect to the sender. If type is TOKEN(1), data is a random token that
87 signature verification succeeds, the sender replies with a CONNECT packet.
89 If the signature verification fails, the sender replies with a new AUTH
101 The OPEN message informs the recipient that the sender has a stream
123 The READY message informs the recipient that the sender's stream
158 sender's stream (local-id) and the recipient's stream (remote-id) is