Lines Matching refs:ExpectSend
90 mock_socket_->ExpectSend(QueryPacket(0));
92 mock_socket_->ExpectSend(InitPacket(seq, kProtocolVersion, kHostMaxPacketSize));
101 mock_socket_->ExpectSend(QueryPacket(0));
103 mock_socket_->ExpectSend(std::string{kIdDeviceQuery, kFlagNone, 0, 1});
106 mock_socket_->ExpectSend(InitPacket(0x4455, kProtocolVersion, kHostMaxPacketSize));
108 mock_socket_->ExpectSend(std::string{kIdInitialization, kFlagNone, 0x44, 0x56});
110 mock_socket_->ExpectSend(std::string{kIdInitialization, kFlagNone, 0x44, 0x57});
112 mock_socket_->ExpectSend(std::string{kIdInitialization, kFlagNone, 0x44, 0x58});
122 mock_socket_->ExpectSend(QueryPacket(0));
124 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
129 mock_socket_->ExpectSend(QueryPacket(0));
131 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
139 mock_socket_->ExpectSend(QueryPacket(0));
147 mock_socket_->ExpectSend(QueryPacket(0));
154 mock_socket_->ExpectSend(QueryPacket(0));
157 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
165 mock_socket_->ExpectSend(QueryPacket(0));
167 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
177 mock_socket_->ExpectSend(QueryPacket(0));
180 mock_socket_->ExpectSend(QueryPacket(0));
185 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
188 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
196 mock_socket_->ExpectSend(QueryPacket(0));
198 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
207 mock_socket_->ExpectSend(QueryPacket(0));
211 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
220 mock_socket_->ExpectSend(QueryPacket(0));
224 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
235 mock_socket_->ExpectSend(QueryPacket(0));
241 mock_socket_->ExpectSend(QueryPacket(0));
252 mock_socket_->ExpectSend(QueryPacket(0));
254 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
260 mock_socket_->ExpectSend(QueryPacket(0));
262 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
272 mock_socket_->ExpectSend(QueryPacket(0));
278 mock_socket_->ExpectSend(QueryPacket(0));
280 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize));
291 mock_socket_->ExpectSend(QueryPacket(0));
293 mock_socket_->ExpectSend(ErrorPacket(1));
295 mock_socket_->ExpectSend(ErrorPacket(2));
315 mock_socket_->ExpectSend(QueryPacket(0));
317 mock_socket_->ExpectSend(
353 mock_socket_->ExpectSend(FastbootPacket(++seq, "foo"));
355 mock_socket_->ExpectSend(FastbootPacket(++seq, ""));
366 mock_socket_->ExpectSend(FastbootPacket(1, "foo"));
368 mock_socket_->ExpectSend(FastbootPacket(2, ""));
374 mock_socket_->ExpectSend(FastbootPacket(3, "12345 67890"));
376 mock_socket_->ExpectSend(FastbootPacket(4, "\x01\x02\x03\x04\x05"));
383 mock_socket_->ExpectSend(FastbootPacket(5));
385 mock_socket_->ExpectSend(FastbootPacket(6));
394 mock_socket_->ExpectSend(FastbootPacket(1, "foo"));
402 mock_socket_->ExpectSend(FastbootPacket(1, "foo"));
410 mock_socket_->ExpectSend(FastbootPacket(1, "foo"));
413 mock_socket_->ExpectSend(FastbootPacket(1, "foo"));
438 mock_socket_->ExpectSend(FastbootPacket(1, chunks[0], kFlagContinuation));
440 mock_socket_->ExpectSend(FastbootPacket(2, chunks[1], kFlagContinuation));
442 mock_socket_->ExpectSend(FastbootPacket(3, chunks[2]));
447 mock_socket_->ExpectSend(FastbootPacket(4));
449 mock_socket_->ExpectSend(FastbootPacket(5));
451 mock_socket_->ExpectSend(FastbootPacket(6));
459 mock_socket_->ExpectSend(FastbootPacket(1));
461 mock_socket_->ExpectSend(FastbootPacket(2));
469 mock_socket_->ExpectSend(FastbootPacket(1));
471 mock_socket_->ExpectSend(FastbootPacket(2));
479 mock_socket_->ExpectSend(FastbootPacket(1));
481 mock_socket_->ExpectSend(FastbootPacket(2));
483 mock_socket_->ExpectSend(FastbootPacket(2));
491 mock_socket_->ExpectSend(FastbootPacket(1));
500 mock_socket_->ExpectSend(FastbootPacket(1));
512 mock_socket_->ExpectSend(FastbootPacket(1, "foo"));
519 mock_socket_->ExpectSend(FastbootPacket(2, "foo"));