Lines Matching refs:conn_id
170 ->send_response(connection->conn_id, request_id, error, response); in SendResponse()
210 if (pending_indications_.find(conn->conn_id) != in SendNotification()
213 << " is already pending for connection: " << conn->conn_id; in SendNotification()
223 conn->conn_id, confirm, value); in SendNotification()
233 pending_indications_[conn->conn_id] = pending_ind; in SendNotification()
246 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int server_id, in ConnectionCallback() argument
254 VLOG(1) << __func__ << " conn_id: " << conn_id << " connected: " << connected in ConnectionCallback()
260 conn_id_map_.erase(conn_id); in ConnectionCallback()
267 if ((*conn_iter)->conn_id != conn_id) continue; in ConnectionCallback()
279 if (conn_id_map_.find(conn_id) != conn_id_map_.end()) { in ConnectionCallback()
285 LOG(INFO) << "Added connection entry for conn_id: " << conn_id in ConnectionCallback()
287 std::shared_ptr<Connection> connection(new Connection(conn_id, bda)); in ConnectionCallback()
288 conn_id_map_[conn_id] = connection; in ConnectionCallback()
338 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestReadCharacteristicCallback() argument
344 auto conn = GetConnection(conn_id, bda, trans_id); in RequestReadCharacteristicCallback()
349 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestReadCharacteristicCallback()
371 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestReadDescriptorCallback() argument
377 auto conn = GetConnection(conn_id, bda, trans_id); in RequestReadDescriptorCallback()
382 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestReadDescriptorCallback()
405 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestWriteCharacteristicCallback() argument
412 auto conn = GetConnection(conn_id, bda, trans_id); in RequestWriteCharacteristicCallback()
417 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestWriteCharacteristicCallback()
444 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestWriteDescriptorCallback() argument
451 auto conn = GetConnection(conn_id, bda, trans_id); in RequestWriteDescriptorCallback()
456 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestWriteDescriptorCallback()
483 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestExecWriteCallback() argument
489 auto conn = GetConnection(conn_id, bda, trans_id); in RequestExecWriteCallback()
494 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestExecWriteCallback()
516 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int status) { in IndicationSentCallback() argument
517 VLOG(1) << __func__ << " conn_id: " << conn_id << " status: " << status; in IndicationSentCallback()
520 const auto& pending_ind_iter = pending_indications_.find(conn_id); in IndicationSentCallback()
522 VLOG(1) << "Unknown connection: " << conn_id; in IndicationSentCallback()
544 int conn_id, const RawAddress& bda, int request_id) { in GetConnection() argument
545 auto iter = conn_id_map_.find(conn_id); in GetConnection()
554 << "connection ID: " << conn_id; in GetConnection()
561 << " connection: " << conn_id; in GetConnection()