Home
last modified time | relevance | path

Searched refs:new_role (Results 1 – 25 of 30) sorted by relevance

12

/system/bt/bta/include/
Dbta_dm_acl.h29 void BTA_dm_report_role_change(const RawAddress bd_addr, tHCI_ROLE new_role,
/system/bt/stack/include/
Dacl_client_callbacks.h32 virtual void on_acl_role_change(const RawAddress bd_addr, hci_role_t new_role,
Dl2cap_hci_link_interface.h27 extern void l2c_link_role_changed(const RawAddress* bd_addr, uint8_t new_role,
Dacl_hci_link_interface.h43 tHCI_ROLE new_role);
/system/bt/bta/sys/
Dbta_sys_conn.cc89 void bta_sys_notify_role_chg(const RawAddress& peer_addr, tHCI_ROLE new_role, in bta_sys_notify_role_chg() argument
92 PRIVATE_ADDRESS(peer_addr), RoleText(new_role).c_str(), in bta_sys_notify_role_chg()
95 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, peer_addr); in bta_sys_notify_role_chg()
Dbta_sys.h247 tHCI_ROLE new_role, tHCI_STATUS hci_status);
/system/bt/stack/acl/
Dbtm_acl.cc92 tHCI_ROLE new_role);
100 tHCI_ROLE new_role = HCI_ROLE_UNKNOWN; member
166 void NotifyAclRoleSwitchComplete(const RawAddress& bda, tHCI_ROLE new_role, in NotifyAclRoleSwitchComplete() argument
168 BTA_dm_report_role_change(bda, new_role, hci_status); in NotifyAclRoleSwitchComplete()
1390 tHCI_ROLE new_role) { in btm_acl_role_changed() argument
1396 role_change.new_role = new_role; in btm_acl_role_changed()
1407 RoleText(new_role).c_str()); in btm_acl_role_changed()
1411 p_switch_role->role = new_role; in btm_acl_role_changed()
1415 p_acl->link_role = new_role; in btm_acl_role_changed()
1419 if (new_role == HCI_ROLE_CENTRAL) { in btm_acl_role_changed()
[all …]
/system/bt/stack/test/common/
Dmock_bta_sys_conn.cc66 void bta_sys_notify_role_chg(const RawAddress& peer_addr, uint8_t new_role, in bta_sys_notify_role_chg() argument
Dmock_stack_l2cap_link.cc70 void l2c_link_role_changed(const RawAddress* bd_addr, uint8_t new_role, in l2c_link_role_changed() argument
Dmock_bta_dm_act.cc46 void BTA_dm_report_role_change(const RawAddress bd_addr, tHCI_ROLE new_role, in BTA_dm_report_role_change() argument
/system/bt/test/mock/
Dmock_stack_l2cap_link.cc70 void l2c_link_role_changed(const RawAddress* bd_addr, uint8_t new_role, in l2c_link_role_changed() argument
Dmock_bta_sys_conn.cc73 void bta_sys_notify_role_chg(const RawAddress& peer_addr, tHCI_ROLE new_role, in bta_sys_notify_role_chg() argument
Dmock_bta_dm_act.cc69 void BTA_dm_report_role_change(const RawAddress bd_addr, tHCI_ROLE new_role, in BTA_dm_report_role_change() argument
Dmock_stack_acl.cc347 tHCI_ROLE new_role) { in btm_acl_role_changed() argument
/system/bt/gd/hci/acl_manager/
Dconnection_management_callbacks.h84 virtual void OnRoleChange(hci::ErrorCode hci_status, Role new_role) = 0;
Dclassic_acl_connection.cc140 void OnRoleChange(hci::ErrorCode hci_status, Role new_role) override { in OnRoleChange() argument
141 SAVE_OR_CALL(OnRoleChange, hci_status, new_role) in OnRoleChange()
Dclassic_impl.h518 Role new_role = role_change_view.GetNewRole(); in on_role_change() local
521 connection_pair.second.connection_management_callbacks_->OnRoleChange(hci_status, new_role); in on_role_change()
/system/bt/gd/l2cap/classic/internal/
Dlink.cc423 void Link::OnRoleChange(hci::ErrorCode hci_status, hci::Role new_role) { in OnRoleChange() argument
424 role_ = new_role; in OnRoleChange()
425 link_manager_->OnRoleChange(hci_status, GetDevice().GetAddress(), new_role); in OnRoleChange()
Dlink.h183 void OnRoleChange(hci::ErrorCode hci_status, hci::Role new_role) override;
/system/bt/main/shim/
Dacl_legacy_interface.h106 tHCI_ROLE new_role);
Dbtm_api.h1129 tBTM_STATUS BTM_SwitchRole(const RawAddress& remote_bd_addr, uint8_t new_role);
Dacl.cc499 void OnRoleChange(hci::ErrorCode hci_status, hci::Role new_role) override { in OnRoleChange() argument
502 ToRawAddress(connection_->GetAddress()), ToLegacyRole(new_role)); in OnRoleChange()
507 hci::RoleText(new_role).c_str())); in OnRoleChange()
/system/bt/bta/dm/
Dbta_dm_act.cc2308 static void handle_role_change(const RawAddress& bd_addr, tHCI_ROLE new_role, in handle_role_change() argument
2315 PRIVATE_ADDRESS(bd_addr), RoleText(new_role).c_str(), in handle_role_change()
2323 PRIVATE_ADDRESS(bd_addr), p_dev->Info(), RoleText(new_role).c_str(), in handle_role_change()
2330 if (new_role == HCI_ROLE_PERIPHERAL && bta_dm_cb.device_list.count > 1 && in handle_role_change()
2337 } else if (p_bta_dm_cfg->avoid_scatter && (new_role == HCI_ROLE_CENTRAL)) { in handle_role_change()
2352 bta_sys_notify_role_chg(bd_addr, new_role, hci_status); in handle_role_change()
2355 void BTA_dm_report_role_change(const RawAddress bd_addr, tHCI_ROLE new_role, in BTA_dm_report_role_change() argument
2358 FROM_HERE, base::Bind(handle_role_change, bd_addr, new_role, hci_status)); in BTA_dm_report_role_change()
/system/bt/gd/hci/facade/
Dacl_manager_facade.cc396 void OnRoleChange(hci::ErrorCode hci_status, Role new_role) override { in OnRoleChange() argument
397 LOG_INFO("new_role:%d", (uint8_t)new_role); in OnRoleChange()
/system/bt/bta/av/
Dbta_av_aact.cc2188 uint8_t new_role = p_scb->role; in bta_av_start_ok() local
2211 if (new_role & BTA_AV_ROLE_START_INT) initiator = true; in bta_av_start_ok()
2301 if (new_role & BTA_AV_ROLE_START_INT) { in bta_av_start_ok()
2302 new_role &= ~BTA_AV_ROLE_START_INT; in bta_av_start_ok()
2303 } else if ((new_role & BTA_AV_ROLE_AD_ACP) && in bta_av_start_ok()
2304 (new_role & BTA_AV_ROLE_SUSPEND_OPT)) { in bta_av_start_ok()
2326 p_scb->role = new_role; in bta_av_start_ok()

12