Home
last modified time | relevance | path

Searched refs:kProtocolVersion (Results 1 – 4 of 4) sorted by relevance

/system/core/fastboot/
Dudp_test.cpp92 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 …]
Dtcp.cpp36 static constexpr int kProtocolVersion = 1; variable
94 std::string handshake_message(android::base::StringPrintf("FB%02d", kProtocolVersion)); in InitializeProtocol()
117 if (!android::base::ParseInt(buffer + 2, &version) || version < kProtocolVersion) { in InitializeProtocol()
119 buffer + 2, kProtocolVersion); in InitializeProtocol()
Dudp.h49 constexpr uint16_t kProtocolVersion = 1; variable
Dudp.cpp172 uint8_t init_data[] = {kProtocolVersion >> 8, kProtocolVersion & 0xFF, in InitializeProtocol()
186 if (version < kProtocolVersion) { in InitializeProtocol()