Home
last modified time | relevance | path

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

123

/system/bt/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()
241 if (controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_clear_resolving_list_complete()
250 controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_clear_resolving_list_complete()
418 if (controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_remove_resolving_list_entry()
[all …]
Dbtm_ble_bgconn.cc343 if (controller_get_interface()->supports_ble_2m_phy()) phy |= PHY_LE_2M; in btm_ble_start_auto_conn()
344 if (controller_get_interface()->supports_ble_coded_phy()) phy |= PHY_LE_CODED; in btm_ble_start_auto_conn()
366 controller_get_interface()->supports_ble_privacy()) { in btm_ble_start_auto_conn()
531 if (!controller_get_interface()->supports_ble()) { in BTM_AcceptlistAdd()
549 controller_get_interface()->get_ble_acceptlist_size()) { in BTM_AcceptlistAdd()
565 if (!controller_get_interface()->supports_ble()) { in BTM_AcceptlistRemove()
586 if (!controller_get_interface()->supports_ble()) { in BTM_AcceptlistClear()
Dbtm_devctl.cc170 const controller_t* controller = controller_get_interface(); in BTM_reset_complete()
226 bool BTM_IsDeviceUp(void) { return controller_get_interface()->get_is_ready(); } in BTM_IsDeviceUp()
244 const controller_t* controller = controller_get_interface(); in decode_controller_support()
292 BTM_acl_after_controller_started(controller_get_interface()); in decode_controller_support()
322 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetLocalDeviceName()
420 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetDeviceClass()
Dble_scanner_hci_interface.cc117 controller_get_interface()->get_ble_periodic_advertiser_list_size()); in PeriodicAdvertiserListGetSize()
327 if ((controller_get_interface()->get_ble_periodic_advertiser_list_size()) && in Initialize()
328 (controller_get_interface() in Initialize()
333 } else if (controller_get_interface() in Initialize()
337 } else if (controller_get_interface() in Initialize()
Dbtm_inq.cc194 if (controller_get_interface()->supports_ble()) { in BTM_SetDiscoverability()
207 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetDiscoverability()
269 if (!controller_get_interface()->supports_interlaced_inquiry_scan() || in BTM_EnableInterlacedInquiryScan()
285 if (!controller_get_interface()->supports_interlaced_inquiry_scan() || in BTM_EnableInterlacedPageScan()
314 const controller_t* controller = controller_get_interface(); in BTM_SetInquiryMode()
360 if (controller_get_interface()->supports_ble()) { in BTM_SetConnectability()
374 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetConnectability()
535 if (controller_get_interface()->supports_ble()) { in BTM_StartInquiry()
1293 controller_get_interface()->supports_rssi_with_inquiry_results()) { in btm_process_inq_complete()
1505 if (controller_get_interface()->supports_extended_inquiry_response()) { in BTM_WriteEIR()
Dbtm_ble_addr.cc266 controller_get_interface()->get_ble_resolving_list_max_size() != 0) { in btm_identity_addr_to_random_pseudo()
301 if (controller_get_interface()->supports_ble_privacy()) in btm_random_pseudo_to_identity_addr()
Dbtm_ble_gap.cc409 if (!controller_get_interface()->supports_ble()) return BTM_ILLEGAL_VALUE; in BTM_BleObserve()
601 controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_vendor_capability_vsc_cmpl_cback()
684 if (!controller_get_interface()->supports_ble()) return false; in BTM_BleConfigPrivacy()
701 if (controller_get_interface()->supports_ble_privacy()) { in BTM_BleConfigPrivacy()
857 if (!controller_get_interface()->supports_ble()) { in BTM_BleSetScanParams()
984 if (controller_get_interface()->supports_simultaneous_le_bredr()) in btm_ble_update_dmt_flag_bits()
1194 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_scan_enable()
1205 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_set_scan_params()
1340 if (!controller_get_interface()->supports_ble()) return BTM_ERR_PROCESSING; in btm_ble_read_remote_name()
2617 controller_get_interface()->get_ble_supported_states(); in btm_ble_topology_check()
Dbtm_sco.cc151 if (controller_get_interface() in btm_esco_conn_rsp()
237 controller_get_interface()->supports_secure_connections(); in btm_send_connect_request()
281 if (controller_get_interface() in btm_send_connect_request()
426 if (controller_get_interface()->get_bt_version()->hci_version >= in BTM_CreateSco()
1126 if (controller_get_interface() in BTM_ChangeEScoLinkParms()
Dbtm_ble.cc653 if (!controller_get_interface()->supports_ble_packet_extension()) { in BTM_SetBleDataLength()
665 if (controller_get_interface()->get_bt_version()->hci_version >= in BTM_SetBleDataLength()
690 controller_get_interface()->get_ble_maximum_tx_data_length()); in BTM_SetBleDataLength()
692 tx_time, controller_get_interface()->get_ble_maximum_tx_time()); in BTM_SetBleDataLength()
746 if (!controller_get_interface()->supports_ble_2m_phy() && in BTM_BleReadPhy()
747 !controller_get_interface()->supports_ble_coded_phy()) { in BTM_BleReadPhy()
787 if (!controller_get_interface()->supports_ble_2m_phy() && in BTM_BleSetPhy()
788 !controller_get_interface()->supports_ble_coded_phy()) { in BTM_BleSetPhy()
Dbtm_sec.cc380 controller_get_interface()->get_is_ready()) { in BTM_SetPinType()
749 if (!controller_get_interface()->get_is_ready()) { in btm_sec_bond_by_transport()
808 if (!controller_get_interface()->supports_simple_pairing()) { in btm_sec_bond_by_transport()
840 if (!controller_get_interface()->supports_simple_pairing() || in btm_sec_bond_by_transport()
1351 return ((controller_get_interface()->supports_secure_connections()) && in BTM_BothEndsSupportSecureConnections()
1510 controller_get_interface()->supports_secure_connections(); in btm_sec_l2cap_access_req_by_requirement()
1851 controller_get_interface()->supports_secure_connections(); in btm_sec_mx_access_request()
1933 if (!controller_get_interface()->get_is_ready()) { in btm_sec_conn_req()
2100 if (controller_get_interface()->supports_simple_pairing()) { in btm_sec_dev_reset()
2540 controller_get_interface()->supports_secure_connections(); in btm_io_capabilities_req()
[all …]
/system/bt/main/shim/
Dcontroller.h26 const controller_t* controller_get_interface();
Dlink_policy.cc81 if (!controller_get_interface()->supports_sniff_mode() || interop_check) in controller_supports_link_policy_mode()
85 if (!controller_get_interface()->supports_hold_mode() || interop_check) in controller_supports_link_policy_mode()
169 controller_get_interface()->supports_encryption_pause(); in is_encryption_pause_supported()
Dstack.cc151 controller_get_interface()->get_ble_acceptlist_size()); in StartEverything()
/system/bt/stack/test/common/
Dmock_main_shim_controller.cc33 const controller_t* bluetooth::shim::controller_get_interface() { in controller_get_interface() function in bluetooth::shim
Dmock_controller.cc40 const controller_t* controller_get_interface() { in controller_get_interface() function
/system/bt/test/mock/
Dmock_main_shim_controller.cc34 const controller_t* bluetooth::shim::controller_get_interface() { in controller_get_interface() function in bluetooth::shim
Dmock_device_controller.cc456 const controller_t* controller_get_interface() { in controller_get_interface() function
/system/bt/device/include/
Dcontroller.h123 const controller_t* controller_get_interface();
/system/bt/stack/l2cap/
Dl2c_ble.cc266 if (!controller_get_interface() in l2cble_conn_comp()
327 || (controller_get_interface() in l2cble_start_conn_update()
348 || (controller_get_interface() in l2cble_start_conn_update()
605 controller_get_interface()->get_acl_data_size_ble(); in l2cble_process_sig_cmd()
909 controller_get_interface()->get_acl_data_size_ble(); in l2cble_process_sig_cmd()
Dl2c_utils.cc83 controller_get_interface()->get_ble_default_data_packet_length(); in l2cu_allocate_lcb()
776 const controller_t* controller = controller_get_interface(); in l2cu_send_peer_config_rej()
974 controller_get_interface()->get_acl_data_size_classic(); in l2cu_send_peer_echo_rsp()
976 controller_get_interface()->get_acl_packet_size_classic(); in l2cu_send_peer_echo_rsp()
2044 if (!controller_get_interface()->supports_ble()) return false; in l2cu_create_conn_le()
2052 controller_get_interface()->supports_role_switch(); in l2cu_create_conn_br_edr()
2231 if (controller_get_interface()->get_bt_version()->manufacturer == in l2cu_set_acl_priority()
3186 controller_get_interface()->get_acl_data_size_ble(); in l2cu_set_acl_hci_header()
3204 controller_get_interface()->get_acl_data_size_classic(); in l2cu_set_acl_hci_header()
/system/bt/stack/acl/
Dbtm_acl.cc136 controller_get_interface()->supports_encryption_pause(); in IsEprAvailable()
422 if (controller_get_interface() in btm_acl_created()
530 if (!controller_get_interface()->supports_central_peripheral_role_switch()) { in BTM_SwitchRoleToCentral()
644 const controller_t* controller = controller_get_interface(); in check_link_policy()
957 (controller_get_interface() in btm_read_remote_features_complete()
1546 if (addr == *controller_get_interface()->get_address()) { in BTM_GetMaxPacketSize()
2392 p_acl->conn_addr = *controller_get_interface()->get_address(); in btm_ble_refresh_local_resolvable_private_addr()
2638 controller_get_interface()->supports_role_switch(); in acl_create_classic_connection()
2864 (controller_get_interface() in acl_process_supported_features()
Dbtm_ble_connection_establishment.cc55 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_create_connection()
/system/bt/bta/ag/
Dbta_ag_sco.cc190 if (!(controller_get_interface() in bta_ag_sco_disc_cback()
486 if (!(controller_get_interface() in bta_ag_create_pending_sco()
1322 controller_get_interface() in bta_ag_sco_conn_rsp()
/system/bt/device/src/
Dcontroller.cc837 const controller_t* controller_get_interface() { in controller_get_interface() function
839 return bluetooth::shim::controller_get_interface(); in controller_get_interface()
/system/bt/stack/eatt/
Deatt_impl.h123 uint16_t max_mps = controller_get_interface()->get_acl_data_size_ble(); in eatt_l2cap_connect_ind()
298 eatt_dev->rx_mps_ = controller_get_interface()->get_acl_data_size_ble(); in connect_eatt()

123