• Home
  • Raw
  • Download

Lines Matching refs:conn

208   for (const auto& conn : conn_iter->second) {  in SendNotification()  local
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()
344 auto conn = GetConnection(conn_id, bda, trans_id); in RequestReadCharacteristicCallback() local
345 if (!conn) return; in RequestReadCharacteristicCallback()
354 conn->request_id_to_handle[trans_id] = attribute_handle; in RequestReadCharacteristicCallback()
377 auto conn = GetConnection(conn_id, bda, trans_id); in RequestReadDescriptorCallback() local
378 if (!conn) return; in RequestReadDescriptorCallback()
387 conn->request_id_to_handle[trans_id] = attribute_handle; in RequestReadDescriptorCallback()
412 auto conn = GetConnection(conn_id, bda, trans_id); in RequestWriteCharacteristicCallback() local
413 if (!conn) return; in RequestWriteCharacteristicCallback()
425 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteCharacteristicCallback()
451 auto conn = GetConnection(conn_id, bda, trans_id); in RequestWriteDescriptorCallback() local
452 if (!conn) return; in RequestWriteDescriptorCallback()
464 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteDescriptorCallback()
489 auto conn = GetConnection(conn_id, bda, trans_id); in RequestExecWriteCallback() local
490 if (!conn) return; in RequestExecWriteCallback()
499 conn->request_id_to_handle[trans_id] = -1; in RequestExecWriteCallback()
551 auto conn = iter->second; in GetConnection() local
552 if (conn->bdaddr != bda) { in GetConnection()
558 if (conn->request_id_to_handle.find(request_id) != in GetConnection()
559 conn->request_id_to_handle.end()) { in GetConnection()
565 return conn; in GetConnection()