Home
last modified time | relevance | path

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

12

/system/bt/stack/btm/
Dbtm_ble_privacy.cc73 p_q->q_next %= controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_enq_resolving_list_pending()
98 i %= controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_brcm_find_resolving_pending_entry()
123 controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_deq_resolving_pending()
143 if (index < controller_get_interface()->get_ble_resolving_list_max_size()) { in btm_ble_clear_irk_index()
164 while (i < controller_get_interface()->get_ble_resolving_list_max_size()) { in btm_ble_find_irk_index()
194 if (!controller_get_interface()->supports_ble_privacy()) in btm_ble_update_resolving_list()
198 if (!controller_get_interface()->supports_ble_privacy()) { in btm_ble_update_resolving_list()
238 if (controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_clear_resolving_list_complete()
247 controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_clear_resolving_list_complete()
414 if (controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_remove_resolving_list_entry()
[all …]
Dbtm_ble_bgconn.cc315 const controller_t* controller = controller_get_interface(); in BTM_GetWhiteListSize()
364 if (controller_get_interface()->supports_ble_2m_phy()) phy |= PHY_LE_2M; in btm_ble_start_auto_conn()
365 if (controller_get_interface()->supports_ble_coded_phy()) phy |= PHY_LE_CODED; in btm_ble_start_auto_conn()
384 controller_get_interface()->supports_ble_privacy()) { in btm_ble_start_auto_conn()
460 controller_get_interface()->get_ble_white_list_size()) { in BTM_WhiteListAdd()
493 if (!controller_get_interface()->supports_ble()) return; in BTM_WhiteListClear()
Dbtm_devctl.cc176 const controller_t* controller = controller_get_interface(); in reset_complete()
254 bool BTM_IsDeviceUp(void) { return controller_get_interface()->get_is_ready(); } in BTM_IsDeviceUp()
272 const controller_t* controller = controller_get_interface(); in decode_controller_support()
415 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetLocalDeviceName()
513 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetDeviceClass()
Dbtm_ble_addr.cc264 controller_get_interface()->get_ble_resolving_list_max_size() != 0) in btm_identity_addr_to_random_pseudo()
295 if (controller_get_interface()->supports_ble_privacy()) in btm_random_pseudo_to_identity_addr()
388 p->conn_addr = *controller_get_interface()->get_address(); in btm_ble_refresh_local_resolvable_private_addr()
Dbtm_inq.cc170 if (controller_get_interface()->supports_ble()) { in BTM_SetDiscoverability()
183 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetDiscoverability()
280 if (!controller_get_interface()->supports_interlaced_inquiry_scan()) in BTM_SetInquiryScanType()
317 if (!controller_get_interface()->supports_interlaced_inquiry_scan()) in BTM_SetPageScanType()
351 const controller_t* controller = controller_get_interface(); in BTM_SetInquiryMode()
466 if (controller_get_interface()->supports_ble()) { in BTM_SetConnectability()
480 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetConnectability()
722 if (!controller_get_interface()->supports_ble()) { in BTM_StartInquiry()
1808 controller_get_interface()->supports_rssi_with_inquiry_results()) { in btm_process_inq_complete()
2077 if (controller_get_interface()->supports_extended_inquiry_response()) { in BTM_WriteEIR()
Dbtm_ble_gap.cc401 if (!controller_get_interface()->supports_ble()) return BTM_ILLEGAL_VALUE; in BTM_BleObserve()
521 controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_vendor_capability_vsc_cmpl_cback()
598 if (!controller_get_interface()->supports_ble()) return false; in BTM_BleConfigPrivacy()
615 if (controller_get_interface()->supports_ble_privacy()) { in BTM_BleConfigPrivacy()
783 if (!controller_get_interface()->supports_ble()) return; in BTM_BleSetScanParams()
918 if (controller_get_interface()->supports_simultaneous_le_bredr()) in btm_ble_update_dmt_flag_bits()
1131 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_scan_enable()
1142 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_set_scan_params()
1280 if (!controller_get_interface()->supports_ble()) return BTM_ERR_PROCESSING; in btm_ble_read_remote_name()
2503 controller_get_interface()->get_ble_supported_states(); in btm_ble_topology_check()
Dbtm_sco.cc165 if (controller_get_interface() in btm_esco_conn_rsp()
311 if (controller_get_interface() in btm_send_connect_request()
516 if (controller_get_interface()->get_bt_version()->hci_version >= in BTM_CreateSco()
1186 if (controller_get_interface() in BTM_ChangeEScoLinkParms()
Dbtm_int_types.h52 controller_get_interface()->supports_encryption_pause()) \
57 (controller_get_interface()->get_bt_version()->manufacturer == \
Dbtm_ble.cc806 if (!controller_get_interface()->supports_ble_packet_extension()) { in BTM_SetBleDataLength()
821 if (controller_get_interface()->get_bt_version()->hci_version >= HCI_PROTO_VERSION_5_0) in BTM_SetBleDataLength()
878 if (!controller_get_interface()->supports_ble_2m_phy() && in BTM_BleReadPhy()
879 !controller_get_interface()->supports_ble_coded_phy()) { in BTM_BleReadPhy()
940 if (!controller_get_interface()->supports_ble_2m_phy() && in BTM_BleSetPhy()
941 !controller_get_interface()->supports_ble_coded_phy()) { in BTM_BleSetPhy()
Dbtm_acl.cc230 p->conn_addr = *controller_get_interface()->get_address(); in btm_acl_created()
285 if (controller_get_interface() in btm_acl_created()
553 if (!controller_get_interface()->supports_master_slave_role_switch()) in BTM_SwitchRole()
722 const controller_t* controller = controller_get_interface(); in check_link_policy()
1032 (controller_get_interface() in btm_read_remote_features_complete()
1672 if (addr == *controller_get_interface()->get_address()) { in btm_get_max_packet_size()
Dbtm_ble_connection_establishment.cc54 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_create_connection()
Dbtm_sec.cc367 controller_get_interface()->get_is_ready()) { in BTM_SetPinType()
827 if (!controller_get_interface()->get_is_ready()) { in btm_sec_bond_by_transport()
885 if (!controller_get_interface()->supports_simple_pairing()) { in btm_sec_bond_by_transport()
925 if (!controller_get_interface()->supports_simple_pairing() || in btm_sec_bond_by_transport()
1486 return ((controller_get_interface()->supports_secure_connections()) && in BTM_BothEndsSupportSecureConnections()
1727 controller_get_interface()->supports_secure_connections(); in btm_sec_l2cap_access_req()
2161 controller_get_interface()->supports_secure_connections(); in btm_sec_mx_access_request()
2249 if (!controller_get_interface()->get_is_ready()) { in btm_sec_conn_req()
2475 if (controller_get_interface()->supports_simple_pairing()) { in btm_sec_dev_reset()
2958 controller_get_interface()->supports_secure_connections(); in btm_io_capabilities_req()
Dbtm_dev.cc294 controller_get_interface()->supports_master_slave_role_switch()) { in btm_dev_support_switch()
Dble_advertiser_hci_interface.cc525 cb.Run(controller_get_interface() in ReadInstanceCount()
765 if (controller_get_interface()->supports_ble_extended_advertising()) { in Initialize()
/system/bt/device/include/
Dcontroller.h114 const controller_t* controller_get_interface();
118 const controller_t* controller_get_interface();
/system/bt/main/shim/
Dcontroller.h26 const controller_t* controller_get_interface();
Dcontroller.cc389 const controller_t* bluetooth::shim::controller_get_interface() { in controller_get_interface() function in bluetooth::shim
Dbtm_api.cc332 controller_get_interface() in BTM_StartInquiry()
635 if (controller_get_interface()->supports_rssi_with_inquiry_results()) { in BTM_CancelInquiry()
1027 return controller_get_interface()->supports_ble_privacy(); in BTM_BleLocalPrivacyEnabled()
/system/bt/device/src/
Dcontroller.cc712 const controller_t* bluetooth::legacy::controller_get_interface() { in controller_get_interface() function in bluetooth::legacy
725 const controller_t* controller_get_interface() { in controller_get_interface() function
727 return bluetooth::shim::controller_get_interface(); in controller_get_interface()
729 return bluetooth::legacy::controller_get_interface(); in controller_get_interface()
/system/bt/stack/l2cap/
Dl2c_ble.cc330 if (!controller_get_interface() in l2cble_conn_comp()
384 || (controller_get_interface() in l2cble_start_conn_update()
406 || (controller_get_interface() in l2cble_start_conn_update()
1030 if (!controller_get_interface()->supports_ble_packet_extension()) { in l2cble_set_fixed_channel_tx_data_length()
Dl2c_utils.cc92 controller_get_interface()->get_ble_default_data_packet_length(); in l2cu_allocate_lcb()
750 const controller_t* controller = controller_get_interface(); in l2cu_send_peer_config_rej()
985 controller_get_interface()->get_acl_data_size_classic(); in l2cu_send_peer_echo_rsp()
987 controller_get_interface()->get_acl_packet_size_classic(); in l2cu_send_peer_echo_rsp()
2112 uint8_t phy = controller_get_interface()->get_le_all_initiating_phys(); in l2cu_create_conn_le()
2124 if (!controller_get_interface()->supports_ble()) return false; in l2cu_create_conn_le()
2139 const controller_t* controller = controller_get_interface(); in l2cu_create_conn_br_edr()
2226 const controller_t* controller = controller_get_interface(); in l2cu_create_conn_after_switch()
3355 controller_get_interface()->get_acl_data_size_ble(); in l2cu_set_acl_hci_header()
3380 controller_get_interface()->get_acl_data_size_classic(); in l2cu_set_acl_hci_header()
/system/bt/btif/src/
Dbtif_sock.cc254 const controller_t* controller = controller_get_interface(); in btsock_request_max_tx_data_length()
/system/bt/hci/src/
Dpacket_fragmenter.cc250 controller = controller_get_interface(); in packet_fragmenter_get_interface()
/system/bt/bta/ag/
Dbta_ag_sco.cc191 if (!(controller_get_interface() in bta_ag_sco_disc_cback()
500 if (!(controller_get_interface() in bta_ag_create_pending_sco()
1348 controller_get_interface() in bta_ag_sco_conn_rsp()
/system/bt/bta/dm/
Dbta_dm_pm.cc459 const controller_t* controller = controller_get_interface(); in bta_dm_pm_cback()
710 const controller_t* controller = controller_get_interface();

12