Home
last modified time | relevance | path

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

/system/core/fastboot/
Dtcp.cpp37 static constexpr size_t kHandshakeLength = 4; variable
96 if (!socket_->Send(handshake_message.c_str(), kHandshakeLength)) { in InitializeProtocol()
102 char buffer[kHandshakeLength + 1]; in InitializeProtocol()
103 buffer[kHandshakeLength] = '\0'; in InitializeProtocol()
104 if (socket_->ReceiveAll(buffer, kHandshakeLength, kHandshakeTimeoutMs) != kHandshakeLength) { in InitializeProtocol()