Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_ble_privacy.cc68 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_enq_resolving_list_pending()
90 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_brcm_find_resolving_pending_entry()
116 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_deq_resolving_pending()
146 btm_cb.ble_ctr_cb.irk_list_mask[byte] &= (~(1 << bit)); in btm_ble_clear_irk_index()
168 if ((btm_cb.ble_ctr_cb.irk_list_mask[byte] & (1 << bit)) == 0) { in btm_ble_find_irk_index()
169 btm_cb.ble_ctr_cb.irk_list_mask[byte] |= (1 << bit); in btm_ble_find_irk_index()
243 memset(btm_cb.ble_ctr_cb.irk_list_mask, 0, irk_mask_size); in btm_ble_clear_resolving_list_complete()
246 btm_cb.ble_ctr_cb.resolving_list_avail_size = in btm_ble_clear_resolving_list_complete()
250 btm_cb.ble_ctr_cb.resolving_list_avail_size); in btm_ble_clear_resolving_list_complete()
283 STREAM_TO_UINT8(btm_cb.ble_ctr_cb.resolving_list_avail_size, p); in btm_ble_add_resolving_list_entry_complete()
[all …]
Dbtm_ble_gap.cc389 tBTM_BLE_INQ_CB* p_inq = &btm_cb.ble_ctr_cb.inq_var; in BTM_BleObserve()
405 if (BTM_BLE_IS_OBS_ACTIVE(btm_cb.ble_ctr_cb.scan_activity)) { in BTM_BleObserve()
410 btm_cb.ble_ctr_cb.p_obs_results_cb = p_results_cb; in BTM_BleObserve()
411 btm_cb.ble_ctr_cb.p_obs_cmpl_cb = p_cmpl_cb; in BTM_BleObserve()
415 if (!BTM_BLE_IS_SCAN_ACTIVE(btm_cb.ble_ctr_cb.scan_activity)) { in BTM_BleObserve()
429 btm_cb.ble_ctr_cb.addr_mgnt_cb.own_addr_type, BTM_BLE_DEFAULT_SFP); in BTM_BleObserve()
436 btm_cb.ble_ctr_cb.scan_activity |= BTM_LE_OBSERVE_ACTIVE; in BTM_BleObserve()
440 alarm_set_on_mloop(btm_cb.ble_ctr_cb.observer_timer, duration_ms, in BTM_BleObserve()
444 } else if (BTM_BLE_IS_OBS_ACTIVE(btm_cb.ble_ctr_cb.scan_activity)) { in BTM_BleObserve()
593 tBTM_BLE_CB* p_cb = &btm_cb.ble_ctr_cb; in BTM_BleConfigPrivacy()
[all …]
Dbtm_ble_bgconn.cc129 tBTM_BLE_INQ_CB* p_inq = &btm_cb.ble_ctr_cb.inq_var; in btm_update_scanner_filter_policy()
145 btm_cb.ble_ctr_cb.addr_mgnt_cb.own_addr_type, scan_policy); in btm_update_scanner_filter_policy()
324 tBTM_BLE_CB* p_cb = &btm_cb.ble_ctr_cb; in BTM_SetLeConnectionModeToFast()
338 tBTM_BLE_CB* p_cb = &btm_cb.ble_ctr_cb; in BTM_SetLeConnectionModeToSlow()
350 tBTM_BLE_CB* p_cb = &btm_cb.ble_ctr_cb; in btm_ble_start_auto_conn()
383 if (btm_cb.ble_ctr_cb.rl_state != BTM_BLE_RL_IDLE && in btm_ble_start_auto_conn()
419 btm_cb.ble_ctr_cb.wl_state &= ~BTM_BLE_WL_INIT; in btm_ble_stop_auto_conn()
465 if (btm_cb.ble_ctr_cb.wl_state & BTM_BLE_WL_INIT) { in BTM_WhiteListAdd()
476 if (btm_cb.ble_ctr_cb.wl_state & BTM_BLE_WL_INIT) { in BTM_WhiteListRemove()
Dbtm_ble_addr.cc63 tBTM_LE_RANDOM_CB* p_cb = &btm_cb.ble_ctr_cb.addr_mgnt_cb; in btm_gen_resolve_paddr_low()
77 interval_ms = btm_cb.ble_ctr_cb.rpa_tout * 1000; in btm_gen_resolve_paddr_low()
380 if (btm_cb.ble_ctr_cb.privacy_mode != BTM_PRIVACY_NONE) { in btm_ble_refresh_local_resolvable_private_addr()
385 p->conn_addr = btm_cb.ble_ctr_cb.addr_mgnt_cb.private_addr; in btm_ble_refresh_local_resolvable_private_addr()
Dbtm_ble_connection_establishment.cc35 return btm_cb.ble_ctr_cb.conn_state; in btm_ble_get_conn_st()
40 btm_cb.ble_ctr_cb.conn_state = new_st; in btm_ble_set_conn_st()
214 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in btm_ble_conn_complete()
Dbtm_ble.cc1852 tBTM_BLE_CB* p_cb = &btm_cb.ble_ctr_cb; in btm_ble_connected()
2190 if (btm_cb.ble_ctr_cb.privacy_mode != BTM_PRIVACY_NONE) { in btm_ble_reset_id_impl()
2238 tBTM_LE_RANDOM_CB* p_cb = &btm_cb.ble_ctr_cb.addr_mgnt_cb; in btm_ble_set_random_address()
2239 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_set_random_address()
2240 bool adv_mode = btm_cb.ble_ctr_cb.inq_var.adv_mode; in btm_ble_set_random_address()
Dbtm_int_types.h720 tBTM_BLE_CB ble_ctr_cb; member
Dbtm_ble_batchscan.cc327 addr_type = btm_cb.ble_ctr_cb.addr_mgnt_cb.own_addr_type; in btm_ble_set_batchscan_param()
Dbtm_devctl.cc194 btm_cb.ble_ctr_cb.conn_state = BLE_CONN_IDLE; in reset_complete()
Dbtm_acl.cc227 bda, btm_cb.ble_ctr_cb.addr_mgnt_cb.private_addr); in btm_acl_created()
373 p->hci_handle, p->transport, btm_cb.ble_ctr_cb.inq_var.connectable_mode, in btm_acl_removed()
/system/bt/main/shim/
Dbtm_api.cc434 if (btm_cb.ble_ctr_cb.scan_activity & BTM_LE_OBSERVE_ACTIVE) { in BTM_BleObserve()
439 btm_cb.ble_ctr_cb.p_obs_results_cb = p_results_cb; in BTM_BleObserve()
440 btm_cb.ble_ctr_cb.p_obs_cmpl_cb = p_cmpl_cb; in BTM_BleObserve()
442 btm_cb.ble_ctr_cb.scan_activity |= BTM_LE_OBSERVE_ACTIVE; in BTM_BleObserve()
453 btm_cb.ble_ctr_cb.scan_activity &= ~BTM_LE_OBSERVE_ACTIVE; in BTM_BleObserve()
455 if (btm_cb.ble_ctr_cb.p_obs_cmpl_cb) { in BTM_BleObserve()
456 (btm_cb.ble_ctr_cb.p_obs_cmpl_cb)( in BTM_BleObserve()
459 btm_cb.ble_ctr_cb.p_obs_results_cb = nullptr; in BTM_BleObserve()
460 btm_cb.ble_ctr_cb.p_obs_cmpl_cb = nullptr; in BTM_BleObserve()
488 if (!(btm_cb.ble_ctr_cb.scan_activity & BTM_LE_OBSERVE_ACTIVE)) { in BTM_BleObserve()
[all …]