Home
last modified time | relevance | path

Searched refs:p_inq (Results 1 – 4 of 4) sorted by relevance

/system/bt/stack/btm/
Dbtm_inq.cc356 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in BTM_SetConnectability() local
364 p_inq->connectable_mode &= (~BTM_BLE_CONNECTABLE_MASK); in BTM_SetConnectability()
365 p_inq->connectable_mode |= (page_mode & BTM_BLE_CONNECTABLE_MASK); in BTM_SetConnectability()
384 if ((window != p_inq->page_scan_window) || in BTM_SetConnectability()
385 (interval != p_inq->page_scan_period)) { in BTM_SetConnectability()
386 p_inq->page_scan_window = window; in BTM_SetConnectability()
387 p_inq->page_scan_period = interval; in BTM_SetConnectability()
392 if (p_inq->discoverable_mode & BTM_DISCOVERABLE_MASK) in BTM_SetConnectability()
396 p_inq->connectable_mode &= (~BTM_CONNECTABLE_MASK); in BTM_SetConnectability()
397 p_inq->connectable_mode |= page_mode; in BTM_SetConnectability()
[all …]
Dbtm_ble_gap.cc398 tBTM_BLE_INQ_CB* p_inq = &btm_cb.ble_ctr_cb.inq_var; in BTM_BleObserve() local
402 !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in BTM_BleObserve()
404 !p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window; in BTM_BleObserve()
406 BTM_TRACE_EVENT("%s : scan_type:%d, %d, %d", __func__, p_inq->scan_type, in BTM_BleObserve()
407 p_inq->scan_interval, p_inq->scan_window); in BTM_BleObserve()
426 p_inq->scan_type = (p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) in BTM_BleObserve()
428 : p_inq->scan_type; in BTM_BleObserve()
434 p_inq->scan_type, (uint16_t)scan_interval, (uint16_t)scan_window, in BTM_BleObserve()
1243 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_start_inquiry() local
1279 p_inq->inq_active |= BTM_BLE_GENERAL_INQUIRY; in btm_ble_start_inquiry()
[all …]
Dbtm_ble_bgconn.cc395 tBTM_BLE_INQ_CB* p_inq = &btm_cb.ble_ctr_cb.inq_var; in btm_update_scanner_filter_policy() local
398 !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in btm_update_scanner_filter_policy()
400 !p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window; in btm_update_scanner_filter_policy()
404 p_inq->sfp = scan_policy; in btm_update_scanner_filter_policy()
405 p_inq->scan_type = p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE in btm_update_scanner_filter_policy()
407 : p_inq->scan_type; in btm_update_scanner_filter_policy()
410 p_inq->scan_type, (uint16_t)scan_interval, (uint16_t)scan_window, in btm_update_scanner_filter_policy()
/system/bt/bta/dm/
Dbta_dm_act.cc64 static void bta_dm_inq_results_cb(tBTM_INQ_RESULTS* p_inq, uint8_t* p_eir,
192 static void bta_dm_observe_results_cb(tBTM_INQ_RESULTS* p_inq, uint8_t* p_eir,
1808 static void bta_dm_inq_results_cb(tBTM_INQ_RESULTS* p_inq, uint8_t* p_eir, in bta_dm_inq_results_cb() argument
1814 result.inq_res.bd_addr = p_inq->remote_bd_addr; in bta_dm_inq_results_cb()
1815 memcpy(result.inq_res.dev_class, p_inq->dev_class, DEV_CLASS_LEN); in bta_dm_inq_results_cb()
1816 BTM_COD_SERVICE_CLASS(service_class, p_inq->dev_class); in bta_dm_inq_results_cb()
1819 result.inq_res.rssi = p_inq->rssi; in bta_dm_inq_results_cb()
1821 result.inq_res.ble_addr_type = p_inq->ble_addr_type; in bta_dm_inq_results_cb()
1822 result.inq_res.inq_result_type = p_inq->inq_result_type; in bta_dm_inq_results_cb()
1823 result.inq_res.device_type = p_inq->device_type; in bta_dm_inq_results_cb()
[all …]