Home
last modified time | relevance | path

Searched refs:btm_inq_vars (Results 1 – 6 of 6) sorted by relevance

/external/bluetooth/bluedroid/stack/btm/
Dbtm_inq.c193 btm_cb.btm_inq_vars.discoverable_mode &= (~BTM_BLE_DISCOVERABLE_MASK); in BTM_SetDiscoverability()
194 btm_cb.btm_inq_vars.discoverable_mode |= (inq_mode & BTM_BLE_CONNECTABLE_MASK); in BTM_SetDiscoverability()
255 if ((window != btm_cb.btm_inq_vars.inq_scan_window) || in BTM_SetDiscoverability()
256 (interval != btm_cb.btm_inq_vars.inq_scan_period)) in BTM_SetDiscoverability()
260 btm_cb.btm_inq_vars.inq_scan_window = window; in BTM_SetDiscoverability()
261 btm_cb.btm_inq_vars.inq_scan_period = interval; in BTM_SetDiscoverability()
267 if (btm_cb.btm_inq_vars.connectable_mode & BTM_CONNECTABLE_MASK) in BTM_SetDiscoverability()
272 btm_cb.btm_inq_vars.discoverable_mode &= (~BTM_DISCOVERABLE_MASK); in BTM_SetDiscoverability()
273 btm_cb.btm_inq_vars.discoverable_mode |= inq_mode; in BTM_SetDiscoverability()
323 if (scan_type != btm_cb.btm_inq_vars.inq_scan_type) in BTM_SetInquiryScanType()
[all …]
Dbtm_ble_gap.c156 BTM_TRACE_EVENT1 ("BTM_BleObserve : scan_type:%d",btm_cb.btm_inq_vars.scan_type); in BTM_BleObserve()
164 if (btm_cb.btm_inq_vars.inq_active || p_inq->proc_mode != BTM_BLE_INQUIRY_NONE) in BTM_BleObserve()
167 if(btm_cb.btm_inq_vars.scan_type == INQ_GENERAL in BTM_BleObserve()
168 && btm_cb.btm_inq_vars.p_inq_results_cb != NULL) in BTM_BleObserve()
171 btm_cb.btm_inq_vars.p_inq_ble_results_cb = p_results_cb; in BTM_BleObserve()
172 btm_cb.btm_inq_vars.p_inq_ble_cmpl_cb = p_cmpl_cb; in BTM_BleObserve()
178 btm_cb.btm_inq_vars.scan_type = INQ_LE_OBSERVE; in BTM_BleObserve()
179 btm_cb.btm_inq_vars.p_inq_ble_results_cb = p_results_cb; in BTM_BleObserve()
180 btm_cb.btm_inq_vars.p_inq_ble_cmpl_cb = p_cmpl_cb; in BTM_BleObserve()
195 btm_cb.btm_inq_vars.inq_active |= BTM_LE_OBSERVE_ACTIVE; in BTM_BleObserve()
[all …]
Dbtm_devctl.c630 btm_cb.btm_inq_vars.inq_counter = 1; in btm_reset_complete()
631 btm_cb.btm_inq_vars.inq_scan_window = HCI_DEF_INQUIRYSCAN_WINDOW; in btm_reset_complete()
632 btm_cb.btm_inq_vars.inq_scan_period = HCI_DEF_INQUIRYSCAN_INTERVAL; in btm_reset_complete()
633 btm_cb.btm_inq_vars.inq_scan_type = HCI_DEF_SCAN_TYPE; in btm_reset_complete()
635 btm_cb.btm_inq_vars.page_scan_window = HCI_DEF_PAGESCAN_WINDOW; in btm_reset_complete()
636 btm_cb.btm_inq_vars.page_scan_period = HCI_DEF_PAGESCAN_INTERVAL; in btm_reset_complete()
637 btm_cb.btm_inq_vars.page_scan_type = HCI_DEF_SCAN_TYPE; in btm_reset_complete()
Dbtm_ble_bgconn.c443 if (btm_cb.btm_inq_vars.inq_active == BTM_INQUIRY_INACTIVE) in btm_ble_start_select_conn()
472 btm_cb.btm_inq_vars.inq_active |= BTM_LE_SELECT_CONN_ACTIVE; in btm_ble_start_select_conn()
485 btm_cb.btm_inq_vars.inq_active &= ~BTM_LE_SELECT_CONN_ACTIVE; in btm_ble_start_select_conn()
Dbtm_int.h832 tBTM_INQUIRY_VAR_ST btm_inq_vars; member
Dbtm_sec.c2500 if (btm_cb.btm_inq_vars.discoverable_mode == BTM_NON_DISCOVERABLE) in btm_sec_conn_req()