Searched refs:FastbootPacket (Results 1 – 2 of 2) sorted by relevance
/system/core/fastboot/ |
D | udp_test.cpp | 60 static std::string FastbootPacket(uint16_t sequence, const std::string& data = "", in FastbootPacket() function 221 mock_socket_->AddReceive(FastbootPacket(0)); in TEST_F() 225 mock_socket_->AddReceive(FastbootPacket(0)); in TEST_F() 353 mock_socket_->ExpectSend(FastbootPacket(++seq, "foo")); in TEST_F() 354 mock_socket_->AddReceive(FastbootPacket(seq, "")); in TEST_F() 355 mock_socket_->ExpectSend(FastbootPacket(++seq, "")); in TEST_F() 356 mock_socket_->AddReceive(FastbootPacket(seq, "bar")); in TEST_F() 366 mock_socket_->ExpectSend(FastbootPacket(1, "foo")); in TEST_F() 367 mock_socket_->AddReceive(FastbootPacket(1, "")); in TEST_F() 368 mock_socket_->ExpectSend(FastbootPacket(2, "")); in TEST_F() [all …]
|
/system/core/fastboot/fuzzer/ |
D | fastboot_fuzzer.cpp | 185 static string FastbootPacket(uint16_t sequence, const string& data = "", in FastbootPacket() function 216 udp_mock->ExpectSend(FastbootPacket(i, write_message)); in InvokeUdp() 222 udp_mock->AddReceive(FastbootPacket(i, read_message)); in InvokeUdp()
|