Lines Matching refs:conn

210   for (const auto& conn : conn_iter->second) {  in SendNotification()  local
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()
346 auto conn = GetConnection(conn_id, bda, trans_id); in RequestReadCharacteristicCallback() local
347 if (!conn) return; in RequestReadCharacteristicCallback()
356 conn->request_id_to_handle[trans_id] = attribute_handle; in RequestReadCharacteristicCallback()
379 auto conn = GetConnection(conn_id, bda, trans_id); in RequestReadDescriptorCallback() local
380 if (!conn) return; in RequestReadDescriptorCallback()
389 conn->request_id_to_handle[trans_id] = attribute_handle; in RequestReadDescriptorCallback()
414 auto conn = GetConnection(conn_id, bda, trans_id); in RequestWriteCharacteristicCallback() local
415 if (!conn) return; in RequestWriteCharacteristicCallback()
427 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteCharacteristicCallback()
453 auto conn = GetConnection(conn_id, bda, trans_id); in RequestWriteDescriptorCallback() local
454 if (!conn) return; in RequestWriteDescriptorCallback()
466 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteDescriptorCallback()
491 auto conn = GetConnection(conn_id, bda, trans_id); in RequestExecWriteCallback() local
492 if (!conn) return; in RequestExecWriteCallback()
501 conn->request_id_to_handle[trans_id] = -1; in RequestExecWriteCallback()
553 auto conn = iter->second; in GetConnection() local
554 if (conn->bdaddr != bda) { in GetConnection()
560 if (conn->request_id_to_handle.find(request_id) != in GetConnection()
561 conn->request_id_to_handle.end()) { in GetConnection()
567 return conn; in GetConnection()