Lines Matching refs:remote
44 extern void gatt_notify_conn_update(const RawAddress& remote, uint16_t interval,
335 void Enforce(bluetooth::hci::AddressWithType remote, in Enforce() argument
356 auto bd_addr = bluetooth::ToRawAddress(remote.GetAddress()); in Enforce()
390 void OnLinkConnected(hci::Address remote, uint16_t handle) override { in OnLinkConnected()
391 address_to_handle_[remote] = handle; in OnLinkConnected()
394 void OnLinkDisconnected(hci::Address remote) override { in OnLinkDisconnected()
395 address_to_handle_.erase(remote); in OnLinkDisconnected()
399 hci::Address remote, uint8_t lmp_version, in OnReadRemoteVersionInformation()
402 auto bda = bluetooth::ToRawAddress(remote); in OnReadRemoteVersionInformation()
410 void OnReadRemoteExtendedFeatures(hci::Address remote, uint8_t page_number, in OnReadRemoteExtendedFeatures()
413 auto bda = bluetooth::ToRawAddress(remote); in OnReadRemoteExtendedFeatures()
430 btm_sec_set_peer_sec_caps(address_to_handle_[remote], entry.ssp_supported, in OnReadRemoteExtendedFeatures()
436 void OnRoleChange(hci::ErrorCode error_code, hci::Address remote, in OnRoleChange()
438 btm_rejectlist_role_change_device(ToRawAddress(remote), in OnRoleChange()
440 btm_acl_role_changed(ToLegacyHciErrorCode(error_code), ToRawAddress(remote), in OnRoleChange()
444 void OnReadClockOffset(hci::Address remote, uint16_t clock_offset) override { in OnReadClockOffset()
445 btm_sec_update_clock_offset(address_to_handle_[remote], clock_offset); in OnReadClockOffset()
448 void OnModeChange(hci::ErrorCode error_code, hci::Address remote, in OnModeChange()
451 address_to_handle_[remote]); in OnModeChange()
453 address_to_handle_[remote], ToLegacyHciMode(mode), in OnModeChange()
457 void OnSniffSubrating(hci::ErrorCode error_code, hci::Address remote, in OnSniffSubrating()
462 address_to_handle_[remote], max_tx_lat, max_rx_lat); in OnSniffSubrating()
484 bluetooth::hci::Address remote) override { in OnAuthenticationComplete() argument
486 auto bda = bluetooth::ToRawAddress(remote); in OnAuthenticationComplete()
491 void OnLinkDisconnected(bluetooth::hci::Address remote) override { in OnLinkDisconnected() argument
492 auto bda = bluetooth::ToRawAddress(remote); in OnLinkDisconnected()
501 void OnEncryptionChange(bluetooth::hci::Address remote, in OnEncryptionChange() argument
504 auto bda = bluetooth::ToRawAddress(remote); in OnEncryptionChange()
509 void UpdateLinkHoldForSecurity(RawAddress remote, bool is_bonding) { in UpdateLinkHoldForSecurity() argument
510 if (address_to_interface_.count(remote) == 0) { in UpdateLinkHoldForSecurity()
514 address_to_interface_[remote]->Hold(); in UpdateLinkHoldForSecurity()
516 address_to_interface_[remote]->Release(); in UpdateLinkHoldForSecurity()
520 bool IsRoleCentral(RawAddress remote) { in IsRoleCentral() argument
521 if (address_to_interface_.count(remote) == 0) { in IsRoleCentral()
524 return address_to_interface_[remote]->GetRole() == in IsRoleCentral()
528 void Disconnect(RawAddress remote) { in Disconnect() argument
529 if (address_to_interface_.count(remote) == 0) { in Disconnect()
532 return address_to_interface_[remote]->Disconnect(); in Disconnect()
537 bool IsLinkUp(RawAddress remote) { in IsLinkUp() argument
538 return address_to_interface_.count(remote) != 0; in IsLinkUp()
559 void OnLinkConnected(AddressWithType remote, uint16_t handle, in OnLinkConnected()
561 info_[remote.GetAddress()] = {handle, role, remote}; in OnLinkConnected()
562 btm_ble_connected(ToRawAddress(remote.GetAddress()), handle, in OnLinkConnected()
564 static_cast<tBLE_ADDR_TYPE>(remote.GetAddressType()), in OnLinkConnected()
568 void OnLinkDisconnected(hci::AddressWithType remote) override { in OnLinkDisconnected()
569 info_.erase(remote.GetAddress()); in OnLinkDisconnected()
573 hci::AddressWithType remote, in OnReadRemoteVersionInformation()
577 auto bda = bluetooth::ToRawAddress(remote.GetAddress()); in OnReadRemoteVersionInformation()
585 void OnConnectionUpdate(hci::AddressWithType remote, in OnConnectionUpdate()
590 HCI_SUCCESS, info_[remote.GetAddress()].handle, connection_interval, in OnConnectionUpdate()
594 void OnPhyUpdate(hci::AddressWithType remote, uint8_t tx_phy, in OnPhyUpdate()
596 gatt_notify_phy_updated(GATT_SUCCESS, info_[remote.GetAddress()].handle, in OnPhyUpdate()
600 void OnDataLengthChange(hci::AddressWithType remote, uint16_t tx_octets, in OnDataLengthChange()
628 void Enforce(bluetooth::hci::AddressWithType remote, in Enforce() argument
648 auto bd_addr = bluetooth::ToRawAddress(remote.GetAddress()); in Enforce()
887 auto remote = channel->GetDevice(); in on_channel_open() local
888 auto device = remote.GetAddress(); in on_channel_open()
928 RawAddress remote, le::FixedChannelManager::ConnectionResult result) { in on_outgoing_connection_fail()
930 freg_.pL2CA_FixedConn_Cb(cid_, remote, true, 0, BT_TRANSPORT_LE); in on_outgoing_connection_fail()
933 bool send(hci::Address remote, in send()
935 auto buffer = channel_enqueue_buffer_.find(remote); in send()
1003 auto remote = Btm::GetAddressAndType(rem_bda); in L2CA_ConnectFixedChnl() local
1007 remote = record->second.address_with_type; in L2CA_ConnectFixedChnl()
1009 LOG(ERROR) << __func__ << remote.ToString(); in L2CA_ConnectFixedChnl()
1012 remote, in L2CA_ConnectFixedChnl()
1212 auto remote = ToGdAddress(pseudo_addr); in L2CA_ReadRemoteConnectionAddr() local
1213 if (le_link_property_listener_shim_.info_.count(remote) == 0) { in L2CA_ReadRemoteConnectionAddr()
1217 auto info = le_link_property_listener_shim_.info_[remote].address_with_type; in L2CA_ReadRemoteConnectionAddr()
1224 auto remote = ToGdAddress(bd_addr); in L2CA_GetBleConnRole() local
1225 if (le_link_property_listener_shim_.info_.count(remote) == 0) { in L2CA_GetBleConnRole()
1229 le_link_property_listener_shim_.info_[remote].role); in L2CA_GetBleConnRole()
1241 void L2CA_DisconnectLink(const RawAddress& remote) { in L2CA_DisconnectLink() argument
1242 security_listener_shim_.Disconnect(remote); in L2CA_DisconnectLink()
1528 auto remote = Btm::GetAddressAndType(p_bd_addr); in L2CA_ConnectLECocReq() local
1532 remote = record->second.address_with_type; in L2CA_ConnectLECocReq()
1534 le_dynamic_channel_helper_map_[psm]->Connect(cid_token, remote); in L2CA_ConnectLECocReq()