Home
last modified time | relevance | path

Searched refs:ExpectSend (Results 1 – 6 of 6) 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.h66 void ExpectSend(std::string message);
Dsocket_mock.cpp125 void SocketMock::ExpectSend(std::string message) { in ExpectSend() function in SocketMock
/system/connectivity/shill/vpn/
Dopenvpn_management_server_unittest.cc70 void ExpectSend(const string& value) { in ExpectSend() function in shill::OpenVPNManagementServerTest
81 ExpectSend("username \"Auth\" jojo\n"); in ExpectOTPStaticChallengeResponse()
82 ExpectSend("password \"Auth\" \"SCRV1:eW95bw==:MTIzNDU2\"\n"); in ExpectOTPStaticChallengeResponse()
89 ExpectSend("username \"Auth\" jojo\n"); in ExpectTokenStaticChallengeResponse()
90 ExpectSend("password \"Auth\" \"toto\"\n"); in ExpectTokenStaticChallengeResponse()
97 ExpectSend("username \"Auth\" jojo\n"); in ExpectAuthenticationResponse()
98 ExpectSend("password \"Auth\" \"yoyo\"\n"); in ExpectAuthenticationResponse()
104 ExpectSend("password \"User-Specific TPM Token FOO\" \"987654\"\n"); in ExpectPINResponse()
109 ExpectSend("hold release\n"); in ExpectHoldRelease()
114 ExpectSend("signal SIGUSR1\n"); in ExpectRestart()
[all …]