Home
last modified time | relevance | path

Searched refs:InitPacket (Results 1 – 2 of 2) sorted by relevance

/system/core/fastboot/
Dudp_test.cpp54 static std::string InitPacket(uint16_t sequence, uint16_t version, uint16_t max_packet_size) { in InitPacket() function
92 mock_socket_->ExpectSend(InitPacket(seq, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
93 mock_socket_->AddReceive(InitPacket(seq, kProtocolVersion, 1024)); in TEST_F()
106 mock_socket_->ExpectSend(InitPacket(0x4455, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
124 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
125 mock_socket_->AddReceive(InitPacket(0, 2, 1024)); in TEST_F()
131 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
132 mock_socket_->AddReceive(InitPacket(0, 0, 1024)); in TEST_F()
157 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
167 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F()
[all …]
/system/core/fastboot/fuzzer/
Dfastboot_fuzzer.cpp171 static string InitPacket(uint16_t sequence, uint16_t version, uint16_t max_packet_size) { in InitPacket() function
199 udp_mock->ExpectSend(InitPacket(starting_sequence, udp::internal::kProtocolVersion, in InvokeUdp()
202 InitPacket(starting_sequence, udp::internal::kProtocolVersion, device_max_packet_size)); in InvokeUdp()