Searched refs:Connection (Results 1 - 3 of 3) sorted by relevance

/system/bt/service/
H A Dgatt_server.h171 struct Connection { struct in class:bluetooth::GattServer
172 Connection(int conn_id, const RawAddress& bdaddr) function in struct:bluetooth::GattServer::Connection
174 Connection() : conn_id(-1) { memset(&bdaddr, 0, sizeof(bdaddr)); } function in struct:bluetooth::GattServer::Connection
234 // Helper method that returns a pointer to an internal Connection instance
236 std::shared_ptr<Connection> GetConnection(int conn_id, const RawAddress& bda,
248 // device addresses to Connection structures. The conn_id map is one-to-one
251 std::unordered_map<int, std::shared_ptr<Connection>> conn_id_map_;
252 std::unordered_map<std::string, std::vector<std::shared_ptr<Connection>>>
H A Dgatt_server.cc129 std::shared_ptr<Connection> connection;
271 LOG(WARNING) << "Connection entry already exists; "
278 std::shared_ptr<Connection> connection(new Connection(conn_id, bda));
534 std::shared_ptr<GattServer::Connection> GattServer::GetConnection(
538 VLOG(1) << "Connection doesn't belong to this server";
/system/bt/vendor_libs/test_vendor_lib/scripts/
H A Dtest_channel.py59 class Connection(object): class in inherits:object
85 self._connection = Connection(port)

Completed in 84 milliseconds