Home
last modified time | relevance | path

Searched refs:AddReceive (Results 1 – 5 of 5) sorted by relevance

/system/core/fastboot/
Dudp_test.cpp91 mock_socket_->AddReceive(QueryPacket(0, seq)); in TEST_F()
93 mock_socket_->AddReceive(InitPacket(seq, kProtocolVersion, 1024)); in TEST_F()
102 mock_socket_->AddReceive(std::string{kIdDeviceQuery, kFlagContinuation, 0, 0, 0x44}); in TEST_F()
104 mock_socket_->AddReceive(std::string{kIdDeviceQuery, kFlagNone, 0, 1, 0x55}); in TEST_F()
107 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagContinuation, 0x44, 0x55, 0}); in TEST_F()
109 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagContinuation, 0x44, 0x56, 1}); in TEST_F()
111 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagContinuation, 0x44, 0x57, 2}); in TEST_F()
113 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagNone, 0x44, 0x58, 0}); in TEST_F()
123 mock_socket_->AddReceive(QueryPacket(0, 0)); in TEST_F()
125 mock_socket_->AddReceive(InitPacket(0, 2, 1024)); in TEST_F()
[all …]
Dtcp_test.cpp38 mock->AddReceive("FB01"); in TEST()
48 mock->AddReceive("FB99"); in TEST()
77 mock->AddReceive("XX01"); in TEST()
87 mock->AddReceive("FB00"); in TEST()
100 mock_->AddReceive("FB01"); in SetUp()
135 mock_->AddReceive(std::string{0, 0, 0, 0, 0, 0, 0, 3}); in TEST_F()
136 mock_->AddReceive("foo"); in TEST_F()
143 mock_->AddReceive(std::string{0, 0, 0, 0}); in TEST_F()
144 mock_->AddReceive(std::string{0, 0, 0, 3}); in TEST_F()
145 mock_->AddReceive("f"); in TEST_F()
[all …]
Dsocket_test.cpp307 mock->AddReceive("foo"); in TEST()
318 mock.AddReceive("foo"); in TEST()
321 mock.AddReceive("abc"); in TEST()
322 mock.AddReceive("123"); in TEST()
327 mock.AddReceive("foo"); in TEST()
328 mock.AddReceive("bar"); in TEST()
329 mock.AddReceive("123"); in TEST()
344 mock->AddReceive("foo"); in TEST()
355 mock->AddReceive("foo"); in TEST()
359 mock->AddReceive("foo"); in TEST()
Dsocket_mock.h71 void AddReceive(std::string message);
Dsocket_mock.cpp133 void SocketMock::AddReceive(std::string message) { in AddReceive() function in SocketMock