Home
last modified time | relevance | path

Searched refs:controller_get_interface (Results 1 – 25 of 40) 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.cc351 if (controller_get_interface()->supports_ble_2m_phy()) phy |= PHY_LE_2M; in btm_ble_start_auto_conn()
352 if (controller_get_interface()->supports_ble_coded_phy()) phy |= PHY_LE_CODED; in btm_ble_start_auto_conn()
371 controller_get_interface()->supports_ble_privacy()) { in btm_ble_start_auto_conn()
447 controller_get_interface()->get_ble_white_list_size()) { in BTM_WhiteListAdd()
480 if (!controller_get_interface()->supports_ble()) return; in BTM_WhiteListClear()
Dbtm_devctl.cc174 const controller_t* controller = controller_get_interface(); in reset_complete()
247 bool BTM_IsDeviceUp(void) { return controller_get_interface()->get_is_ready(); } in BTM_IsDeviceUp()
429 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetLocalDeviceName()
527 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetDeviceClass()
559 return (uint8_t*)controller_get_interface() in BTM_ReadLocalFeatures()
Dbtm_ble_addr.cc307 controller_get_interface()->get_ble_resolving_list_max_size() != 0) in btm_identity_addr_to_random_pseudo()
338 if (controller_get_interface()->supports_ble_privacy()) in btm_random_pseudo_to_identity_addr()
431 p->conn_addr = *controller_get_interface()->get_address(); in btm_ble_refresh_local_resolvable_private_addr()
Dbtm_ble_gap.cc369 if (!controller_get_interface()->supports_ble()) return; in BTM_BleUpdateAdvFilterPolicy()
421 if (!controller_get_interface()->supports_ble()) return BTM_ILLEGAL_VALUE; in BTM_BleObserve()
540 controller_get_interface()->get_ble_resolving_list_max_size() == 0) in btm_ble_vendor_capability_vsc_cmpl_cback()
637 if (!controller_get_interface()->supports_ble()) return false; in BTM_BleConfigPrivacy()
654 if (controller_get_interface()->supports_ble_privacy()) { in BTM_BleConfigPrivacy()
724 if (!controller_get_interface()->supports_ble()) return BTM_ILLEGAL_VALUE; in BTM_BleSetConnectableMode()
842 if (!controller_get_interface()->supports_ble()) return; in BTM_BleSetScanParams()
889 if (!controller_get_interface()->supports_ble()) { in BTM_BleWriteScanRsp()
1006 if (controller_get_interface()->supports_simultaneous_le_bredr()) in btm_ble_update_dmt_flag_bits()
1219 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_scan_enable()
[all …]
Dbtm_inq.cc155 if (controller_get_interface()->supports_ble()) { in BTM_SetDiscoverability()
168 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetDiscoverability()
261 if (!controller_get_interface()->supports_interlaced_inquiry_scan()) in BTM_SetInquiryScanType()
294 if (!controller_get_interface()->supports_interlaced_inquiry_scan()) in BTM_SetPageScanType()
324 const controller_t* controller = controller_get_interface(); in BTM_SetInquiryMode()
542 if (controller_get_interface()->supports_ble()) { in BTM_SetConnectability()
556 if (!controller_get_interface()->get_is_ready()) return (BTM_DEV_RESET); in BTM_SetConnectability()
791 if (!controller_get_interface()->supports_ble()) { in BTM_StartInquiry()
1881 controller_get_interface()->supports_rssi_with_inquiry_results()) { in btm_process_inq_complete()
2164 if (controller_get_interface()->supports_extended_inquiry_response()) { in BTM_WriteEIR()
Dbtm_ble.cc765 if (!controller_get_interface()->supports_ble_packet_extension()) { in BTM_SetBleDataLength()
780 if (controller_get_interface()->get_bt_version()->hci_version >= HCI_PROTO_VERSION_5_0) in BTM_SetBleDataLength()
834 if (!controller_get_interface()->supports_ble_2m_phy() && in BTM_BleReadPhy()
835 !controller_get_interface()->supports_ble_coded_phy()) { in BTM_BleReadPhy()
873 if (!controller_get_interface()->supports_ble_2m_phy() && in BTM_BleSetDefaultPhy()
874 !controller_get_interface()->supports_ble_coded_phy()) { in BTM_BleSetDefaultPhy()
928 if (!controller_get_interface()->supports_ble_2m_phy() && in BTM_BleSetPhy()
929 !controller_get_interface()->supports_ble_coded_phy()) { in BTM_BleSetPhy()
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()
1378 if (controller_get_interface() in BTM_ChangeEScoLinkParms()
Dbtm_int_types.h53 controller_get_interface()->get_features_classic(0)->as_array)) \
58 (controller_get_interface()->get_bt_version()->manufacturer == \
Dbtm_ble_connection_establishment.cc54 if (controller_get_interface()->supports_ble_extended_advertising()) { in btm_send_hci_create_connection()
Dbtm_sec.cc387 controller_get_interface()->get_is_ready()) { in BTM_SetPinType()
900 if (!controller_get_interface()->get_is_ready()) { in btm_sec_bond_by_transport()
958 if (!controller_get_interface()->supports_simple_pairing()) { in btm_sec_bond_by_transport()
998 if (!controller_get_interface()->supports_simple_pairing() || in btm_sec_bond_by_transport()
1618 BDADDR_TO_STREAM(p, *controller_get_interface()->get_address()); in BTM_BuildOobData()
1689 return ((controller_get_interface()->supports_secure_connections()) && in BTM_BothEndsSupportSecureConnections()
1990 controller_get_interface()->supports_secure_connections(); in btm_sec_l2cap_access_req()
2419 controller_get_interface()->supports_secure_connections(); in btm_sec_mx_access_request()
2507 if (!controller_get_interface()->get_is_ready()) { in btm_sec_conn_req()
2733 if (controller_get_interface()->supports_simple_pairing()) { in btm_sec_dev_reset()
[all …]
Dbtm_acl.cc228 p->conn_addr = *controller_get_interface()->get_address(); in btm_acl_created()
284 controller_get_interface()->get_features_ble()->as_array) || in btm_acl_created()
551 if (!controller_get_interface()->supports_master_slave_role_switch()) in BTM_SwitchRole()
1059 (controller_get_interface() in btm_read_remote_features_complete()
1695 if (addr == *controller_get_interface()->get_address()) { in btm_get_max_packet_size()
Dbtm_dev.cc288 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()
Dbtm_ble_batchscan.cc50 if (!controller_get_interface()->supports_ble()) return false; in can_do_batch_scan()
/system/bt/device/include/
Dcontroller.h92 const controller_t* controller_get_interface();
/system/bt/stack/l2cap/
Dl2c_ble.cc328 controller_get_interface()->get_features_ble()->as_array)) { in l2cble_conn_comp()
382 controller_get_interface()->get_features_ble()->as_array) && in l2cble_start_conn_update()
404 controller_get_interface()->get_features_ble()->as_array) && in l2cble_start_conn_update()
1027 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()
983 controller_get_interface()->get_acl_data_size_classic(); in l2cu_send_peer_echo_rsp()
985 controller_get_interface()->get_acl_packet_size_classic(); in l2cu_send_peer_echo_rsp()
2113 uint8_t phy = controller_get_interface()->get_le_all_initiating_phys(); in l2cu_create_conn_le()
2125 if (!controller_get_interface()->supports_ble()) return false; in l2cu_create_conn_le()
3369 controller_get_interface()->get_acl_data_size_ble(); in l2cu_set_acl_hci_header()
3394 controller_get_interface()->get_acl_data_size_classic(); in l2cu_set_acl_hci_header()
/system/bt/btif/src/
Dbtif_sock.cc246 const controller_t* controller = controller_get_interface(); in btsock_request_max_tx_data_length()
Dbtif_gatt_client.cc272 if (!controller_get_interface()->supports_ble_privacy() && in btif_gattc_open_impl()
/system/bt/hci/src/
Dpacket_fragmenter.cc253 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/device/src/
Dcontroller.cc585 const controller_t* controller_get_interface() { in controller_get_interface() function
/system/bt/bta/gatt/
Dbta_gattc_api.cc123 uint8_t phy = controller_get_interface()->get_le_all_initiating_phys(); in BTA_GATTC_Open()
/system/bt/stack/bnep/
Dbnep_main.cc615 if (!p_dst_addr) p_dst_addr = controller_get_interface()->get_address(); in bnep_data_ind()

12