Home
last modified time | relevance | path

Searched refs:p_ble_cb (Results 1 – 3 of 3) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_privacy.cc519 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_suspend_resolving_list_activity() local
524 if (p_ble_cb->suspended_rl_state != BTM_BLE_RL_IDLE) return true; in btm_ble_suspend_resolving_list_activity()
526 p_ble_cb->suspended_rl_state = BTM_BLE_RL_IDLE; in btm_ble_suspend_resolving_list_activity()
528 if (p_ble_cb->inq_var.adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_suspend_resolving_list_activity()
530 p_ble_cb->suspended_rl_state |= BTM_BLE_RL_ADV; in btm_ble_suspend_resolving_list_activity()
540 if (p_ble_cb->is_ble_scan_active()) { in btm_ble_suspend_resolving_list_activity()
542 p_ble_cb->suspended_rl_state |= BTM_BLE_RL_SCAN; in btm_ble_suspend_resolving_list_activity()
546 p_ble_cb->suspended_rl_state |= BTM_BLE_RL_INIT; in btm_ble_suspend_resolving_list_activity()
563 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_resume_resolving_list_activity() local
565 if (p_ble_cb->suspended_rl_state & BTM_BLE_RL_ADV) { in btm_ble_resume_resolving_list_activity()
[all …]
Dbtm_ble_gap.cc1242 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_start_inquiry() local
1250 if (p_ble_cb->is_ble_inquiry_active()) { in btm_ble_start_inquiry()
1255 if (!p_ble_cb->is_ble_scan_active()) { in btm_ble_start_inquiry()
1263 p_ble_cb->inq_var.scan_type = BTM_BLE_SCAN_MODE_ACTI; in btm_ble_start_inquiry()
1265 } else if ((p_ble_cb->inq_var.scan_interval != in btm_ble_start_inquiry()
1267 (p_ble_cb->inq_var.scan_window != BTM_BLE_LOW_LATENCY_SCAN_WIN)) { in btm_ble_start_inquiry()
1280 p_ble_cb->set_ble_inquiry_active(); in btm_ble_start_inquiry()
1288 alarm_set_on_mloop(p_ble_cb->inq_var.inquiry_timer, duration_ms, in btm_ble_start_inquiry()
2129 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_stop_inquiry() local
2131 alarm_cancel(p_ble_cb->inq_var.inquiry_timer); in btm_ble_stop_inquiry()
[all …]
Dbtm_ble.cc2068 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_set_random_address() local
2073 if (p_ble_cb->is_ble_scan_active()) { in btm_ble_set_random_address()
2084 if (p_ble_cb->is_ble_scan_active()) { in btm_ble_set_random_address()