Home
last modified time | relevance | path

Searched refs:ble_ctr_cb (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_gap.cc468 btm_cb.ble_ctr_cb.p_opportunistic_obs_results_cb = p_results_cb; in BTM_BleOpportunisticObserve()
470 btm_cb.ble_ctr_cb.p_opportunistic_obs_results_cb = NULL; in BTM_BleOpportunisticObserve()
476 btm_cb.ble_ctr_cb.p_target_announcement_obs_results_cb = p_results_cb; in BTM_BleTargetAnnouncementObserve()
478 btm_cb.ble_ctr_cb.p_target_announcement_obs_results_cb = NULL; in BTM_BleTargetAnnouncementObserve()
509 uint8_t scan_phy = btm_cb.ble_ctr_cb.inq_var.scan_phy | BTM_BLE_DEFAULT_PHYS; in BTM_BleObserve()
515 log::verbose("scan_type:{}, {}, {}", btm_cb.ble_ctr_cb.inq_var.scan_type, ll_scan_interval, in BTM_BleObserve()
526 if (btm_cb.ble_ctr_cb.is_ble_observe_active()) { in BTM_BleObserve()
528 if (alarm_is_scheduled(btm_cb.ble_ctr_cb.observer_timer)) { in BTM_BleObserve()
529 alarm_cancel(btm_cb.ble_ctr_cb.observer_timer); in BTM_BleObserve()
539 btm_cb.ble_ctr_cb.inq_var.is_1m_phy_configured() && in BTM_BleObserve()
[all …]
Dbtm_ble_privacy.cc81 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_enq_resolving_list_pending()
103 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_brcm_find_resolving_pending_entry()
129 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_deq_resolving_pending()
158 btm_cb.ble_ctr_cb.irk_list_mask[byte] &= (~(1 << bit)); in btm_ble_clear_irk_index()
180 if ((btm_cb.ble_ctr_cb.irk_list_mask[byte] & (1 << bit)) == 0) { in btm_ble_find_irk_index()
181 btm_cb.ble_ctr_cb.irk_list_mask[byte] |= (1 << bit); in btm_ble_find_irk_index()
265 memset(btm_cb.ble_ctr_cb.irk_list_mask, 0, irk_mask_size); in btm_ble_clear_resolving_list_complete()
268 btm_cb.ble_ctr_cb.resolving_list_avail_size = in btm_ble_clear_resolving_list_complete()
271 log::verbose("resolving_list_avail_size={}", btm_cb.ble_ctr_cb.resolving_list_avail_size); in btm_ble_clear_resolving_list_complete()
311 STREAM_TO_UINT8(btm_cb.ble_ctr_cb.resolving_list_avail_size, p); in btm_ble_add_resolving_list_entry_complete()
[all …]
Dbtm_int_types.h118 tBTM_BLE_CB ble_ctr_cb; member
164 memset(&ble_ctr_cb, 0, sizeof(ble_ctr_cb)); in Init()
Dbtm_devctl.cc160 btm_cb.ble_ctr_cb.set_connection_state_idle(); in BTM_reset_complete()
Dbtm_dev.cc796 btm_cb.ble_ctr_cb.privacy_mode < BTM_PRIVACY_1_2) { in BTM_Sec_GetAddressWithType()
Dbtm_ble_sec.cc1588 btm_cb.ble_ctr_cb.inq_var.directed_conn = BTM_BLE_ADV_IND_EVT; in btm_ble_connected()
2036 if (btm_cb.ble_ctr_cb.privacy_mode != BTM_PRIVACY_NONE) { in btm_ble_reset_id_impl()
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_pm.cc817 if (!btm_cb.ble_ctr_cb.is_connection_state_idle()) { in btm_pm_device_in_active_or_sniff_mode()
893 return btm_cb.ble_ctr_cb.link_count[HCI_ROLE_CENTRAL] + in BTM_PM_ReadBleLinkCount()
894 btm_cb.ble_ctr_cb.link_count[HCI_ROLE_PERIPHERAL]; in BTM_PM_ReadBleLinkCount()
908 if (!btm_cb.ble_ctr_cb.is_ble_scan_active()) { in BTM_PM_ReadBleScanDutyCycle()
913 if (btm_cb.ble_ctr_cb.inq_var.is_1m_phy_configured()) { in BTM_PM_ReadBleScanDutyCycle()
914 uint32_t scan_window = btm_cb.ble_ctr_cb.inq_var.scan_window_1m; in BTM_PM_ReadBleScanDutyCycle()
915 uint32_t scan_interval = btm_cb.ble_ctr_cb.inq_var.scan_interval_1m; in BTM_PM_ReadBleScanDutyCycle()
919 if (btm_cb.ble_ctr_cb.inq_var.is_coded_phy_configured()) { in BTM_PM_ReadBleScanDutyCycle()
920 uint32_t scan_window = btm_cb.ble_ctr_cb.inq_var.scan_window_coded; in BTM_PM_ReadBleScanDutyCycle()
921 uint32_t scan_interval = btm_cb.ble_ctr_cb.inq_var.scan_interval_coded; in BTM_PM_ReadBleScanDutyCycle()
Dble_acl.cc47 btm_cb.ble_ctr_cb.set_connection_state_idle(); in acl_ble_common_connection()
126 btm_cb.ble_ctr_cb.set_connection_state_idle(); in acl_ble_connection_fail()
134 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in acl_ble_connection_fail()
/packages/modules/Bluetooth/system/main/shim/
Dle_scanning_manager.cc149 if (start && !btm_cb.ble_ctr_cb.is_ble_observe_active()) { in Scan()
155 btm_cb.ble_ctr_cb.set_ble_observe_active(); in Scan()
156 } else if (!start && btm_cb.ble_ctr_cb.is_ble_observe_active()) { in Scan()
164 btm_cb.ble_ctr_cb.reset_ble_observe(); in Scan()
168 btm_cb.ble_ctr_cb.is_ble_observe_active()); in Scan()
327 btm_cb.ble_ctr_cb.inq_var.scan_type = BTM_BLE_SCAN_MODE_ACTI; in SetScanParameters()
328 btm_cb.ble_ctr_cb.inq_var.scan_interval_1m = scan_interval_1m; in SetScanParameters()
329 btm_cb.ble_ctr_cb.inq_var.scan_window_1m = scan_window_1m; in SetScanParameters()
330 btm_cb.ble_ctr_cb.inq_var.scan_interval_coded = scan_interval_coded; in SetScanParameters()
331 btm_cb.ble_ctr_cb.inq_var.scan_window_coded = scan_window_coded; in SetScanParameters()
[all …]