Searched refs:kHandshakeLength (Results 1 – 2 of 2) sorted by relevance
30 static constexpr size_t kHandshakeLength = 4; variable144 char buffer[kHandshakeLength + 1]; in ListenFastbootSocket()145 buffer[kHandshakeLength] = '\0'; in ListenFastbootSocket()146 if (socket_->ReceiveAll(buffer, kHandshakeLength, kHandshakeTimeoutMs) != in ListenFastbootSocket()147 kHandshakeLength) { in ListenFastbootSocket()168 if (!socket_->Send(handshake_message.c_str(), kHandshakeLength)) { in ListenFastbootSocket()
37 static constexpr size_t kHandshakeLength = 4; variable97 if (!socket_->Send(handshake_message.c_str(), kHandshakeLength)) { in InitializeProtocol()103 char buffer[kHandshakeLength + 1]; in InitializeProtocol()104 buffer[kHandshakeLength] = '\0'; in InitializeProtocol()105 if (socket_->ReceiveAll(buffer, kHandshakeLength, kHandshakeTimeoutMs) != kHandshakeLength) { in InitializeProtocol()