Home
last modified time | relevance | path

Searched refs:delayed_role_change_ (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_impl.h362 if (delayed_role_change_ == nullptr) { in create_and_announce_connection()
364 } else if (delayed_role_change_->GetBdAddr() == address) { in create_and_announce_connection()
365 log::info("Sending delayed role change for {}", delayed_role_change_->GetBdAddr()); in create_and_announce_connection()
366 … callbacks->OnRoleChange(delayed_role_change_->GetStatus(), delayed_role_change_->GetNewRole()); in create_and_announce_connection()
367 delayed_role_change_.reset(); in create_and_announce_connection()
671 if (delayed_role_change_ != nullptr) { in on_role_change()
672 log::warn("Second delayed role change (@{} dropped)", delayed_role_change_->GetBdAddr()); in on_role_change()
678 delayed_role_change_ = std::make_unique<RoleChangeView>(role_change_view); in on_role_change()
759 std::unique_ptr<RoleChangeView> delayed_role_change_ = nullptr; member
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_acl.cc130 std::unique_ptr<RoleChangeView> delayed_role_change_ = nullptr; variable
1339 if (overwrite_cache || delayed_role_change_ == nullptr) { in acl_cache_role()
1343 delayed_role_change_ = in acl_cache_role()
2345 if (delayed_role_change_ != nullptr && delayed_role_change_->bd_addr == bda) { in on_acl_br_edr_connected()
2347 delayed_role_change_->new_role); in on_acl_br_edr_connected()
2351 delayed_role_change_ = nullptr; in on_acl_br_edr_connected()
2378 if (delayed_role_change_ != nullptr && delayed_role_change_->bd_addr == bda) { in on_acl_br_edr_failed()
2380 delayed_role_change_->new_role); in on_acl_br_edr_failed()
2384 delayed_role_change_ = nullptr; in on_acl_br_edr_failed()