Loading system/gd/hci/acl_manager.cc +8 −4 Original line number Diff line number Diff line Loading @@ -220,6 +220,10 @@ void AclManager::AddDeviceToConnectList(AddressWithType address_with_type) { CallOn(pimpl_->le_impl_, &le_impl::add_device_to_connect_list, address_with_type); } void AclManager::RemoveDeviceFromConnectList(AddressWithType address_with_type) { CallOn(pimpl_->le_impl_, &le_impl::remove_device_from_connect_list, address_with_type); } void AclManager::AddDeviceToResolvingList( AddressWithType address_with_type, const std::array<uint8_t, 16>& peer_irk, Loading @@ -227,14 +231,14 @@ void AclManager::AddDeviceToResolvingList( CallOn(pimpl_->le_impl_, &le_impl::add_device_to_resolving_list, address_with_type, peer_irk, local_irk); } void AclManager::RemoveDeviceFromConnectList(AddressWithType address_with_type) { CallOn(pimpl_->le_impl_, &le_impl::remove_device_from_connect_list, address_with_type); } void AclManager::RemoveDeviceFromResolvingList(AddressWithType address_with_type) { CallOn(pimpl_->le_impl_, &le_impl::remove_device_from_resolving_list, address_with_type); } void AclManager::ClearResolvingList() { CallOn(pimpl_->le_impl_, &le_impl::clear_resolving_list); } void AclManager::CentralLinkKey(KeyFlag key_flag) { CallOn(pimpl_->classic_impl_, &classic_impl::central_link_key, key_flag); } Loading system/gd/hci/acl_manager.h +2 −1 Original line number Diff line number Diff line Loading @@ -101,12 +101,13 @@ public: virtual void CancelLeConnect(AddressWithType address_with_type); virtual void AddDeviceToConnectList(AddressWithType address_with_type); virtual void RemoveDeviceFromConnectList(AddressWithType address_with_type); virtual void AddDeviceToResolvingList( AddressWithType address_with_type, const std::array<uint8_t, 16>& peer_irk, const std::array<uint8_t, 16>& local_irk); virtual void RemoveDeviceFromConnectList(AddressWithType address_with_type); virtual void RemoveDeviceFromResolvingList(AddressWithType address_with_type); virtual void ClearResolvingList(); virtual void CentralLinkKey(KeyFlag key_flag); virtual void SwitchRole(Address address, Role role); Loading system/gd/hci/acl_manager/le_impl.h +4 −0 Original line number Diff line number Diff line Loading @@ -625,6 +625,10 @@ struct le_impl : public bluetooth::hci::LeAddressManagerCallback { } } void clear_resolving_list() { le_address_manager_->ClearResolvingList(); } void set_privacy_policy_for_initiator_address( LeAddressManager::AddressPolicy address_policy, AddressWithType fixed_address, Loading Loading
system/gd/hci/acl_manager.cc +8 −4 Original line number Diff line number Diff line Loading @@ -220,6 +220,10 @@ void AclManager::AddDeviceToConnectList(AddressWithType address_with_type) { CallOn(pimpl_->le_impl_, &le_impl::add_device_to_connect_list, address_with_type); } void AclManager::RemoveDeviceFromConnectList(AddressWithType address_with_type) { CallOn(pimpl_->le_impl_, &le_impl::remove_device_from_connect_list, address_with_type); } void AclManager::AddDeviceToResolvingList( AddressWithType address_with_type, const std::array<uint8_t, 16>& peer_irk, Loading @@ -227,14 +231,14 @@ void AclManager::AddDeviceToResolvingList( CallOn(pimpl_->le_impl_, &le_impl::add_device_to_resolving_list, address_with_type, peer_irk, local_irk); } void AclManager::RemoveDeviceFromConnectList(AddressWithType address_with_type) { CallOn(pimpl_->le_impl_, &le_impl::remove_device_from_connect_list, address_with_type); } void AclManager::RemoveDeviceFromResolvingList(AddressWithType address_with_type) { CallOn(pimpl_->le_impl_, &le_impl::remove_device_from_resolving_list, address_with_type); } void AclManager::ClearResolvingList() { CallOn(pimpl_->le_impl_, &le_impl::clear_resolving_list); } void AclManager::CentralLinkKey(KeyFlag key_flag) { CallOn(pimpl_->classic_impl_, &classic_impl::central_link_key, key_flag); } Loading
system/gd/hci/acl_manager.h +2 −1 Original line number Diff line number Diff line Loading @@ -101,12 +101,13 @@ public: virtual void CancelLeConnect(AddressWithType address_with_type); virtual void AddDeviceToConnectList(AddressWithType address_with_type); virtual void RemoveDeviceFromConnectList(AddressWithType address_with_type); virtual void AddDeviceToResolvingList( AddressWithType address_with_type, const std::array<uint8_t, 16>& peer_irk, const std::array<uint8_t, 16>& local_irk); virtual void RemoveDeviceFromConnectList(AddressWithType address_with_type); virtual void RemoveDeviceFromResolvingList(AddressWithType address_with_type); virtual void ClearResolvingList(); virtual void CentralLinkKey(KeyFlag key_flag); virtual void SwitchRole(Address address, Role role); Loading
system/gd/hci/acl_manager/le_impl.h +4 −0 Original line number Diff line number Diff line Loading @@ -625,6 +625,10 @@ struct le_impl : public bluetooth::hci::LeAddressManagerCallback { } } void clear_resolving_list() { le_address_manager_->ClearResolvingList(); } void set_privacy_policy_for_initiator_address( LeAddressManager::AddressPolicy address_policy, AddressWithType fixed_address, Loading