Home
last modified time | relevance | path

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

/packages/modules/adb/tls/tests/
Dtls_connection_test.cpp306 ASSERT_TRUE(client_->ReadFully(buf.data(), msg_.size())); in TEST_F()
310 auto data = server_->ReadFully(msg_.size()); in TEST_F()
330 auto data = client_->ReadFully(msg_.size()); in TEST_F()
334 auto data = server_->ReadFully(msg_.size()); in TEST_F()
357 auto data = client_->ReadFully(msg_.size()); in TEST_F()
361 auto data = server_->ReadFully(msg_.size()); in TEST_F()
388 auto data = client_->ReadFully(msg_.size()); in TEST_F()
392 auto data = server_->ReadFully(msg_.size()); in TEST_F()
506 auto data = client_->ReadFully(msg_.size()); in TEST_F()
510 auto data = server_->ReadFully(msg_.size()); in TEST_F()
/packages/modules/adb/tls/
Dtls_connection.cpp51 std::vector<uint8_t> ReadFully(size_t size) override;
52 bool ReadFully(void* buf, size_t size) override;
311 std::vector<uint8_t> TlsConnectionImpl::ReadFully(size_t size) { in ReadFully() function in adb::tls::__anon687488e00111::TlsConnectionImpl
313 if (!ReadFully(buf.data(), buf.size())) { in ReadFully()
320 bool TlsConnectionImpl::ReadFully(void* buf, size_t size) { in ReadFully() function in adb::tls::__anon687488e00111::TlsConnectionImpl
/packages/modules/adb/tls/include/adb/tls/
Dtls_connection.h101 virtual std::vector<uint8_t> ReadFully(size_t size) = 0;
106 virtual bool ReadFully(void* buf, size_t size) = 0;
/packages/modules/adb/pairing_connection/
Dpairing_connection.cpp219 auto data = tls_->ReadFully(sizeof(PairingPacketHeader)); in ReadHeader()
321 auto their_msg = tls_->ReadFully(header.payload); in DoExchangeMsgs()
376 buf = tls_->ReadFully(header.payload); in DoExchangePeerInfo()
/packages/modules/StatsD/statsd/src/shell/
DShellSubscriberClient.cpp114 if (!android::base::ReadFully(in, &bufferSize, sizeof(bufferSize))) { in create()
128 if (!android::base::ReadFully(in, buffer.data(), bufferSize)) { in create()
/packages/modules/adb/
Dtransport.cpp454 return tls_->ReadFully(buf, len); in DispatchRead()