Searched refs:ReceiveAll (Results 1 – 6 of 6) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | packet_stream.cc | 36 if (!ReceiveAll(header, CommandPacket::kCommandHeaderSize, fd)) { in ReceiveCommand() 41 if (!ReceiveAll(payload, header.back(), fd)) { in ReceiveCommand() 59 if (!ReceiveAll(raw_type_octet, 1, fd)) { in ReceivePacketType() 105 bool PacketStream::ReceiveAll(std::vector<uint8_t>& destination, in ReceiveAll() function in test_vendor_lib::PacketStream
|
/system/core/fastboot/ |
D | tcp.cpp | 104 if (socket_->ReceiveAll(buffer, kHandshakeLength, kHandshakeTimeoutMs) != kHandshakeLength) { in InitializeProtocol() 135 if (socket_->ReceiveAll(buffer, 8, 0) != 8) { in Read() 146 ssize_t bytes_read = socket_->ReceiveAll(data, length, 0); in Read()
|
D | socket.h | 89 virtual ssize_t ReceiveAll(void* data, size_t length, int timeout_ms);
|
D | socket.cpp | 51 ssize_t Socket::ReceiveAll(void* data, size_t length, int timeout_ms) { in ReceiveAll() function in Socket
|
D | socket_test.cpp | 72 ssize_t bytes = sock->ReceiveAll(&received[0], received.length(), kTestTimeoutMs); in ReceiveString()
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
D | packet_stream.h | 57 bool ReceiveAll(std::vector<uint8_t>& destination,
|