Searched refs:p_inq (Results 1 – 4 of 4) sorted by relevance
/system/bt/stack/btm/ |
D | btm_inq.c | 136 static void btm_initiate_inquiry (tBTM_INQUIRY_VAR_ST *p_inq); 467 tBTM_INQUIRY_VAR_ST *p_inq = &btm_cb.btm_inq_vars; in BTM_SetPeriodicInquiryMode() local 479 if (p_inq->inq_active || p_inq->inqfilt_active) in BTM_SetPeriodicInquiryMode() 502 p_inq->inqparms = *p_inqparms; in BTM_SetPeriodicInquiryMode() 503 p_inq->per_min_delay = min_delay; in BTM_SetPeriodicInquiryMode() 504 p_inq->per_max_delay = max_delay; in BTM_SetPeriodicInquiryMode() 505 p_inq->inq_cmpl_info.num_resp = 0; /* Clear the results counter */ in BTM_SetPeriodicInquiryMode() 506 p_inq->p_inq_results_cb = p_results_cb; in BTM_SetPeriodicInquiryMode() 508 p_inq->inq_active = (UINT8)((p_inqparms->mode == BTM_LIMITED_INQUIRY) ? in BTM_SetPeriodicInquiryMode() 518 p_inq->state = BTM_INQ_CLR_FILT_STATE; in BTM_SetPeriodicInquiryMode() [all …]
|
D | btm_ble_bgconn.c | 119 tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var; in btm_update_scanner_filter_policy() local 121 UINT32 scan_interval = !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in btm_update_scanner_filter_policy() 122 UINT32 scan_window = !p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window; in btm_update_scanner_filter_policy() 126 p_inq->sfp = scan_policy; in btm_update_scanner_filter_policy() 127 …p_inq->scan_type = p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE ? BTM_BLE_SCAN_MODE_ACTI : p_inq->sc… in btm_update_scanner_filter_policy() 131 btsnd_hcic_ble_set_scan_params(p_inq->scan_type, (UINT16)scan_interval, in btm_update_scanner_filter_policy() 138 btm_ble_send_extended_scan_params(p_inq->scan_type, scan_interval, scan_window, in btm_update_scanner_filter_policy()
|
D | btm_ble_gap.c | 356 tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var; in BTM_BleObserve() local 359 UINT32 scan_interval = !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in BTM_BleObserve() 360 UINT32 scan_window = !p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window; in BTM_BleObserve() 363 p_inq->scan_interval, p_inq->scan_window); in BTM_BleObserve() 385 p_inq->scan_type = (p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) ? in BTM_BleObserve() 386 BTM_BLE_SCAN_MODE_ACTI: p_inq->scan_type; in BTM_BleObserve() 395 btsnd_hcic_ble_set_scan_params(p_inq->scan_type, (UINT16)scan_interval, in BTM_BleObserve() 402 btm_ble_send_extended_scan_params(p_inq->scan_type, scan_interval, scan_window, in BTM_BleObserve() 407 p_inq->scan_duplicate_filter = BTM_BLE_DUPLICATE_DISABLE; in BTM_BleObserve() 1969 tBTM_INQUIRY_VAR_ST *p_inq = &btm_cb.btm_inq_vars; in btm_ble_start_inquiry() local [all …]
|
/system/bt/bta/dm/ |
D | bta_dm_act.c | 52 static void bta_dm_inq_results_cb (tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir); 135 static void bta_dm_observe_results_cb(tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir); 2400 static void bta_dm_inq_results_cb (tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir) in bta_dm_inq_results_cb() argument 2407 bdcpy(result.inq_res.bd_addr, p_inq->remote_bd_addr); in bta_dm_inq_results_cb() 2408 memcpy(result.inq_res.dev_class, p_inq->dev_class, DEV_CLASS_LEN); in bta_dm_inq_results_cb() 2409 BTM_COD_SERVICE_CLASS(service_class, p_inq->dev_class); in bta_dm_inq_results_cb() 2411 result.inq_res.rssi = p_inq->rssi; in bta_dm_inq_results_cb() 2414 result.inq_res.ble_addr_type = p_inq->ble_addr_type; in bta_dm_inq_results_cb() 2415 result.inq_res.inq_result_type = p_inq->inq_result_type; in bta_dm_inq_results_cb() 2416 result.inq_res.device_type = p_inq->device_type; in bta_dm_inq_results_cb() [all …]
|