Home
last modified time | relevance | path

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

/system/bt/vendor_libs/test_vendor_lib/src/
Dpacket_stream.cc36 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/
Dtcp.cpp104 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()
Dsocket.h89 virtual ssize_t ReceiveAll(void* data, size_t length, int timeout_ms);
Dsocket.cpp51 ssize_t Socket::ReceiveAll(void* data, size_t length, int timeout_ms) { in ReceiveAll() function in Socket
Dsocket_test.cpp72 ssize_t bytes = sock->ReceiveAll(&received[0], received.length(), kTestTimeoutMs); in ReceiveString()
/system/bt/vendor_libs/test_vendor_lib/include/
Dpacket_stream.h57 bool ReceiveAll(std::vector<uint8_t>& destination,