Home
last modified time | relevance | path

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

123

/aosp12/system/bt/stack/btm/
H A Dbtm_ble_privacy.cc100 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()
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()
421 if (controller_get_interface()->supports_ble_privacy()) { in btm_ble_remove_resolving_list_entry()
453 if (controller_get_interface()->supports_ble_privacy()) { in btm_ble_clear_resolving_list()
484 if (controller_get_interface()->supports_ble_privacy()) { in btm_ble_read_resolving_list_entry()
627 if (!controller_get_interface()->supports_ble_privacy()) in btm_ble_exe_disable_resolving_list()
647 if (!controller_get_interface()->supports_ble_privacy()) in btm_ble_exe_enable_resolving_list()
715 if (controller_get_interface()->supports_ble_privacy()) { in btm_ble_resolving_list_load_dev()
[all …]
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dbtm_ble_gap.cc410 if (!controller_get_interface()->supports_ble()) return BTM_ILLEGAL_VALUE; in BTM_BleObserve()
602 controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_vendor_capability_vsc_cmpl_cback()
685 if (!controller_get_interface()->supports_ble()) return false; in BTM_BleConfigPrivacy()
702 if (controller_get_interface()->supports_ble_privacy()) { in BTM_BleConfigPrivacy()
858 if (!controller_get_interface()->supports_ble()) { in BTM_BleSetScanParams()
985 if (controller_get_interface()->supports_simultaneous_le_bredr()) in btm_ble_update_dmt_flag_bits()
1195 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_scan_enable()
1206 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_set_scan_params()
1341 if (!controller_get_interface()->supports_ble()) return BTM_ERR_PROCESSING; in btm_ble_read_remote_name()
2629 controller_get_interface()->get_ble_supported_states(); in btm_ble_topology_check()
H A 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()
H A 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()
H A 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 …]
/aosp12/system/bt/main/shim/
H A 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()
H A Dcontroller.h26 const controller_t* controller_get_interface();
H A Dstack.cc151 controller_get_interface()->get_ble_acceptlist_size()); in StartEverything()
/aosp12/system/bt/stack/test/common/
H A Dmock_main_shim_controller.cc33 const controller_t* bluetooth::shim::controller_get_interface() { in controller_get_interface() function in bluetooth::shim
H A Dmock_controller.cc40 const controller_t* controller_get_interface() { in controller_get_interface() function
/aosp12/system/bt/test/mock/
H A Dmock_main_shim_controller.cc34 const controller_t* bluetooth::shim::controller_get_interface() { in controller_get_interface() function in bluetooth::shim
H A Dmock_device_controller.cc456 const controller_t* controller_get_interface() { in controller_get_interface() function
/aosp12/system/bt/device/include/
H A Dcontroller.h123 const controller_t* controller_get_interface();
/aosp12/system/bt/stack/acl/
H A 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()
967 (controller_get_interface() in btm_read_remote_features_complete()
1556 if (addr == *controller_get_interface()->get_address()) { in BTM_GetMaxPacketSize()
2402 p_acl->conn_addr = *controller_get_interface()->get_address(); in btm_ble_refresh_local_resolvable_private_addr()
2648 controller_get_interface()->supports_role_switch(); in acl_create_classic_connection()
2874 (controller_get_interface() in acl_process_supported_features()
H A Dbtm_ble_connection_establishment.cc55 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_create_connection()
/aosp12/system/bt/stack/l2cap/
H A 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()
914 controller_get_interface()->get_acl_data_size_ble(); in l2cble_process_sig_cmd()
H A Dl2c_link.cc750 const controller_t* controller = controller_get_interface(); in l2c_link_init()
1049 controller_get_interface()->get_acl_packet_size_classic(); in l2c_link_send_to_lower_br_edr()
1051 controller_get_interface()->get_acl_data_size_classic(); in l2c_link_send_to_lower_br_edr()
1101 controller_get_interface()->get_acl_packet_size_ble(); in l2c_link_send_to_lower_ble()
1103 controller_get_interface()->get_acl_data_size_ble(); in l2c_link_send_to_lower_ble()
H A 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()
/aosp12/system/bt/bta/ag/
H A 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()
/aosp12/system/bt/device/src/
H A Dcontroller.cc837 const controller_t* controller_get_interface() { in controller_get_interface() function
839 return bluetooth::shim::controller_get_interface(); in controller_get_interface()

123