/packages/modules/Bluetooth/system/stack/acl/ |
D | btm_acl.cc | 114 tHCI_ROLE new_role); 124 tHCI_ROLE new_role = HCI_ROLE_UNKNOWN; member 187 void NotifyAclRoleSwitchComplete(const RawAddress& bda, tHCI_ROLE new_role, in NotifyAclRoleSwitchComplete() argument 189 BTA_dm_report_role_change(bda, new_role, hci_status); in NotifyAclRoleSwitchComplete() 1337 void acl_cache_role(const RawAddress& bd_addr, tHCI_ROLE new_role, in acl_cache_role() argument 1341 role_change.new_role = new_role; in acl_cache_role() 1362 tHCI_ROLE new_role) { in btm_acl_role_changed() argument 1367 acl_cache_role(bd_addr, new_role, /*overwrite_cache=*/true); in btm_acl_role_changed() 1374 bd_addr, hci_error_code_text(hci_status), RoleText(new_role)); in btm_acl_role_changed() 1378 p_switch_role->role = new_role; in btm_acl_role_changed() [all …]
|
/packages/modules/Bluetooth/system/bta/sys/ |
D | bta_sys_conn.cc | 77 void bta_sys_notify_role_chg(const RawAddress& peer_addr, tHCI_ROLE new_role, in bta_sys_notify_role_chg() argument 80 RoleText(new_role), hci_error_code_text(hci_status)); in bta_sys_notify_role_chg() 82 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, peer_addr); in bta_sys_notify_role_chg()
|
D | bta_sys.h | 195 tHCI_ROLE new_role, 267 void bta_sys_notify_role_chg(const RawAddress& peer_addr, tHCI_ROLE new_role,
|
/packages/modules/Bluetooth/system/stack/include/ |
D | acl_hci_link_interface.h | 43 tHCI_ROLE new_role); 76 void acl_cache_role(const RawAddress& bd_addr, tHCI_ROLE new_role,
|
D | acl_client_callbacks.h | 31 virtual void on_acl_role_change(const RawAddress bd_addr, hci_role_t new_role,
|
/packages/modules/Bluetooth/tools/rootcanal/test/LMP/LIH/ |
D | BV_02_C.py | 71 … hci.RoleChange(status=ErrorCode.SUCCESS, bd_addr=peer_address, new_role=hci.Role.PERIPHERAL)) 80 …pect_evt(hci.RoleChange(status=ErrorCode.SUCCESS, bd_addr=peer_address, new_role=hci.Role.CENTRAL))
|
D | BV_149_C.py | 68 …hci.RoleChange(status=ErrorCode.ROLE_SWITCH_FAILED, bd_addr=peer_address, new_role=hci.Role.CENTRA… 82 …hci.RoleChange(status=ErrorCode.ROLE_CHANGE_NOT_ALLOWED, bd_addr=peer_address, new_role=hci.Role.C…
|
D | BV_143_C.py | 79 new_role=hci.Role.PERIPHERAL)) 86 …hci.RoleChange(status=ErrorCode.ROLE_SWITCH_FAILED, bd_addr=peer_address, new_role=hci.Role.PERIPH…
|
D | BV_78_C.py | 48 … hci.RoleChange(status=ErrorCode.SUCCESS, bd_addr=peer_address, new_role=hci.Role.PERIPHERAL))
|
D | BV_79_C.py | 50 …pect_evt(hci.RoleChange(status=ErrorCode.SUCCESS, bd_addr=peer_address, new_role=hci.Role.CENTRAL))
|
D | BV_01_C.py | 77 …pect_evt(hci.RoleChange(status=ErrorCode.SUCCESS, bd_addr=peer_address, new_role=hci.Role.CENTRAL))
|
/packages/modules/Bluetooth/system/bta/dm/ |
D | bta_dm_act.cc | 602 static void handle_role_change(const RawAddress& bd_addr, tHCI_ROLE new_role, in handle_role_change() argument 609 bd_addr, RoleText(new_role), hci_error_code_text(hci_status)); in handle_role_change() 616 bd_addr, p_dev->info_text(), RoleText(new_role), in handle_role_change() 623 if (new_role == HCI_ROLE_PERIPHERAL && bta_dm_cb.device_list.count > 1 && in handle_role_change() 643 } else if (p_bta_dm_cfg->avoid_scatter && (new_role == HCI_ROLE_CENTRAL)) { in handle_role_change() 659 bta_sys_notify_role_chg(bd_addr, new_role, hci_status); in handle_role_change() 662 void BTA_dm_report_role_change(const RawAddress bd_addr, tHCI_ROLE new_role, in BTA_dm_report_role_change() argument 665 new_role, hci_status)); in BTA_dm_report_role_change()
|
/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_main.cc | 114 static void bta_av_sys_rs_cback(tBTA_SYS_CONN_STATUS status, tHCI_ROLE new_role, 926 tHCI_ROLE new_role, tHCI_STATUS hci_status, in bta_av_sys_rs_cback() argument 934 peer_addr, new_role, hci_status, bta_av_cb.rs_idx); in bta_av_sys_rs_cback() 946 peer_addr, new_role, hci_status, p_scb->hndl); in bta_av_sys_rs_cback() 949 p_buf->new_role = new_role; in bta_av_sys_rs_cback() 982 peer_addr, p_scb->PeerAddress(), new_role, hci_status); in bta_av_sys_rs_cback()
|
D | bta_av_aact.cc | 2276 uint8_t new_role = p_scb->role; in bta_av_start_ok() local 2300 if (new_role & BTA_AV_ROLE_START_INT) initiator = true; in bta_av_start_ok() 2390 if (new_role & BTA_AV_ROLE_START_INT) { in bta_av_start_ok() 2391 new_role &= ~BTA_AV_ROLE_START_INT; in bta_av_start_ok() 2392 } else if ((new_role & BTA_AV_ROLE_AD_ACP) && in bta_av_start_ok() 2393 (new_role & BTA_AV_ROLE_SUSPEND_OPT)) { in bta_av_start_ok() 2418 p_scb->role = new_role; in bta_av_start_ok()
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_dm_acl.h | 31 void BTA_dm_report_role_change(const RawAddress bd_addr, tHCI_ROLE new_role,
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_bta_dm_act.h | 127 std::function<void(const RawAddress bd_addr, tHCI_ROLE new_role, 131 void operator()(const RawAddress bd_addr, tHCI_ROLE new_role, in operator() 133 body(bd_addr, new_role, hci_status); in operator()
|
D | mock_bta_dm_act.cc | 114 void BTA_dm_report_role_change(const RawAddress bd_addr, tHCI_ROLE new_role, in BTA_dm_report_role_change() argument 117 test::mock::bta_dm_act::BTA_dm_report_role_change(bd_addr, new_role, in BTA_dm_report_role_change()
|
D | mock_stack_btm_sec.h | 815 tHCI_ROLE new_role)> 819 tHCI_ROLE new_role) { in operator() 820 body(hci_status, bd_addr, new_role); in operator()
|
D | mock_stack_btm_sec.cc | 435 tHCI_ROLE new_role) { in btm_sec_role_changed() argument 438 new_role); in btm_sec_role_changed()
|
D | mock_stack_acl.h | 863 tHCI_ROLE new_role)> 867 tHCI_ROLE new_role) { in operator() 868 body(hci_status, bd_addr, new_role); in operator()
|
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/ |
D | link.cc | 436 void Link::OnRoleChange(hci::ErrorCode hci_status, hci::Role new_role) { in OnRoleChange() argument 437 role_ = new_role; in OnRoleChange() 438 link_manager_->OnRoleChange(hci_status, GetDevice().GetAddress(), new_role); in OnRoleChange()
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | connection_management_callbacks.h | 84 virtual void OnRoleChange(hci::ErrorCode hci_status, Role new_role) = 0;
|
D | connection_management_callbacks_mock.h | 86 MOCK_METHOD(void, OnRoleChange, (ErrorCode hci_status, Role new_role), (override));
|
/packages/modules/Bluetooth/system/main/shim/ |
D | acl_legacy_interface.h | 102 tHCI_ROLE new_role);
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_sec.h | 653 tHCI_ROLE new_role);
|