Home
last modified time | relevance | path

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

/packages/modules/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()
/packages/modules/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.cpp444 FdConnection::FdConnection(unique_fd fd) : fd_(std::move(fd)) {} in FdConnection() function in FdConnection
446 FdConnection::~FdConnection() {} in ~FdConnection()
448 bool FdConnection::DispatchRead(void* buf, size_t len) { in DispatchRead()
460 bool FdConnection::DispatchWrite(void* buf, size_t len) { in DispatchWrite()
472 bool FdConnection::Read(apacket* packet) { in Read()
493 bool FdConnection::Write(apacket* packet) { in Write()
509 bool FdConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake()
555 void FdConnection::Close() { in Close()
Dtransport.h200 struct FdConnection : public BlockingConnection { struct
201 explicit FdConnection(unique_fd fd);
202 ~FdConnection();
/packages/modules/adb/daemon/
Dtransport_local.cpp102 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in init_socket_transport()