Home
last modified time | relevance | path

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

/system/core/adb/client/
Dtransport_local.cpp238 struct EmulatorConnection : public FdConnection {
240 : FdConnection(std::move(fd)), local_port_(local_port) {} in EmulatorConnection()
255 FdConnection::Close(); in Close()
307 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in init_socket_transport()
/system/core/adb/
Dtransport_benchmark.cpp28 BENCHMARK_TEMPLATE(benchmark_name, FdConnection, ##__VA_ARGS__) \
44 std::unique_ptr<Connection> MakeConnection<FdConnection>(unique_fd fd) { in MakeConnection()
45 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in MakeConnection()
Dtransport.cpp432 FdConnection::FdConnection(unique_fd fd) : fd_(std::move(fd)) {} in FdConnection() function in FdConnection
434 FdConnection::~FdConnection() {} in ~FdConnection()
436 bool FdConnection::DispatchRead(void* buf, size_t len) { in DispatchRead()
448 bool FdConnection::DispatchWrite(void* buf, size_t len) { in DispatchWrite()
460 bool FdConnection::Read(apacket* packet) { in Read()
481 bool FdConnection::Write(apacket* packet) { in Write()
497 bool FdConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake()
543 void FdConnection::Close() { in Close()
Dtransport.h196 struct FdConnection : public BlockingConnection { struct
197 explicit FdConnection(unique_fd fd);
198 ~FdConnection();
/system/core/adb/daemon/
Dtransport_local.cpp114 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in init_socket_transport()