Home
last modified time | relevance | path

Searched refs:hci_status (Results 1 – 25 of 83) sorted by relevance

1234

/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_acl_connection.cc55 …hci::ErrorCode hci_status, uint16_t conn_interval, uint16_t conn_latency, uint16_t supervision_tim… in OnConnectionUpdate() argument
56 SAVE_OR_CALL(OnConnectionUpdate, hci_status, conn_interval, conn_latency, supervision_timeout) in OnConnectionUpdate()
64 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) { in OnReadRemoteVersionInformationComplete() argument
66 …connection_handle_, static_cast<uint8_t>(hci_status), lmp_version, manufacturer_name, sub_version); in OnReadRemoteVersionInformationComplete()
67 …SAVE_OR_CALL(OnReadRemoteVersionInformationComplete, hci_status, lmp_version, manufacturer_name, s… in OnReadRemoteVersionInformationComplete()
70 void OnLeReadRemoteFeaturesComplete(hci::ErrorCode hci_status, uint64_t features) override { in OnLeReadRemoteFeaturesComplete() argument
71 SAVE_OR_CALL(OnLeReadRemoteFeaturesComplete, hci_status, features); in OnLeReadRemoteFeaturesComplete()
74 void OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) override { in OnPhyUpdate() argument
75 SAVE_OR_CALL(OnPhyUpdate, hci_status, tx_phy, rx_phy); in OnPhyUpdate()
78 hci::ErrorCode hci_status, in OnLeSubrateChange() argument
[all …]
Dle_connection_management_callbacks.h32 hci::ErrorCode hci_status,
39 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) …
40 virtual void OnLeReadRemoteFeaturesComplete(hci::ErrorCode hci_status, uint64_t features) = 0;
41 virtual void OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) = 0;
43 hci::ErrorCode hci_status,
Dle_connection_management_callbacks_mock.h36 (hci::ErrorCode hci_status,
50 (hci::ErrorCode hci_status,
58 (hci::ErrorCode hci_status, uint64_t features),
61 void, OnPhyUpdate, (hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy), (override));
65 (hci::ErrorCode hci_status,
Dconnection_management_callbacks.h33 virtual void OnAuthenticationComplete(hci::ErrorCode hci_status) = 0;
44 hci::ErrorCode hci_status,
84 virtual void OnRoleChange(hci::ErrorCode hci_status, Role new_role) = 0;
89 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) …
Dle_acl_connection_test.cc68 hci::ErrorCode hci_status, in OnConnectionUpdate() argument
76 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) … in OnReadRemoteVersionInformationComplete() argument
77 …virtual void OnLeReadRemoteFeaturesComplete(hci::ErrorCode hci_status, uint64_t features) override… in OnLeReadRemoteFeaturesComplete() argument
78 virtual void OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) override {} in OnPhyUpdate() argument
82 (hci::ErrorCode hci_status,
Dclassic_acl_connection.cc59 void OnAuthenticationComplete(hci::ErrorCode hci_status) override { in OnAuthenticationComplete() argument
60 SAVE_OR_CALL(OnAuthenticationComplete, hci_status) in OnAuthenticationComplete()
75 hci::ErrorCode hci_status, in OnSniffSubrating() argument
82 hci_status, in OnSniffSubrating()
140 void OnRoleChange(hci::ErrorCode hci_status, Role new_role) override { in OnRoleChange() argument
141 SAVE_OR_CALL(OnRoleChange, hci_status, new_role) in OnRoleChange()
144 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) … in OnReadRemoteVersionInformationComplete() argument
146 …connection_handle_, static_cast<uint8_t>(hci_status), lmp_version, manufacturer_name, sub_version); in OnReadRemoteVersionInformationComplete()
147 …SAVE_OR_CALL(OnReadRemoteVersionInformationComplete, hci_status, lmp_version, manufacturer_name, s… in OnReadRemoteVersionInformationComplete()
/packages/modules/Bluetooth/system/stack/include/
Dacl_api_types.h42 uint8_t hci_status; member
53 uint8_t hci_status; member
64 uint8_t hci_status; member
74 uint8_t hci_status; member
84 uint8_t hci_status; member
Dacl_hci_link_interface.h49 void btm_acl_role_changed(tHCI_STATUS hci_status, const RawAddress& bd_addr,
52 uint8_t hci_status);
54 void btm_pm_proc_mode_change(tHCI_STATUS hci_status, uint16_t hci_handle,
Dsco_hci_link_interface.h29 void btm_sco_chk_pend_unpark(tHCI_STATUS hci_status, uint16_t hci_handle);
34 void btm_sco_connection_failed(tHCI_STATUS hci_status, const RawAddress& bda,
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_acl.cc110 void btm_acl_role_changed(tHCI_STATUS hci_status, const RawAddress& bd_addr,
188 tHCI_STATUS hci_status) { in NotifyAclRoleSwitchComplete() argument
189 BTA_dm_report_role_change(bda, new_role, hci_status); in NotifyAclRoleSwitchComplete()
493 tHCI_STATUS hci_status) { in btm_acl_create_failed() argument
494 BTA_dm_acl_up_failed(bda, transport, hci_status); in btm_acl_create_failed()
723 btm_cb.acl_cb_.switch_role_ref_data.hci_status); in btm_acl_encrypt_change()
1401 uint8_t hci_status) { in btm_rejectlist_role_change_device() argument
1408 if (hci_status == HCI_SUCCESS) { in btm_rejectlist_role_change_device()
1420 if ((hci_status != HCI_SUCCESS) && in btm_rejectlist_role_change_device()
1471 void StackAclBtmAcl::btm_acl_role_changed(tHCI_STATUS hci_status, in btm_acl_role_changed() argument
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dlink_manager.cc353 void LinkManager::OnAuthenticationComplete(hci::ErrorCode hci_status, hci::Address device) { in OnAuthenticationComplete() argument
358 hci_status, in OnAuthenticationComplete()
374 hci::ErrorCode hci_status, in OnReadRemoteVersionInformation() argument
383 hci_status, in OnReadRemoteVersionInformation()
411 void LinkManager::OnRoleChange(hci::ErrorCode hci_status, hci::Address remote, hci::Role role) { in OnRoleChange() argument
414 link_property_listener_, &LinkPropertyListener::OnRoleChange, hci_status, remote, role); in OnRoleChange()
425 void LinkManager::OnModeChange(hci::ErrorCode hci_status, hci::Address remote, hci::Mode mode, uint… in OnModeChange() argument
428 … link_property_listener_, &LinkPropertyListener::OnModeChange, hci_status, remote, mode, interval); in OnModeChange()
433 hci::ErrorCode hci_status, in OnSniffSubrating() argument
443 hci_status, in OnSniffSubrating()
Dlink.cc319 void Link::OnAuthenticationComplete(hci::ErrorCode hci_status) { in OnAuthenticationComplete() argument
320 link_manager_->OnAuthenticationComplete(hci_status, GetDevice().GetAddress()); in OnAuthenticationComplete()
348 hci::ErrorCode hci_status, in OnSniffSubrating() argument
354 hci_status, in OnSniffSubrating()
423 void Link::OnRoleChange(hci::ErrorCode hci_status, hci::Role new_role) { in OnRoleChange() argument
425 link_manager_->OnRoleChange(hci_status, GetDevice().GetAddress(), new_role); in OnRoleChange()
432 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) { in OnReadRemoteVersionInformationComplete() argument
435 ErrorCodeText(hci_status).c_str(), in OnReadRemoteVersionInformationComplete()
440 hci_status, GetDevice().GetAddress(), lmp_version, manufacturer_name, sub_version); in OnReadRemoteVersionInformationComplete()
Dlink_manager.h78 void OnAuthenticationComplete(hci::ErrorCode hci_status, hci::Address device);
81 hci::ErrorCode hci_status,
89 void OnRoleChange(hci::ErrorCode hci_status, hci::Address remote, hci::Role role);
91 …void OnModeChange(hci::ErrorCode hci_status, hci::Address remote, hci::Mode mode, uint16_t interva…
93 hci::ErrorCode hci_status,
Dlink.h169 void OnAuthenticationComplete(hci::ErrorCode hci_status) override;
175 hci::ErrorCode hci_status,
197 void OnRoleChange(hci::ErrorCode hci_status, hci::Role new_role) override;
200 … hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version);
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dlink_property_listener.h49 hci::ErrorCode hci_status, in OnReadRemoteVersionInformation() argument
69 virtual void OnRoleChange(hci::ErrorCode hci_status, hci::Address remote, hci::Role role) {} in OnRoleChange() argument
79 …virtual void OnModeChange(hci::ErrorCode hci_status, hci::Address remote, hci::Mode mode, uint16_t… in OnModeChange() argument
85 hci::ErrorCode hci_status, in OnSniffSubrating() argument
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dlink.cc68 hci::ErrorCode hci_status, in OnConnectionUpdate() argument
95 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) { in OnReadRemoteVersionInformationComplete() argument
98 hci_status, GetDevice(), lmp_version, manufacturer_name, sub_version); in OnReadRemoteVersionInformationComplete()
101 void Link::OnLeReadRemoteFeaturesComplete(hci::ErrorCode hci_status, uint64_t features) {} in OnLeReadRemoteFeaturesComplete() argument
103 void Link::OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) {} in OnPhyUpdate() argument
106 hci::ErrorCode hci_status, in OnLeSubrateChange() argument
114 ErrorCodeText(hci_status).c_str(), in OnLeSubrateChange()
Dlink.h86 hci::ErrorCode hci_status,
94 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) …
96 void OnLeReadRemoteFeaturesComplete(hci::ErrorCode hci_status, uint64_t features) override;
98 void OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) override;
101 hci::ErrorCode hci_status,
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sco.cc131 static void btm_esco_conn_rsp(uint16_t sco_inx, uint8_t hci_status, in btm_esco_conn_rsp() argument
141 if (hci_status != HCI_SUCCESS || p_sco == NULL) { in btm_esco_conn_rsp()
147 btsnd_hcic_reject_conn(bda, hci_status); in btm_esco_conn_rsp()
149 btsnd_hcic_reject_esco_conn(bda, hci_status); in btm_esco_conn_rsp()
717 void btm_sco_chk_pend_unpark(tHCI_STATUS hci_status, uint16_t hci_handle) { in btm_sco_chk_pend_unpark() argument
726 << ", hci_status=" << unsigned(hci_status); in btm_sco_chk_pend_unpark()
959 void btm_sco_connection_failed(tHCI_STATUS hci_status, const RawAddress& bda, in btm_sco_connection_failed() argument
973 hci_handle, hci_error_code_text(hci_status).c_str()); in btm_sco_connection_failed()
974 switch (hci_status) { in btm_sco_connection_failed()
992 hci_reason_code_text(static_cast<tHCI_REASON>(hci_status)) in btm_sco_connection_failed()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_sco.cc78 void BTM_EScoConnRsp(uint16_t sco_inx, uint8_t hci_status, in BTM_EScoConnRsp() argument
90 void btm_sco_chk_pend_unpark(tHCI_STATUS hci_status, uint16_t hci_handle) { in btm_sco_chk_pend_unpark() argument
101 void btm_sco_connection_failed(tHCI_STATUS hci_status, const RawAddress& bda, in btm_sco_connection_failed() argument
Dmock_bta_dm_act.h110 tHCI_STATUS hci_status)>
112 tHCI_STATUS hci_status) {}};
114 tHCI_STATUS hci_status) { in operator()
115 body(bd_addr, transport, hci_status); in operator()
154 tHCI_STATUS hci_status)>
156 tHCI_STATUS hci_status) {}};
158 tHCI_STATUS hci_status) { in operator()
159 body(bd_addr, new_role, hci_status); in operator()
/packages/modules/Bluetooth/system/gd/hci/
Dhci_layer_unittest.cc248 hci_handler_->Bind([](hci::ErrorCode hci_status, in TEST_F()
261 hci_handler_->Bind([](hci::ErrorCode hci_status, in TEST_F() argument
275 hci_handler_->Bind([](hci::ErrorCode hci_status, in TEST_F() argument
289 hci_handler_->Bind([](hci::ErrorCode hci_status, in TEST_F() argument
302 hci_handler_->Bind([](hci::ErrorCode hci_status, in TEST_F() argument
316 hci_handler_->Bind([](hci::ErrorCode hci_status, in TEST_F() argument
/packages/modules/Bluetooth/system/bta/include/
Dbta_dm_acl.h30 tHCI_STATUS hci_status);
33 tHCI_STATUS hci_status);
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_pm.cc54 tHCI_STATUS hci_status);
948 tHCI_STATUS hci_status) { in bta_dm_pm_btm_cback() argument
950 value, hci_status)); in bta_dm_pm_btm_cback()
997 uint16_t interval, tHCI_STATUS hci_status) { in bta_dm_pm_btm_status() argument
1002 interval, hci_error_code_text(hci_status).c_str()); in bta_dm_pm_btm_status()
1017 if (hci_status != 0) { in bta_dm_pm_btm_status()
1018 APPL_TRACE_ERROR("%s hci_status=%d", __func__, hci_status); in bta_dm_pm_btm_status()
1050 if (hci_status != 0) { in bta_dm_pm_btm_status()
1064 if (hci_status == 0) { in bta_dm_pm_btm_status()
/packages/modules/Bluetooth/system/main/shim/
Dacl.cc542 void OnAuthenticationComplete(hci::ErrorCode hci_status) override { in OnAuthenticationComplete() argument
544 ToLegacyHciErrorCode(hci_status)); in OnAuthenticationComplete()
567 void OnSniffSubrating(hci::ErrorCode hci_status, in OnSniffSubrating() argument
573 ToLegacyHciErrorCode(hci_status), handle_, in OnSniffSubrating()
641 void OnRoleChange(hci::ErrorCode hci_status, hci::Role new_role) override { in OnRoleChange() argument
643 interface_.on_role_change, ToLegacyHciErrorCode(hci_status), in OnRoleChange()
649 hci::ErrorCodeText(hci_status).c_str())); in OnRoleChange()
657 void OnReadRemoteVersionInformationComplete(hci::ErrorCode hci_status, in OnReadRemoteVersionInformationComplete() argument
662 ToLegacyHciErrorCode(hci_status), handle_, lmp_version, in OnReadRemoteVersionInformationComplete()
779 void OnConnectionUpdate(hci::ErrorCode hci_status, in OnConnectionUpdate() argument
[all …]
/packages/modules/Bluetooth/system/bta/sys/
Dbta_sys_conn.cc90 tHCI_STATUS hci_status) { in bta_sys_notify_role_chg() argument
93 hci_error_code_text(hci_status).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()

1234