Home
last modified time | relevance | path

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

/system/bt/service/
Dgatt_server.h171 struct Connection { struct
172 Connection(int conn_id, const RawAddress& bdaddr) in Connection() argument
174 Connection() : conn_id(-1) { memset(&bdaddr, 0, sizeof(bdaddr)); } in Connection() function
195 void ConnectionCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id, argument
/system/core/adb/
Dtransport.h104 struct Connection { struct
112 using ReadCallback = std::function<bool(Connection*, std::unique_ptr<apacket>)>; argument
118 // Called after the Connection has terminated, either by an error or because Stop was called. argument
119 using ErrorCallback = std::function<void(Connection*, const std::string&)>; argument
139 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.cpp796 t->connection()->SetReadCallback([t](Connection*, std::unique_ptr<apacket> p) { in transport_registration_func() argument
809 t->connection()->SetErrorCallback([t](Connection*, const std::string& error) { in transport_registration_func() argument
/system/core/adb/daemon/
Dlogging.h23 Connection, enumerator
/system/bt/gd/hci/facade/
Dle_acl_manager_facade.cc261 class Connection : public LeConnectionManagementCallbacks { class in bluetooth::hci::facade::LeAclManagerFacadeService
263 Connection( in Connection() function in bluetooth::hci::facade::LeAclManagerFacadeService::Connection
Dacl_manager_facade.cc368 class Connection : public ConnectionManagementCallbacks { class in bluetooth::hci::facade::AclManagerFacadeService
370 Connection( in Connection() function in bluetooth::hci::facade::AclManagerFacadeService::Connection
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dsimple_link_layer_socket.py73 class Connection(object): class
Dsend_simple_commands.py87 class Connection(object): class
Dsimple_stack.py107 class Connection(object): class
Dtest_channel.py62 class Connection(object): class