Searched defs:Connection (Results 1 – 8 of 8) sorted by relevance
/system/bt/service/ |
D | gatt_server.h | 171 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() argument 195 void ConnectionCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id, argument
|
/system/core/adb/ |
D | transport.h | 76 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
|
D | transport_benchmark.cpp | 66 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
|
D | transport.cpp | 684 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/ |
D | send_simple_commands.py | 87 class Connection(object): class
|
D | simple_link_layer_socket.py | 73 class Connection(object): class
|
D | simple_stack.py | 107 class Connection(object): class
|
D | test_channel.py | 61 class Connection(object): class
|