Searched refs:kProtocolVersion (Results 1 – 5 of 5) sorted by relevance
/system/core/fastboot/ |
D | udp_test.cpp | 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() 131 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); 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() 185 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F() 188 mock_socket_->ExpectSend(InitPacket(0, kProtocolVersion, kHostMaxPacketSize)); in TEST_F() 189 mock_socket_->AddReceive(InitPacket(0, kProtocolVersion, 1024)); in TEST_F() [all …]
|
D | tcp.cpp | 36 static constexpr int kProtocolVersion = 1; variable 95 std::string handshake_message(android::base::StringPrintf("FB%02d", kProtocolVersion)); in InitializeProtocol() 118 if (!android::base::ParseInt(buffer + 2, &version) || version < kProtocolVersion) { in InitializeProtocol() 120 buffer + 2, kProtocolVersion); in InitializeProtocol()
|
D | udp.h | 48 constexpr uint16_t kProtocolVersion = 1; variable
|
D | udp.cpp | 173 uint8_t init_data[] = {kProtocolVersion >> 8, kProtocolVersion & 0xFF, in InitializeProtocol() 187 if (version < kProtocolVersion) { in InitializeProtocol()
|
/system/core/fastboot/device/ |
D | tcp_client.cpp | 28 static constexpr int kProtocolVersion = 1; variable 160 if (!android::base::ParseInt(buffer + 2, &version) || version < kProtocolVersion) { in ListenFastbootSocket() 162 << ", our version: " << kProtocolVersion; in ListenFastbootSocket() 167 std::string handshake_message(android::base::StringPrintf("FB%02d", kProtocolVersion)); in ListenFastbootSocket()
|