Home
last modified time | relevance | path

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

/system/core/fastboot/
Dudp_test.cpp90 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
92 mock_socket_->ExpectSend(InitPacket(seq, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
101 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
103 mock_socket_->ExpectSend(std::string{kIdDeviceQuery, kFlagNone, 0, 1}); in TEST_F()
106 mock_socket_->ExpectSend(InitPacket(0x4455, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
108 mock_socket_->ExpectSend(std::string{kIdInitialization, kFlagNone, 0x44, 0x56}); in TEST_F()
110 mock_socket_->ExpectSend(std::string{kIdInitialization, kFlagNone, 0x44, 0x57}); in TEST_F()
112 mock_socket_->ExpectSend(std::string{kIdInitialization, kFlagNone, 0x44, 0x58}); in TEST_F()
122 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
124 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
[all …]
Dtcp_test.cpp37 mock->ExpectSend("FB01"); in TEST()
47 mock->ExpectSend("FB01"); in TEST()
66 mock->ExpectSend("FB01"); in TEST()
76 mock->ExpectSend("FB01"); in TEST()
86 mock->ExpectSend("FB01"); in TEST()
99 mock_->ExpectSend("FB01"); in SetUp()
129 mock_->ExpectSend(std::string{0, 0, 0, 0, 0, 0, 0, 3} + "foo"); in TEST_F()
158 mock_->ExpectSend(std::string{0, 0, 0, 0, 0, 0x10, 0, 0} + data); in TEST_F()
177 mock_->ExpectSend(std::string{0, 0, 0, 0, 0, 0, 0, 14} + "getvar:version"); in TEST_F()
181 mock_->ExpectSend(std::string{0, 0, 0, 0, 0, 0, 0, 10} + "getvar:all"); in TEST_F()
Dsocket_test.cpp286 mock.ExpectSend("foo"); in TEST()
289 mock.ExpectSend("abc"); in TEST()
290 mock.ExpectSend("123"); in TEST()
303 mock->ExpectSend("foo"); in TEST()
311 mock->ExpectSend("foo"); in TEST()
350 mock->ExpectSend("foo"); in TEST()
379 mock->ExpectSend("foo"); in TEST()
Dsocket_mock.h65 void ExpectSend(std::string message);
Dsocket_mock.cpp125 void SocketMock::ExpectSend(std::string message) { in ExpectSend() function in SocketMock