/packages/modules/Bluetooth/system/stack/include/ |
D | acl_api.h | 209 bool acl_peer_supports_ble_packet_extension(uint16_t hci_handle); 210 bool acl_peer_supports_ble_2m_phy(uint16_t hci_handle); 211 bool acl_peer_supports_ble_coded_phy(uint16_t hci_handle); 216 bool acl_peer_supports_ble_packet_extension(uint16_t hci_handle); 242 bool BTM_IsBleConnection(uint16_t hci_handle); 244 const RawAddress acl_address_from_handle(uint16_t hci_handle); 246 void btm_cont_rswitch_from_handle(uint16_t hci_handle); 258 bool acl_set_peer_le_features_from_handle(uint16_t hci_handle, 287 void btm_acl_created(const RawAddress& bda, uint16_t hci_handle, 307 uint8_t btm_handle_to_acl_index(uint16_t hci_handle);
|
D | sco_hci_link_interface.h | 29 void btm_sco_chk_pend_unpark(tHCI_STATUS hci_status, uint16_t hci_handle); 32 void btm_sco_connected(const RawAddress& bda, uint16_t hci_handle, 35 uint16_t hci_handle, 37 bool btm_sco_removed(uint16_t hci_handle, tHCI_REASON reason); 39 void btm_sco_on_disconnected(uint16_t hci_handle, tHCI_REASON reason);
|
D | acl_hci_link_interface.h | 47 void btm_pm_proc_mode_change(tHCI_STATUS hci_status, uint16_t hci_handle,
|
D | btm_ble_api.h | 369 bool btm_ble_get_acl_remote_addr(uint16_t hci_handle, RawAddress& conn_addr,
|
/packages/modules/Bluetooth/system/stack/test/ |
D | stack_acl_test.cc | 65 const uint16_t hci_handle = 0x123; in TEST_F() local 69 btm_acl_created(kRawAddress, hci_handle, link_role, transport); in TEST_F() 78 acl_process_extended_features(hci_handle, 1, max_page, 0xf123456789abcde); in TEST_F() 79 acl_process_extended_features(hci_handle, 2, max_page, 0xef123456789abcd); in TEST_F() 80 acl_process_extended_features(hci_handle, 3, max_page, 0xdef123456789abc); in TEST_F() 95 acl_process_extended_features(hci_handle, static_cast<uint8_t>(i), in TEST_F() 109 acl_process_extended_features(hci_handle, 1, 0, 0xdef123456789abc); in TEST_F() 116 btm_acl_removed(hci_handle); in TEST_F()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_sco.cc | 97 void btm_sco_on_disconnected(uint16_t hci_handle, tHCI_REASON reason); 98 bool btm_sco_removed(uint16_t hci_handle, tHCI_REASON reason); 403 if (active_sco->hci_handle != handle) { in btm_route_sco_data() 405 handle, active_sco->hci_handle); in btm_route_sco_data() 557 uint16_t handle_with_flags = active_sco->hci_handle; in btm_send_sco_packet() 823 p->hci_handle = HCI_INVALID_HANDLE; in BTM_CreateSco() 884 void btm_sco_chk_pend_unpark(tHCI_STATUS hci_status, uint16_t hci_handle) { in btm_sco_chk_pend_unpark() argument 889 if ((p->state == SCO_ST_PEND_UNPARK) && (acl_handle == hci_handle)) { in btm_sco_chk_pend_unpark() 916 void btm_sco_chk_pend_rolechange(uint16_t hci_handle) { in btm_sco_chk_pend_rolechange() argument 924 p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)) in btm_sco_chk_pend_rolechange() [all …]
|
D | btm_sco.h | 239 uint16_t hci_handle; /* HCI Handle */ member 257 uint16_t Handle() const { return hci_handle; } in Handle() 277 if (p_sco->hci_handle == handle) { in get_sco_connection_from_handle() 301 void btm_sco_chk_pend_rolechange(uint16_t hci_handle); 302 void btm_sco_disc_chk_pend_for_modechange(uint16_t hci_handle);
|
D | btm_sec.cc | 272 static bool btm_sec_is_device_sc_downgrade(uint16_t hci_handle, in btm_sec_is_device_sc_downgrade() argument 276 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev_by_handle(hci_handle); in btm_sec_is_device_sc_downgrade() 301 static void btm_sec_store_device_sc_support(uint16_t hci_handle, in btm_sec_store_device_sc_support() argument 303 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev_by_handle(hci_handle); in btm_sec_store_device_sc_support() 326 static bool btm_sec_is_session_key_size_downgrade(uint16_t hci_handle, in btm_sec_is_session_key_size_downgrade() argument 328 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev_by_handle(hci_handle); in btm_sec_is_session_key_size_downgrade() 351 static void btm_sec_update_session_key_size(uint16_t hci_handle, in btm_sec_update_session_key_size() argument 353 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev_by_handle(hci_handle); in btm_sec_update_session_key_size() 654 (p_dev_rec->hci_handle == HCI_INVALID_HANDLE) && in BTM_PINCodeReply() 738 if (((p_dev_rec->hci_handle != HCI_INVALID_HANDLE) && in btm_sec_bond_by_transport() [all …]
|
D | btm_dev.cc | 96 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice() 281 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in btm_sec_alloc_dev() 290 if (p_dev_rec->hci_handle == *handle || p_dev_rec->ble_hci_handle == *handle) in is_handle_equal()
|
D | security_device_record.h | 389 uint16_t get_br_edr_hci_handle() const { return hci_handle; } in get_br_edr_hci_handle() 428 uint16_t hci_handle; /* Handle to BR/EDR ACL connection when exists */ variable
|
D | btm_ble_sec.cc | 90 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice() 614 uint16_t hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_SetBleDataLength() local 616 if (!acl_peer_supports_ble_packet_extension(hci_handle)) { in BTM_SetBleDataLength() 629 btsnd_hcic_ble_set_data_length(hci_handle, tx_pdu_length, tx_time); in BTM_SetBleDataLength() 1940 bool btm_ble_get_acl_remote_addr(uint16_t hci_handle, RawAddress& conn_addr, in btm_ble_get_acl_remote_addr() argument 1942 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev_by_handle(hci_handle); in btm_ble_get_acl_remote_addr() 1945 hci_handle); in btm_ble_get_acl_remote_addr()
|
/packages/modules/Bluetooth/system/stack/acl/ |
D | btm_acl.cc | 176 BTA_dm_acl_up(p_acl.remote_addr, p_acl.transport, p_acl.hci_handle); in NotifyAclLinkUp() 207 p_acl.hci_handle, p_acl.is_transport_br_edr(), reason, comment); in disconnect_acl() 347 uint8_t btm_handle_to_acl_index(uint16_t hci_handle) { in btm_handle_to_acl_index() argument 351 if ((p->in_use) && (p->hci_handle == hci_handle)) { in btm_handle_to_acl_index() 360 tACL_CONN* StackAclBtmAcl::acl_get_connection_from_handle(uint16_t hci_handle) { in acl_get_connection_from_handle() argument 361 uint8_t index = btm_handle_to_acl_index(hci_handle); in acl_get_connection_from_handle() 409 void btm_acl_created(const RawAddress& bda, uint16_t hci_handle, in btm_acl_created() argument 413 p_acl->hci_handle = hci_handle; in btm_acl_created() 422 hci_handle, RoleText(link_role), bt_transport_text(transport)); in btm_acl_created() 433 p_acl->hci_handle = hci_handle; in btm_acl_created() [all …]
|
D | btm_pm.cc | 57 void btm_cont_rswitch_from_handle(uint16_t hci_handle); 703 void btm_pm_proc_mode_change(tHCI_STATUS hci_status, uint16_t hci_handle, in btm_pm_proc_mode_change() argument 708 if (pm_mode_db.count(hci_handle) == 0) { in btm_pm_proc_mode_change() 709 log::warn("Unable to find active acl for handle {}", hci_handle); in btm_pm_proc_mode_change() 712 tBTM_PM_MCB* p_cb = &pm_mode_db[hci_handle]; in btm_pm_proc_mode_change() 727 ? power_telemetry::GetInstance().LogSniffStarted(hci_handle, p_cb->bda_) in btm_pm_proc_mode_change() 728 : power_telemetry::GetInstance().LogSniffStopped(hci_handle, p_cb->bda_); in btm_pm_proc_mode_change() 736 btm_pm_snd_md_req(hci_handle, BTM_PM_SET_ONLY_ID, hci_handle, NULL); in btm_pm_proc_mode_change() 752 btm_sco_disc_chk_pend_for_modechange(hci_handle); in btm_pm_proc_mode_change() 755 btm_cont_rswitch_from_handle(hci_handle); in btm_pm_proc_mode_change()
|
D | acl.h | 201 uint16_t hci_handle; member 205 uint16_t Handle() const { return hci_handle; } in Handle() 216 btsnd_hcic_set_conn_encrypt(hci_handle, false); in set_encryption_off() 222 btsnd_hcic_set_conn_encrypt(hci_handle, true); in set_encryption_on() 322 friend uint8_t btm_handle_to_acl_index(uint16_t hci_handle);
|
D | acl.cc | 31 hci_handle = 0; in Reset()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_acl.h | 79 std::function<bool(uint16_t hci_handle)> body{ 81 bool operator()(uint16_t hci_handle) { return body(hci_handle); }; in operator() 204 std::function<bool(uint16_t hci_handle)> body{ 206 bool operator()(uint16_t hci_handle) { return body(hci_handle); }; in operator() 213 std::function<bool(uint16_t hci_handle)> body{ 215 bool operator()(uint16_t hci_handle) { return body(hci_handle); }; in operator() 253 std::function<bool(uint16_t hci_handle)> body{ 255 bool operator()(uint16_t hci_handle) { return body(hci_handle); }; in operator() 313 std::function<bool(uint16_t hci_handle, const uint8_t* p)> body{ 315 bool operator()(uint16_t hci_handle, const uint8_t* p) { in operator() [all …]
|
D | mock_stack_acl.cc | 178 bool BTM_IsBleConnection(uint16_t hci_handle) { in BTM_IsBleConnection() argument 180 return test::mock::stack_acl::BTM_IsBleConnection(hci_handle); in BTM_IsBleConnection() 228 bool acl_peer_supports_ble_2m_phy(uint16_t hci_handle) { in acl_peer_supports_ble_2m_phy() argument 230 return test::mock::stack_acl::acl_peer_supports_ble_2m_phy(hci_handle); in acl_peer_supports_ble_2m_phy() 232 bool acl_peer_supports_ble_coded_phy(uint16_t hci_handle) { in acl_peer_supports_ble_coded_phy() argument 234 return test::mock::stack_acl::acl_peer_supports_ble_coded_phy(hci_handle); in acl_peer_supports_ble_coded_phy() 251 bool acl_peer_supports_ble_packet_extension(uint16_t hci_handle) { in acl_peer_supports_ble_packet_extension() argument 254 hci_handle); in acl_peer_supports_ble_packet_extension() 280 bool acl_set_peer_le_features_from_handle(uint16_t hci_handle, in acl_set_peer_le_features_from_handle() argument 283 return test::mock::stack_acl::acl_set_peer_le_features_from_handle(hci_handle, in acl_set_peer_le_features_from_handle() [all …]
|
D | mock_main_shim_acl_api.h | 126 std::function<void(uint16_t hci_handle, uint16_t subrate_min, 129 body{[](uint16_t hci_handle, uint16_t subrate_min, uint16_t subrate_max, 131 void operator()(uint16_t hci_handle, uint16_t subrate_min, in operator() 134 body(hci_handle, subrate_min, subrate_max, max_latency, cont_num, sup_tout); in operator()
|
D | mock_stack_btm_ble.h | 424 std::function<bool(uint16_t hci_handle, RawAddress& conn_addr, 428 bool operator()(uint16_t hci_handle, RawAddress& conn_addr, in operator() 430 return body(hci_handle, conn_addr, p_addr_type); in operator()
|
D | mock_stack_btm_sec.h | 830 std::function<void(uint16_t hci_handle, bool ssp_supported, bool sc_supported, 836 void operator()(uint16_t hci_handle, bool ssp_supported, bool sc_supported, in operator() 839 body(hci_handle, ssp_supported, sc_supported, hci_role_switch_supported, in operator()
|
D | mock_stack_btm_ble.cc | 261 bool btm_ble_get_acl_remote_addr(uint16_t hci_handle, RawAddress& conn_addr, in btm_ble_get_acl_remote_addr() argument 265 hci_handle, conn_addr, p_addr_type); in btm_ble_get_acl_remote_addr()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | acl.h | 99 void LeSubrateRequest(uint16_t hci_handle, uint16_t subrate_min, 103 void WriteData(uint16_t hci_handle, 106 void Flush(uint16_t hci_handle); 120 void write_data_sync(uint16_t hci_handle, 122 void flush(uint16_t hci_handle);
|
D | acl_api.cc | 209 uint16_t hci_handle, uint16_t subrate_min, uint16_t subrate_max, in ACL_LeSubrateRequest() argument 212 hci_handle, subrate_min, subrate_max, max_latency, cont_num, sup_tout); in ACL_LeSubrateRequest()
|
D | acl_api.h | 67 void ACL_LeSubrateRequest(uint16_t hci_handle, uint16_t subrate_min,
|
/packages/modules/Bluetooth/system/stack/test/btm/ |
D | stack_btm_sec_test.cc | 147 device_record->hci_handle = classic_handle; in TEST_F() 188 device_record->hci_handle = 0x1234; in TEST_F() 279 device_record->hci_handle = classic_handle; in TEST_F()
|