Lines Matching refs:ExpectSend
90 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()
129 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
131 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
139 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
147 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
154 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
157 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
165 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
167 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
177 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
180 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
185 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
188 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
196 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
198 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
207 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
211 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
220 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
224 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
235 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
241 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
252 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
254 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
260 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
262 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
272 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
278 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
280 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
291 mock_socket_->ExpectSend(QueryPacket(0)); in TEST_F()
293 mock_socket_->ExpectSend(ErrorPacket(1)); in TEST_F()
295 mock_socket_->ExpectSend(ErrorPacket(2)); in TEST_F()
315 mock_socket_->ExpectSend(QueryPacket(0)); in InitializeTransport()
317 mock_socket_->ExpectSend( in InitializeTransport()
353 mock_socket_->ExpectSend(FastbootPacket(++seq, "foo")); in TEST_F()
355 mock_socket_->ExpectSend(FastbootPacket(++seq, "")); in TEST_F()
366 mock_socket_->ExpectSend(FastbootPacket(1, "foo")); in TEST_F()
368 mock_socket_->ExpectSend(FastbootPacket(2, "")); in TEST_F()
374 mock_socket_->ExpectSend(FastbootPacket(3, "12345 67890")); in TEST_F()
376 mock_socket_->ExpectSend(FastbootPacket(4, "\x01\x02\x03\x04\x05")); in TEST_F()
383 mock_socket_->ExpectSend(FastbootPacket(5)); in TEST_F()
385 mock_socket_->ExpectSend(FastbootPacket(6)); in TEST_F()
394 mock_socket_->ExpectSend(FastbootPacket(1, "foo")); in TEST_F()
402 mock_socket_->ExpectSend(FastbootPacket(1, "foo")); in TEST_F()
410 mock_socket_->ExpectSend(FastbootPacket(1, "foo")); in TEST_F()
413 mock_socket_->ExpectSend(FastbootPacket(1, "foo")); in TEST_F()
438 mock_socket_->ExpectSend(FastbootPacket(1, chunks[0], kFlagContinuation)); in TEST_F()
440 mock_socket_->ExpectSend(FastbootPacket(2, chunks[1], kFlagContinuation)); in TEST_F()
442 mock_socket_->ExpectSend(FastbootPacket(3, chunks[2])); in TEST_F()
447 mock_socket_->ExpectSend(FastbootPacket(4)); in TEST_F()
449 mock_socket_->ExpectSend(FastbootPacket(5)); in TEST_F()
451 mock_socket_->ExpectSend(FastbootPacket(6)); in TEST_F()
459 mock_socket_->ExpectSend(FastbootPacket(1)); in TEST_F()
461 mock_socket_->ExpectSend(FastbootPacket(2)); in TEST_F()
469 mock_socket_->ExpectSend(FastbootPacket(1)); in TEST_F()
471 mock_socket_->ExpectSend(FastbootPacket(2)); in TEST_F()
479 mock_socket_->ExpectSend(FastbootPacket(1)); in TEST_F()
481 mock_socket_->ExpectSend(FastbootPacket(2)); in TEST_F()
483 mock_socket_->ExpectSend(FastbootPacket(2)); in TEST_F()
491 mock_socket_->ExpectSend(FastbootPacket(1)); in TEST_F()
500 mock_socket_->ExpectSend(FastbootPacket(1)); in TEST_F()
512 mock_socket_->ExpectSend(FastbootPacket(1, "foo")); in TEST_F()
519 mock_socket_->ExpectSend(FastbootPacket(2, "foo")); in TEST_F()