Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_gap.cc487 btm_cb.ble_ctr_cb.p_opportunistic_obs_results_cb = p_results_cb; in BTM_BleOpportunisticObserve()
489 btm_cb.ble_ctr_cb.p_opportunistic_obs_results_cb = NULL; in BTM_BleOpportunisticObserve()
496 btm_cb.ble_ctr_cb.p_target_announcement_obs_results_cb = p_results_cb; in BTM_BleTargetAnnouncementObserve()
498 btm_cb.ble_ctr_cb.p_target_announcement_obs_results_cb = NULL; in BTM_BleTargetAnnouncementObserve()
534 uint16_t scan_interval = !btm_cb.ble_ctr_cb.inq_var.scan_interval in BTM_BleObserve()
536 : btm_cb.ble_ctr_cb.inq_var.scan_interval; in BTM_BleObserve()
537 uint16_t scan_window = !btm_cb.ble_ctr_cb.inq_var.scan_window in BTM_BleObserve()
539 : btm_cb.ble_ctr_cb.inq_var.scan_window; in BTM_BleObserve()
541 uint8_t scan_phy = !btm_cb.ble_ctr_cb.inq_var.scan_phy in BTM_BleObserve()
543 : btm_cb.ble_ctr_cb.inq_var.scan_phy; in BTM_BleObserve()
[all …]
Dbtm_ble_bgconn.cc78 uint32_t scan_interval = !btm_cb.ble_ctr_cb.inq_var.scan_interval in btm_update_scanner_filter_policy()
80 : btm_cb.ble_ctr_cb.inq_var.scan_interval; in btm_update_scanner_filter_policy()
81 uint32_t scan_window = !btm_cb.ble_ctr_cb.inq_var.scan_window in btm_update_scanner_filter_policy()
83 : btm_cb.ble_ctr_cb.inq_var.scan_window; in btm_update_scanner_filter_policy()
84 uint8_t scan_phy = !btm_cb.ble_ctr_cb.inq_var.scan_phy in btm_update_scanner_filter_policy()
86 : btm_cb.ble_ctr_cb.inq_var.scan_phy; in btm_update_scanner_filter_policy()
90 btm_cb.ble_ctr_cb.inq_var.sfp = scan_policy; in btm_update_scanner_filter_policy()
91 btm_cb.ble_ctr_cb.inq_var.scan_type = in btm_update_scanner_filter_policy()
92 btm_cb.ble_ctr_cb.inq_var.scan_type == BTM_BLE_SCAN_MODE_NONE in btm_update_scanner_filter_policy()
94 : btm_cb.ble_ctr_cb.inq_var.scan_type; in btm_update_scanner_filter_policy()
[all …]
Dbtm_ble_privacy.cc82 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_enq_resolving_list_pending()
104 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_brcm_find_resolving_pending_entry()
130 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_deq_resolving_pending()
160 btm_cb.ble_ctr_cb.irk_list_mask[byte] &= (~(1 << bit)); in btm_ble_clear_irk_index()
182 if ((btm_cb.ble_ctr_cb.irk_list_mask[byte] & (1 << bit)) == 0) { in btm_ble_find_irk_index()
183 btm_cb.ble_ctr_cb.irk_list_mask[byte] |= (1 << bit); in btm_ble_find_irk_index()
264 memset(btm_cb.ble_ctr_cb.irk_list_mask, 0, irk_mask_size); in btm_ble_clear_resolving_list_complete()
267 btm_cb.ble_ctr_cb.resolving_list_avail_size = in btm_ble_clear_resolving_list_complete()
271 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.h128 tBTM_BLE_CB ble_ctr_cb; member
177 memset(&ble_ctr_cb, 0, sizeof(ble_ctr_cb)); in Init()
Dbtm_devctl.cc185 btm_cb.ble_ctr_cb.set_connection_state_idle(); in BTM_reset_complete()
Dbtm_dev.cc736 btm_cb.ble_ctr_cb.privacy_mode < BTM_PRIVACY_1_2) { in BTM_Sec_GetAddressWithType()
Dbtm_ble_sec.cc1545 btm_cb.ble_ctr_cb.inq_var.directed_conn = BTM_BLE_ADV_IND_EVT; in btm_ble_connected()
1890 if (btm_cb.ble_ctr_cb.privacy_mode != BTM_PRIVACY_NONE) { in btm_ble_reset_id_impl()
/packages/modules/Bluetooth/system/stack/acl/
Dble_acl.cc47 btm_cb.ble_ctr_cb.set_connection_state_idle(); in acl_ble_common_connection()
143 btm_cb.ble_ctr_cb.set_connection_state_idle(); in acl_ble_connection_fail()
157 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in acl_ble_connection_fail()
Dbtm_pm.cc840 if (!btm_cb.ble_ctr_cb.is_connection_state_idle()) { in btm_pm_device_in_active_or_sniff_mode()
916 return btm_cb.ble_ctr_cb.link_count[HCI_ROLE_CENTRAL] + in BTM_PM_ReadBleLinkCount()
917 btm_cb.ble_ctr_cb.link_count[HCI_ROLE_PERIPHERAL]; in BTM_PM_ReadBleLinkCount()
931 if (!btm_cb.ble_ctr_cb.is_ble_scan_active()) { in BTM_PM_ReadBleScanDutyCycle()
934 uint32_t scan_window = btm_cb.ble_ctr_cb.inq_var.scan_window; in BTM_PM_ReadBleScanDutyCycle()
935 uint32_t scan_interval = btm_cb.ble_ctr_cb.inq_var.scan_interval; in BTM_PM_ReadBleScanDutyCycle()
/packages/modules/Bluetooth/system/main/shim/
Dle_scanning_manager.cc181 if (start && !btm_cb.ble_ctr_cb.is_ble_observe_active()) { in Scan()
187 btm_cb.ble_ctr_cb.set_ble_observe_active(); in Scan()
188 } else if (!start && btm_cb.ble_ctr_cb.is_ble_observe_active()) { in Scan()
197 btm_cb.ble_ctr_cb.reset_ble_observe(); in Scan()
201 btm_cb.ble_ctr_cb.is_ble_observe_active()); in Scan()
362 btm_cb.ble_ctr_cb.inq_var.scan_type = BTM_BLE_SCAN_MODE_ACTI; in SetScanParameters()
363 btm_cb.ble_ctr_cb.inq_var.scan_interval = scan_interval; in SetScanParameters()
364 btm_cb.ble_ctr_cb.inq_var.scan_window = scan_window; in SetScanParameters()
365 btm_cb.ble_ctr_cb.inq_var.scan_phy = scan_phy; in SetScanParameters()