Home
last modified time | relevance | path

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

/system/core/adb/pairing_connection/
Dpairing_connection.cpp46 struct PairingPacketHeader { struct
102 bool WriteHeader(const PairingPacketHeader* header, std::string_view payload);
106 bool ReadHeader(PairingPacketHeader* header);
108 void CreateHeader(PairingPacketHeader* header, adb::proto::PairingPacket::Type type,
204 bool PairingConnectionCtx::WriteHeader(const PairingPacketHeader* header, in WriteHeader()
206 PairingPacketHeader network_header = *header; in WriteHeader()
209 sizeof(PairingPacketHeader))) || in WriteHeader()
218 bool PairingConnectionCtx::ReadHeader(PairingPacketHeader* header) { in ReadHeader()
219 auto data = tls_->ReadFully(sizeof(PairingPacketHeader)); in ReadHeader()
252 void PairingConnectionCtx::CreateHeader(PairingPacketHeader* header, in CreateHeader()
[all …]