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.cc58 …hci::ErrorCode hci_status, uint16_t conn_interval, uint16_t conn_latency, uint16_t supervision_tim… in OnConnectionUpdate() argument
59 SAVE_OR_CALL(OnConnectionUpdate, hci_status, conn_interval, conn_latency, supervision_timeout) in OnConnectionUpdate()
67 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) { in OnReadRemoteVersionInformationComplete() argument
69 …connection_handle_, static_cast<uint8_t>(hci_status), lmp_version, manufacturer_name, sub_version); in OnReadRemoteVersionInformationComplete()
70 …SAVE_OR_CALL(OnReadRemoteVersionInformationComplete, hci_status, lmp_version, manufacturer_name, s… in OnReadRemoteVersionInformationComplete()
73 void OnLeReadRemoteFeaturesComplete(hci::ErrorCode hci_status, uint64_t features) override { in OnLeReadRemoteFeaturesComplete() argument
74 SAVE_OR_CALL(OnLeReadRemoteFeaturesComplete, hci_status, features); in OnLeReadRemoteFeaturesComplete()
77 void OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) override { in OnPhyUpdate() argument
78 SAVE_OR_CALL(OnPhyUpdate, hci_status, tx_phy, rx_phy); in OnPhyUpdate()
81 hci::ErrorCode hci_status, in OnLeSubrateChange() argument
[all …]
Dle_connection_management_callbacks.h29 hci::ErrorCode hci_status,
36 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) …
37 virtual void OnLeReadRemoteFeaturesComplete(hci::ErrorCode hci_status, uint64_t features) = 0;
38 virtual void OnPhyUpdate(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy) = 0;
40 hci::ErrorCode hci_status,
Dle_connection_management_callbacks_mock.h35 (hci::ErrorCode hci_status,
49 (hci::ErrorCode hci_status,
57 (hci::ErrorCode hci_status, uint64_t features),
60 void, OnPhyUpdate, (hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy), (override));
64 (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) …
Dconnection_management_callbacks_mock.h34 MOCK_METHOD(void, OnAuthenticationComplete, (ErrorCode hci_status), (override));
86 MOCK_METHOD(void, OnRoleChange, (ErrorCode hci_status, Role new_role), (override));
91 (ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version),
Dclassic_acl_connection.cc64 void OnAuthenticationComplete(hci::ErrorCode hci_status) override { in OnAuthenticationComplete() argument
65 SAVE_OR_CALL(OnAuthenticationComplete, hci_status) in OnAuthenticationComplete()
80 hci::ErrorCode hci_status, in OnSniffSubrating() argument
87 hci_status, in OnSniffSubrating()
145 void OnRoleChange(hci::ErrorCode hci_status, Role new_role) override { in OnRoleChange() argument
146 SAVE_OR_CALL(OnRoleChange, hci_status, new_role) in OnRoleChange()
149 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) … in OnReadRemoteVersionInformationComplete() argument
151 …connection_handle_, static_cast<uint8_t>(hci_status), lmp_version, manufacturer_name, sub_version); in OnReadRemoteVersionInformationComplete()
152 …SAVE_OR_CALL(OnReadRemoteVersionInformationComplete, hci_status, lmp_version, manufacturer_name, s… in OnReadRemoteVersionInformationComplete()
/packages/modules/Bluetooth/system/stack/include/
Dacl_api_types.h41 uint8_t hci_status; member
52 uint8_t hci_status; member
63 uint8_t hci_status; member
73 uint8_t hci_status; member
83 uint8_t hci_status; member
Dacl_hci_link_interface.h42 void btm_acl_role_changed(tHCI_STATUS hci_status, const RawAddress& bd_addr,
45 uint8_t hci_status);
47 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/test/btm/
Dstack_btm_power_mode_test.cc47 tHCI_STATUS hci_status; member
64 uint16_t value, tHCI_STATUS hci_status) { in SetUp() argument
70 .hci_status = hci_status, in SetUp()
138 ASSERT_EQ(HCI_SUCCESS, cb.hci_status); in TEST_F()
159 ASSERT_EQ(HCI_SUCCESS, cb.hci_status); in TEST_F()
190 ASSERT_EQ(HCI_SUCCESS, cb.hci_status); in TEST_F()
Dstack_btm_inq_test.cc84 ASSERT_EQ(HCI_SUCCESS, gBTM_REMOTE_DEV_NAME.hci_status); in TEST_F()
99 ASSERT_EQ(HCI_SUCCESS, gBTM_REMOTE_DEV_NAME.hci_status); in TEST_F()
114 ASSERT_EQ(HCI_ERR_PAGE_TIMEOUT, gBTM_REMOTE_DEV_NAME.hci_status); in TEST_F()
129 ASSERT_EQ(HCI_SUCCESS, gBTM_REMOTE_DEV_NAME.hci_status); in TEST_F()
/packages/modules/Bluetooth/system/test/headless/utils/
Dpower_mode_client.h66 tHCI_STATUS hci_status; member
71 value, hci_status_code_text(hci_status)); in ToString()
179 [[maybe_unused]] tHCI_STATUS hci_status) {}); in PowerMode()
185 tHCI_STATUS hci_status) { in PowerMode()
190 .hci_status = hci_status, in PowerMode()
205 [[maybe_unused]] tHCI_STATUS hci_status) {}); in ~PowerMode()
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dlink_manager.cc347 void LinkManager::OnAuthenticationComplete(hci::ErrorCode hci_status, hci::Address device) { in OnAuthenticationComplete() argument
352 hci_status, in OnAuthenticationComplete()
368 hci::ErrorCode hci_status, in OnReadRemoteVersionInformation() argument
377 hci_status, in OnReadRemoteVersionInformation()
405 void LinkManager::OnRoleChange(hci::ErrorCode hci_status, hci::Address remote, hci::Role role) { in OnRoleChange() argument
408 link_property_listener_, &LinkPropertyListener::OnRoleChange, hci_status, remote, role); in OnRoleChange()
419 void LinkManager::OnModeChange(hci::ErrorCode hci_status, hci::Address remote, hci::Mode mode, uint… in OnModeChange() argument
422 … link_property_listener_, &LinkPropertyListener::OnModeChange, hci_status, remote, mode, interval); in OnModeChange()
427 hci::ErrorCode hci_status, in OnSniffSubrating() argument
437 hci_status, in OnSniffSubrating()
Dlink_manager.h76 void OnAuthenticationComplete(hci::ErrorCode hci_status, hci::Address device);
79 hci::ErrorCode hci_status,
87 void OnRoleChange(hci::ErrorCode hci_status, hci::Address remote, hci::Role role);
89 …void OnModeChange(hci::ErrorCode hci_status, hci::Address remote, hci::Mode mode, uint16_t interva…
91 hci::ErrorCode hci_status,
Dlink.cc332 void Link::OnAuthenticationComplete(hci::ErrorCode hci_status) { in OnAuthenticationComplete() argument
333 link_manager_->OnAuthenticationComplete(hci_status, GetDevice().GetAddress()); in OnAuthenticationComplete()
361 hci::ErrorCode hci_status, in OnSniffSubrating() argument
367 hci_status, in OnSniffSubrating()
436 void Link::OnRoleChange(hci::ErrorCode hci_status, hci::Role new_role) { in OnRoleChange() argument
438 link_manager_->OnRoleChange(hci_status, GetDevice().GetAddress(), new_role); in OnRoleChange()
445 …hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_version) { in OnReadRemoteVersionInformationComplete() argument
448 ErrorCodeText(hci_status), in OnReadRemoteVersionInformationComplete()
453 hci_status, GetDevice().GetAddress(), lmp_version, manufacturer_name, sub_version); in OnReadRemoteVersionInformationComplete()
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/stack/acl/
Dbtm_acl.cc113 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()
475 tHCI_STATUS hci_status) { in btm_acl_create_failed() argument
476 BTA_dm_acl_up_failed(bda, transport, hci_status); in btm_acl_create_failed()
682 btm_cb.acl_cb_.switch_role_ref_data.hci_status); in btm_acl_encrypt_change()
1290 uint8_t hci_status) { in btm_rejectlist_role_change_device() argument
1297 if (hci_status == HCI_SUCCESS) { in btm_rejectlist_role_change_device()
1309 if ((hci_status != HCI_SUCCESS) && in btm_rejectlist_role_change_device()
1360 void StackAclBtmAcl::btm_acl_role_changed(tHCI_STATUS hci_status, in btm_acl_role_changed() argument
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
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/bta/include/
Dbta_dm_acl.h29 tHCI_STATUS hci_status);
32 tHCI_STATUS hci_status);
/packages/modules/Bluetooth/system/stack/btu/
Dbtu_hcif.cc1066 const tHCI_STATUS hci_status = to_hci_status_code(status); in btu_hcif_hdl_command_status() local
1076 btm_acl_role_changed(hci_status, bd_addr, HCI_ROLE_UNKNOWN); in btu_hcif_hdl_command_status()
1082 btm_acl_connected(bd_addr, HCI_INVALID_HANDLE, hci_status, 0); in btu_hcif_hdl_command_status()
1089 btm_sec_auth_complete(HCI_INVALID_HANDLE, hci_status); in btu_hcif_hdl_command_status()
1096 btm_sec_encrypt_change(HCI_INVALID_HANDLE, hci_status, false); in btu_hcif_hdl_command_status()
1102 btm_process_remote_name(nullptr, nullptr, 0, hci_status); in btu_hcif_hdl_command_status()
1103 btm_sec_rmt_name_request_complete(nullptr, nullptr, hci_status); in btu_hcif_hdl_command_status()
1117 btm_sco_connection_failed(hci_status, addr, handle, nullptr); in btu_hcif_hdl_command_status()
1136 btm_sco_chk_pend_unpark(hci_status, handle); in btu_hcif_hdl_command_status()
1142 btm_pm_proc_cmd_status(hci_status); in btu_hcif_hdl_command_status()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_dm_act.h84 tHCI_STATUS hci_status)>
88 tHCI_STATUS hci_status) { in operator()
89 body(bd_addr, transport, hci_status); in operator()
128 tHCI_STATUS hci_status)>
132 tHCI_STATUS hci_status) { in operator()
133 body(bd_addr, new_role, hci_status); in operator()
Dmock_bta_dm_act.cc98 tHCI_STATUS hci_status) { in BTA_dm_acl_up_failed() argument
100 test::mock::bta_dm_act::BTA_dm_acl_up_failed(bd_addr, transport, hci_status); in BTA_dm_acl_up_failed()
115 tHCI_STATUS hci_status) { in BTA_dm_report_role_change() argument
118 hci_status); in BTA_dm_report_role_change()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_pm.cc59 tHCI_STATUS hci_status);
1029 tHCI_STATUS hci_status);
1034 tHCI_STATUS hci_status) { in bta_dm_pm_btm_cback() argument
1036 status, value, hci_status)); in bta_dm_pm_btm_cback()
1084 tHCI_STATUS hci_status) { in bta_dm_pm_btm_status() argument
1089 hci_error_code_text(hci_status)); in bta_dm_pm_btm_status()
1102 if (hci_status != 0) { in bta_dm_pm_btm_status()
1103 log::error("hci_status={}", hci_status); in bta_dm_pm_btm_status()
1134 if (hci_status != 0) { in bta_dm_pm_btm_status()
1146 if (hci_status == 0) { in bta_dm_pm_btm_status()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sco.cc309 static void btm_esco_conn_rsp(uint16_t sco_inx, uint8_t hci_status, in btm_esco_conn_rsp() argument
319 if (hci_status != HCI_SUCCESS || p_sco == NULL) { in btm_esco_conn_rsp()
325 btsnd_hcic_reject_conn(bda, hci_status); in btm_esco_conn_rsp()
327 btsnd_hcic_reject_esco_conn(bda, hci_status); in btm_esco_conn_rsp()
884 void btm_sco_chk_pend_unpark(tHCI_STATUS hci_status, uint16_t hci_handle) { in btm_sco_chk_pend_unpark() argument
893 p->esco.data.bd_addr, unsigned(acl_handle), unsigned(hci_status)); in btm_sco_chk_pend_unpark()
1134 void btm_sco_connection_failed(tHCI_STATUS hci_status, const RawAddress& bda, in btm_sco_connection_failed() argument
1148 hci_handle, hci_error_code_text(hci_status)); in btm_sco_connection_failed()
1149 switch (hci_status) { in btm_sco_connection_failed()
1167 hci_reason_code_text(static_cast<tHCI_REASON>(hci_status)) in btm_sco_connection_failed()
[all …]
/packages/modules/Bluetooth/system/gd/hci/
Dacl_manager_unittest.cc344 MOCK_METHOD1(OnAuthenticationComplete, void(hci::ErrorCode hci_status));
386 MOCK_METHOD2(OnRoleChange, void(ErrorCode hci_status, Role new_role));
390 …void(hci::ErrorCode hci_status, uint8_t lmp_version, uint16_t manufacturer_name, uint16_t sub_vers…
473 hci::ErrorCode hci_status,
480 …void(hci::ErrorCode hci_status, uint8_t version, uint16_t manufacturer_name, uint16_t sub_version)…
481 … MOCK_METHOD2(OnLeReadRemoteFeaturesComplete, void(hci::ErrorCode hci_status, uint64_t features));
482 MOCK_METHOD3(OnPhyUpdate, void(hci::ErrorCode hci_status, uint8_t tx_phy, uint8_t rx_phy));
486 hci::ErrorCode hci_status,

1234