Home | History | Annotate | Download | only in fastboot

Lines Matching refs:AddReceive

91         mock_socket_->AddReceive(QueryPacket(0, seq));
93 mock_socket_->AddReceive(InitPacket(seq, kProtocolVersion, 1024));
102 mock_socket_->AddReceive(std::string{kIdDeviceQuery, kFlagContinuation, 0, 0, 0x44});
104 mock_socket_->AddReceive(std::string{kIdDeviceQuery, kFlagNone, 0, 1, 0x55});
107 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagContinuation, 0x44, 0x55, 0});
109 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagContinuation, 0x44, 0x56, 1});
111 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagContinuation, 0x44, 0x57, 2});
113 mock_socket_->AddReceive(std::string{kIdInitialization, kFlagNone, 0x44, 0x58, 0});
123 mock_socket_->AddReceive(QueryPacket(0, 0));
125 mock_socket_->AddReceive(InitPacket(0, 2, 1024));
130 mock_socket_->AddReceive(QueryPacket(0, 0));
132 mock_socket_->AddReceive(InitPacket(0, 0, 1024));
155 mock_socket_->AddReceive(QueryPacket(0, 0));
166 mock_socket_->AddReceive(QueryPacket(0, 0));
181 mock_socket_->AddReceive(QueryPacket(0, 0));
189 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 1024));
197 mock_socket_->AddReceive(QueryPacket(0, 0) + "foo");
199 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 1024) + "bar");
208 mock_socket_->AddReceive(QueryPacket(1, 0));
209 mock_socket_->AddReceive(QueryPacket(0, 0));
212 mock_socket_->AddReceive(InitPacket(1, kProtocolVersion, 1024));
213 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 1024));
221 mock_socket_->AddReceive(FastbootPacket(0));
222 mock_socket_->AddReceive(QueryPacket(0, 0));
225 mock_socket_->AddReceive(FastbootPacket(0));
226 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 1024));
236 mock_socket_->AddReceive(QueryPacket(0));
242 mock_socket_->AddReceive(QueryPacket(0) + std::string{0x00});
253 mock_socket_->AddReceive(QueryPacket(0, 0));
255 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 511));
261 mock_socket_->AddReceive(QueryPacket(0, 0));
263 mock_socket_->AddReceive(InitPacket(0, 0, 1024));
273 mock_socket_->AddReceive(ErrorPacket(0, "error1"));
279 mock_socket_->AddReceive(QueryPacket(0, 0));
281 mock_socket_->AddReceive(ErrorPacket(0, "error2"));
292 mock_socket_->AddReceive(ErrorPacket(0, "error1", kFlagContinuation));
294 mock_socket_->AddReceive(ErrorPacket(1, " ", kFlagContinuation));
296 mock_socket_->AddReceive(ErrorPacket(2, "error2"));
316 mock_socket_->AddReceive(QueryPacket(0, starting_sequence));
319 mock_socket_->AddReceive(
354 mock_socket_->AddReceive(FastbootPacket(seq, ""));
356 mock_socket_->AddReceive(FastbootPacket(seq, "bar"));
367 mock_socket_->AddReceive(FastbootPacket(1, ""));
369 mock_socket_->AddReceive(FastbootPacket(2, "bar"));
375 mock_socket_->AddReceive(FastbootPacket(3));
377 mock_socket_->AddReceive(FastbootPacket(4));
384 mock_socket_->AddReceive(FastbootPacket(5, "foo bar baz"));
386 mock_socket_->AddReceive(FastbootPacket(6, "\x01\x02\x03\x04\x05"));
414 mock_socket_->AddReceive(FastbootPacket(1, ""));
439 mock_socket_->AddReceive(FastbootPacket(1));
441 mock_socket_->AddReceive(FastbootPacket(2));
443 mock_socket_->AddReceive(FastbootPacket(3));
448 mock_socket_->AddReceive(FastbootPacket(4, chunks[0], kFlagContinuation));
450 mock_socket_->AddReceive(FastbootPacket(5, chunks[1], kFlagContinuation));
452 mock_socket_->AddReceive(FastbootPacket(6, chunks[2]));
460 mock_socket_->AddReceive(FastbootPacket(1, "foo", kFlagContinuation));
462 mock_socket_->AddReceive(FastbootPacket(2, "bar"));
470 mock_socket_->AddReceive(FastbootPacket(1, "foo", kFlagContinuation));
472 mock_socket_->AddReceive(ErrorPacket(2, "test error"));
480 mock_socket_->AddReceive(FastbootPacket(1, "foo", kFlagContinuation));
484 mock_socket_->AddReceive(FastbootPacket(2, "bar"));
492 mock_socket_->AddReceive(FastbootPacket(1, "foobarbaz"));
501 mock_socket_->AddReceive(FastbootPacket(0, "sequence too low"));
502 mock_socket_->AddReceive(FastbootPacket(2, "sequence too high"));
503 mock_socket_->AddReceive(QueryPacket(1));
504 mock_socket_->AddReceive(FastbootPacket(1, "correct"));
513 mock_socket_->AddReceive(ErrorPacket(0, "ignored error"));
514 mock_socket_->AddReceive(FastbootPacket(1));
520 mock_socket_->AddReceive(ErrorPacket(2, "test error"));