Home
last modified time | relevance | path

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

/system/bt/service/
Dgatt_server.h171 struct Connection { struct
172 Connection(int conn_id, const RawAddress& bdaddr) in Connection() function
174 Connection() : conn_id(-1) { memset(&bdaddr, 0, sizeof(bdaddr)); } in Connection() argument
195 void ConnectionCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id, argument
/system/core/adb/
Dtransport.h76 struct Connection { struct
84 using ReadCallback = std::function<bool(Connection*, std::unique_ptr<apacket>)>; argument
90 // Called after the Connection has terminated, either by an error or because Stop was called. argument
91 using ErrorCallback = std::function<void(Connection*, const std::string&)>; argument
109 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.cpp684 t->connection()->SetReadCallback([t](Connection*, std::unique_ptr<apacket> p) { in transport_registration_func() argument
697 t->connection()->SetErrorCallback([t](Connection*, const std::string& error) { in transport_registration_func() argument
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dsend_simple_commands.py87 class Connection(object): class
Dsimple_link_layer_socket.py73 class Connection(object): class
Dsimple_stack.py107 class Connection(object): class
Dtest_channel.py61 class Connection(object): class