Searched refs:AddReceive (Results 1 - 5 of 5) sorted by relevance
/system/core/fastboot/ |
H A D | udp_test.cpp | 91 mock_socket_->AddReceive(QueryPacket(0, seq)); 93 mock_socket_->AddReceive(InitPacket(seq, kProtocolVersion, 1024)); 102 mock_socket_->AddReceive(std::string{kIdDeviceQuery, kFlagContinuation, 0, 0, 0x44}); 104 mock_socket_->AddReceive(std::string{kIdDeviceQuery, kFlagNone, 0, 1, 0x55}); 107 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagContinuation, 0x44, 0x55, 0}); 109 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagContinuation, 0x44, 0x56, 1}); 111 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagContinuation, 0x44, 0x57, 2}); 113 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagNone, 0x44, 0x58, 0}); 123 mock_socket_->AddReceive(QueryPacket(0, 0)); 125 mock_socket_->AddReceive(InitPacke [all...] |
H A D | tcp_test.cpp | 38 mock->AddReceive("FB01"); 48 mock->AddReceive("FB99"); 77 mock->AddReceive("XX01"); 87 mock->AddReceive("FB00"); 100 mock_->AddReceive("FB01"); 135 mock_->AddReceive(std::string{0, 0, 0, 0, 0, 0, 0, 3}); 136 mock_->AddReceive("foo"); 143 mock_->AddReceive(std::string{0, 0, 0, 0}); 144 mock_->AddReceive(std::string{0, 0, 0, 3}); 145 mock_->AddReceive(" [all...] |
H A D | socket_test.cpp | 307 mock->AddReceive("foo"); 318 mock.AddReceive("foo"); 321 mock.AddReceive("abc"); 322 mock.AddReceive("123"); 327 mock.AddReceive("foo"); 328 mock.AddReceive("bar"); 329 mock.AddReceive("123"); 344 mock->AddReceive("foo"); 355 mock->AddReceive("foo"); 359 mock->AddReceive("fo [all...] |
H A D | socket_mock.h | 46 // mock.AddReceive("bar"); 52 // mock.AddReceive("baz"); 72 void AddReceive(std::string message);
|
H A D | socket_mock.cpp | 133 void SocketMock::AddReceive(std::string message) { function in class:SocketMock
|
Completed in 45 milliseconds