Lines Matching refs:conn_id
172 ->send_response(connection->conn_id, request_id, error, response); in SendResponse()
212 if (pending_indications_.find(conn->conn_id) != in SendNotification()
215 << " is already pending for connection: " << conn->conn_id; in SendNotification()
225 conn->conn_id, confirm, value); in SendNotification()
235 pending_indications_[conn->conn_id] = pending_ind; in SendNotification()
248 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int server_id, in ConnectionCallback() argument
256 VLOG(1) << __func__ << " conn_id: " << conn_id << " connected: " << connected in ConnectionCallback()
262 conn_id_map_.erase(conn_id); in ConnectionCallback()
269 if ((*conn_iter)->conn_id != conn_id) continue; in ConnectionCallback()
281 if (conn_id_map_.find(conn_id) != conn_id_map_.end()) { in ConnectionCallback()
287 LOG(INFO) << "Added connection entry for conn_id: " << conn_id in ConnectionCallback()
289 std::shared_ptr<Connection> connection(new Connection(conn_id, bda)); in ConnectionCallback()
290 conn_id_map_[conn_id] = connection; in ConnectionCallback()
340 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestReadCharacteristicCallback() argument
346 auto conn = GetConnection(conn_id, bda, trans_id); in RequestReadCharacteristicCallback()
351 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestReadCharacteristicCallback()
373 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestReadDescriptorCallback() argument
379 auto conn = GetConnection(conn_id, bda, trans_id); in RequestReadDescriptorCallback()
384 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestReadDescriptorCallback()
407 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestWriteCharacteristicCallback() argument
414 auto conn = GetConnection(conn_id, bda, trans_id); in RequestWriteCharacteristicCallback()
419 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestWriteCharacteristicCallback()
446 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestWriteDescriptorCallback() argument
453 auto conn = GetConnection(conn_id, bda, trans_id); in RequestWriteDescriptorCallback()
458 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestWriteDescriptorCallback()
485 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestExecWriteCallback() argument
491 auto conn = GetConnection(conn_id, bda, trans_id); in RequestExecWriteCallback()
496 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestExecWriteCallback()
518 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int status) { in IndicationSentCallback() argument
519 VLOG(1) << __func__ << " conn_id: " << conn_id << " status: " << status; in IndicationSentCallback()
522 const auto& pending_ind_iter = pending_indications_.find(conn_id); in IndicationSentCallback()
524 VLOG(1) << "Unknown connection: " << conn_id; in IndicationSentCallback()
546 int conn_id, const RawAddress& bda, int request_id) { in GetConnection() argument
547 auto iter = conn_id_map_.find(conn_id); in GetConnection()
556 << "connection ID: " << conn_id; in GetConnection()
563 << " connection: " << conn_id; in GetConnection()