Home
last modified time | relevance | path

Searched refs:controller_get_interface (Results 1 – 25 of 61) sorted by relevance

123

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_privacy.cc75 p_q->q_next %= controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_enq_resolving_list_pending()
100 i %= controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_brcm_find_resolving_pending_entry()
125 controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_deq_resolving_pending()
145 if (index < controller_get_interface()->get_ble_resolving_list_max_size()) { in btm_ble_clear_irk_index()
166 while (i < controller_get_interface()->get_ble_resolving_list_max_size()) { in btm_ble_find_irk_index()
197 if (!controller_get_interface()->supports_ble_privacy()) in btm_ble_update_resolving_list()
201 if (!controller_get_interface()->supports_ble_privacy()) { in btm_ble_update_resolving_list()
247 if (controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_clear_resolving_list_complete()
256 controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_clear_resolving_list_complete()
432 if (controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_remove_resolving_list_entry()
[all …]
Dbtm_devctl.cc171 const controller_t* controller = controller_get_interface(); in BTM_reset_complete()
230 bool BTM_IsDeviceUp(void) { return controller_get_interface()->get_is_ready(); } in BTM_IsDeviceUp()
248 const controller_t* controller = controller_get_interface(); in decode_controller_support()
296 BTM_acl_after_controller_started(controller_get_interface()); in decode_controller_support()
326 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetLocalDeviceName()
424 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetDeviceClass()
Dbtm_ble_bgconn.cc192 if (!controller_get_interface()->supports_ble()) { in BTM_AcceptlistAdd()
205 if (!controller_get_interface()->supports_ble()) { in BTM_AcceptlistRemove()
219 if (!controller_get_interface()->supports_ble()) { in BTM_AcceptlistClear()
Dble_scanner_hci_interface.cc116 controller_get_interface()->get_ble_periodic_advertiser_list_size()); in PeriodicAdvertiserListGetSize()
326 if ((controller_get_interface()->get_ble_periodic_advertiser_list_size()) && in Initialize()
327 (controller_get_interface() in Initialize()
332 } else if (controller_get_interface() in Initialize()
336 } else if (controller_get_interface() in Initialize()
Dbtm_inq.cc241 if (controller_get_interface()->supports_ble()) { in BTM_SetDiscoverability()
254 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetDiscoverability()
322 if (!controller_get_interface()->supports_interlaced_inquiry_scan() || in BTM_EnableInterlacedInquiryScan()
338 if (!controller_get_interface()->supports_interlaced_inquiry_scan() || in BTM_EnableInterlacedPageScan()
364 const controller_t* controller = controller_get_interface(); in BTM_SetInquiryMode()
409 if (controller_get_interface()->supports_ble()) { in BTM_SetConnectability()
423 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetConnectability()
636 if (controller_get_interface()->supports_ble()) { in BTM_StartInquiry()
1467 controller_get_interface()->supports_rssi_with_inquiry_results()) { in btm_process_inq_complete()
1717 if (controller_get_interface()->supports_extended_inquiry_response()) { in BTM_WriteEIR()
Dbtm_ble_addr.cc239 controller_get_interface()->get_ble_resolving_list_max_size() != 0) { in btm_identity_addr_to_random_pseudo()
274 if (controller_get_interface()->supports_ble_privacy()) in btm_random_pseudo_to_identity_addr()
Dbtm_ble_gap.cc521 if (!controller_get_interface()->supports_ble()) return BTM_ILLEGAL_VALUE; in BTM_BleObserve()
739 controller_get_interface()->get_bt_version()->manufacturer == in btm_ble_vendor_capability_vsc_cmpl_cback()
762 if (controller_get_interface()->supports_ble() && in btm_ble_vendor_capability_vsc_cmpl_cback()
763 controller_get_interface()->supports_ble_privacy() && in btm_ble_vendor_capability_vsc_cmpl_cback()
765 controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_vendor_capability_vsc_cmpl_cback()
848 if (!controller_get_interface()->supports_ble()) return false; in BTM_BleConfigPrivacy()
865 if (controller_get_interface()->supports_ble_privacy()) { in BTM_BleConfigPrivacy()
1688 if (!controller_get_interface()->supports_ble()) { in BTM_BleSetScanParams()
1815 if (controller_get_interface()->supports_simultaneous_le_bredr()) in btm_ble_update_dmt_flag_bits()
2021 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_scan_enable()
[all …]
Dbtm_ble.cc615 if (!controller_get_interface()->supports_ble_packet_extension()) { in BTM_SetBleDataLength()
641 if (controller_get_interface()->get_bt_version()->hci_version >= in BTM_SetBleDataLength()
667 controller_get_interface()->get_ble_maximum_tx_data_length()); in BTM_SetBleDataLength()
669 tx_time, controller_get_interface()->get_ble_maximum_tx_time()); in BTM_SetBleDataLength()
721 if (!controller_get_interface()->supports_ble_2m_phy() && in BTM_BleReadPhy()
722 !controller_get_interface()->supports_ble_coded_phy()) { in BTM_BleReadPhy()
758 if (!controller_get_interface()->supports_ble_2m_phy() && in BTM_BleSetPhy()
759 !controller_get_interface()->supports_ble_coded_phy()) { in BTM_BleSetPhy()
Dbtm_sco.cc163 if (controller_get_interface() in btm_esco_conn_rsp()
459 controller_get_interface()->supports_secure_connections(); in btm_send_connect_request()
501 if (controller_get_interface() in btm_send_connect_request()
647 if (controller_get_interface()->get_bt_version()->hci_version >= in BTM_CreateSco()
1385 if (controller_get_interface() in BTM_ChangeEScoLinkParms()
Dbtm_sec.cc413 controller_get_interface()->get_is_ready()) { in BTM_SetPinType()
783 if (!controller_get_interface()->get_is_ready()) { in btm_sec_bond_by_transport()
842 if (!controller_get_interface()->supports_simple_pairing()) { in btm_sec_bond_by_transport()
874 if (!controller_get_interface()->supports_simple_pairing() || in btm_sec_bond_by_transport()
1433 return ((controller_get_interface()->supports_secure_connections()) && in BTM_BothEndsSupportSecureConnections()
1592 controller_get_interface()->supports_secure_connections(); in btm_sec_l2cap_access_req_by_requirement()
1939 controller_get_interface()->supports_secure_connections(); in btm_sec_mx_access_request()
2021 if (!controller_get_interface()->get_is_ready()) { in btm_sec_conn_req()
2194 if (controller_get_interface()->supports_simple_pairing()) { in btm_sec_dev_reset()
2659 controller_get_interface()->supports_secure_connections(); in btm_io_capabilities_req()
[all …]
/packages/modules/Bluetooth/system/device/src/
Dcontroller.cc21 const controller_t* controller_get_interface() { in controller_get_interface() function
22 return bluetooth::shim::controller_get_interface(); in controller_get_interface()
/packages/modules/Bluetooth/system/main/shim/
Dbtm_api.cc782 controller_get_interface()->clear_event_filter(); in BTM_ClearEventFilter()
787 controller_get_interface()->clear_event_mask(); in BTM_ClearEventMask()
809 controller_get_interface()->set_event_filter_connection_setup_all_devices(); in BTM_SetEventFilterConnectionSetupAllDevices()
820 controller_get_interface()->set_event_filter_allow_device_connection( in BTM_AllowWakeByHid()
862 controller_get_interface()->set_default_event_mask_except(mask, le_mask); in BTM_SetDefaultEventMaskExcept()
868 controller_get_interface()->set_event_filter_inquiry_result_all_devices(); in BTM_SetEventFilterInquiryResultAllDevices()
Dstack.cc133 controller_get_interface()->get_ble_acceptlist_size(), in StartEverything()
134 controller_get_interface()->get_ble_resolving_list_max_size()); in StartEverything()
Dcontroller.h26 const controller_t* controller_get_interface();
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_ble.cc305 if (!controller_get_interface() in l2cble_conn_comp()
369 || (controller_get_interface() in l2cble_start_conn_update()
390 || (controller_get_interface() in l2cble_start_conn_update()
697 controller_get_interface()->get_acl_data_size_ble(); in l2cble_process_sig_cmd()
1034 controller_get_interface()->get_acl_data_size_ble(); in l2cble_process_sig_cmd()
1799 if (!controller_get_interface()->supports_ble_connection_subrating_host() || in l2cble_start_subrate_change()
1800 !controller_get_interface()->supports_ble_connection_subrating() || in l2cble_start_subrate_change()
1807 controller_get_interface()->supports_ble_connection_subrating_host(), in l2cble_start_subrate_change()
1808 controller_get_interface()->supports_ble_connection_subrating(), in l2cble_start_subrate_change()
Dl2c_utils.cc86 controller_get_interface()->get_ble_default_data_packet_length(); in l2cu_allocate_lcb()
779 const controller_t* controller = controller_get_interface(); in l2cu_send_peer_config_rej()
977 controller_get_interface()->get_acl_data_size_classic(); in l2cu_send_peer_echo_rsp()
979 controller_get_interface()->get_acl_packet_size_classic(); in l2cu_send_peer_echo_rsp()
2075 if (!controller_get_interface()->supports_ble()) return false; in l2cu_create_conn_le()
2083 controller_get_interface()->supports_role_switch(); in l2cu_create_conn_br_edr()
2379 switch (controller_get_interface()->get_bt_version()->manufacturer) { in l2cu_set_acl_priority()
2481 switch (controller_get_interface()->get_bt_version()->manufacturer) { in l2cu_set_acl_latency()
3443 controller_get_interface()->get_acl_data_size_ble(); in l2cu_set_acl_hci_header()
3461 controller_get_interface()->get_acl_data_size_classic(); in l2cu_set_acl_hci_header()
/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_controller.cc33 const controller_t* bluetooth::shim::controller_get_interface() { in controller_get_interface() function in bluetooth::shim
/packages/modules/Bluetooth/system/gd/rust/topshim/controller/
Dcontroller_shim.h31 ControllerIntf() : controller_(controller_get_interface()) {} in ControllerIntf()
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_controller.cc40 const controller_t* controller_get_interface() { in controller_get_interface() function
/packages/modules/Bluetooth/system/bta/test/common/
Dmock_controller.cc60 const controller_t* controller_get_interface() { in controller_get_interface() function
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_pm.cc214 const controller_t* controller = controller_get_interface(); in BTM_SetPowerMode()
329 const controller_t* controller = controller_get_interface(); in BTM_SetSsrParams()
554 const controller_t* controller = controller_get_interface(); in btm_pm_snd_md_req()
Dbtm_acl.cc157 controller_get_interface()->supports_encryption_pause(); in IsEprAvailable()
482 if (controller_get_interface() in btm_acl_created()
599 if (!controller_get_interface()->supports_central_peripheral_role_switch()) { in BTM_SwitchRoleToCentral()
737 const controller_t* controller = controller_get_interface(); in check_link_policy()
990 (controller_get_interface() in btm_read_remote_features_complete()
1630 if (addr == *controller_get_interface()->get_address()) { in BTM_GetMaxPacketSize()
2966 (controller_get_interface() in acl_process_supported_features()
/packages/modules/Bluetooth/system/device/include/
Dcontroller.h137 const controller_t* controller_get_interface();
/packages/modules/Bluetooth/system/stack/btu/
Dbtu_hcif.cc948 !controller_get_interface()->supports_read_encryption_key_size()) || in btu_hcif_encryption_change_evt()
951 controller_get_interface()->supports_set_min_encryption_key_size())) { in btu_hcif_encryption_change_evt()
1518 controller_get_interface()->supports_set_min_encryption_key_size()) { in btu_hcif_encryption_key_refresh_cmpl_evt()
1583 if (!controller_get_interface()->supports_ble_packet_extension()) { in btu_ble_data_length_change_evt()
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_sco.cc197 if (!(controller_get_interface() in bta_ag_sco_disc_cback()
536 if (!(controller_get_interface() in bta_ag_create_pending_sco()
1407 controller_get_interface() in bta_ag_sco_conn_rsp()

123