Lines Matching refs:Connection
221 // Used for the internal remote connection tracking. Keeps track of the
222 // request ID and the device address for the connection. If |request_id| is -1
224 struct Connection {
225 Connection(int conn_id, const bt_bdaddr_t& bdaddr)
227 Connection() : conn_id(-1) {
315 // Helper method that returns a pointer to an internal Connection instance
317 std::shared_ptr<Connection> GetConnection(int conn_id, const bt_bdaddr_t& bda,
340 // GATT connection mappings from stack-provided "conn_id" IDs and remote
341 // device addresses to Connection structures. The conn_id map is one-to-one
344 std::unordered_map<int, std::shared_ptr<Connection>> conn_id_map_;
345 std::unordered_map<std::string, std::vector<std::shared_ptr<Connection>>>