Home
last modified time | relevance | path

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

/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_local.cpp324 struct EmulatorConnection : public FdConnection {
326 : FdConnection(std::move(fd)), local_port_(local_port) {} in EmulatorConnection()
341 FdConnection::Close(); in Close()
396 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in init_socket_transport()
Dtransport.h161 struct FdConnection : public BlockingConnection { struct
162 explicit FdConnection(unique_fd fd) : fd_(std::move(fd)) {} in FdConnection() function
Dtransport.cpp389 bool FdConnection::Read(apacket* packet) { in Read()
410 bool FdConnection::Write(apacket* packet) { in Write()
426 void FdConnection::Close() { in Close()