Home
last modified time | relevance | path

Searched defs:Connection (Results 1 – 7 of 7) sorted by relevance

/packages/modules/adb/
Dtransport.h105 struct Connection { struct
113 using ReadCallback = std::function<bool(Connection*, std::unique_ptr<apacket>)>; argument
119 // Called after the Connection has terminated, either by an error or because Stop was called. argument
120 using ErrorCallback = std::function<void(Connection*, const std::string&)>; argument
140 static std::unique_ptr<Connection> FromFd(unique_fd fd); argument
Dtransport_benchmark.cpp66 client->SetReadCallback([](Connection*, std::unique_ptr<apacket>) -> bool { return true; }); in BM_Connection_Unidirectional() argument
67 … server->SetReadCallback([&received_bytes](Connection*, std::unique_ptr<apacket> packet) -> bool { in BM_Connection_Unidirectional() argument
73 [](Connection*, const std::string& error) { LOG(INFO) << "client closed: " << error; }); in BM_Connection_Unidirectional() argument
75 [](Connection*, const std::string& error) { LOG(INFO) << "server closed: " << error; }); in BM_Connection_Unidirectional() argument
124 … client->SetReadCallback([&received_bytes](Connection*, std::unique_ptr<apacket> packet) -> bool { in BM_Connection_Echo() argument
147 [](Connection*, const std::string& error) { LOG(INFO) << "client closed: " << error; }); in BM_Connection_Echo() argument
149 [](Connection*, const std::string& error) { LOG(INFO) << "server closed: " << error; }); in BM_Connection_Echo() argument
Dtransport.cpp798 t->connection()->SetReadCallback([t](Connection*, std::unique_ptr<apacket> p) { in transport_registration_func() argument
811 t->connection()->SetErrorCallback([t](Connection*, const std::string& error) { in transport_registration_func() argument
/packages/modules/adb/daemon/
Dlogging.h23 Connection, enumerator
/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/
DInetDiagSocketIntegrationTest.java65 private class Connection { class in InetDiagSocketIntegrationTest
81 Connection(String to, String from) throws Exception { in Connection() method in InetDiagSocketIntegrationTest.Connection
/packages/modules/DnsResolver/
Ddoh.rs258 h3_conn: &mut Option<quiche::h3::Connection>, in send_dns_query()
259 mut conn: &mut quiche::Connection, in send_dns_query()
283 h3_conn: &mut h3::Connection, in recv_query()
284 mut conn: &mut quiche::Connection, in recv_query()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java48 class Connection { class in ContextMap
54 Connection(int connId, String address, int appId) { in Connection() method in ContextMap.Connection