Searched refs:p_inq (Results 1 – 4 of 4) sorted by relevance
/external/bluetooth/bluedroid/stack/btm/ |
D | btm_inq.c | 145 static void btm_initiate_inquiry (tBTM_INQUIRY_VAR_ST *p_inq); 478 tBTM_INQUIRY_VAR_ST *p_inq = &btm_cb.btm_inq_vars; in BTM_SetPeriodicInquiryMode() local 490 if (p_inq->inq_active || p_inq->inqfilt_active) in BTM_SetPeriodicInquiryMode() 512 p_inq->inqparms = *p_inqparms; in BTM_SetPeriodicInquiryMode() 513 p_inq->per_min_delay = min_delay; in BTM_SetPeriodicInquiryMode() 514 p_inq->per_max_delay = max_delay; in BTM_SetPeriodicInquiryMode() 515 p_inq->inq_cmpl_info.num_resp = 0; /* Clear the results counter */ in BTM_SetPeriodicInquiryMode() 516 p_inq->p_inq_results_cb = p_results_cb; in BTM_SetPeriodicInquiryMode() 518 p_inq->inq_active = (UINT8)((p_inqparms->mode == BTM_LIMITED_INQUIRY) ? in BTM_SetPeriodicInquiryMode() 525 p_inq->state = BTM_INQ_ACTIVE_STATE; in BTM_SetPeriodicInquiryMode() [all …]
|
D | btm_ble_gap.c | 100 tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var; in BTM_BleObserve() local 107 if (p_inq->proc_mode != BTM_BLE_INQUIRY_NONE) in BTM_BleObserve() 114 …snd_hcic_ble_set_scan_params ((UINT8)((p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) ? BTM_BLE_SCAN_… in BTM_BleObserve() 115 … (UINT16)(!p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval), in BTM_BleObserve() 116 … (UINT16)(!p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window), in BTM_BleObserve() 124 p_inq->proc_mode = BTM_BLE_OBSERVE; in BTM_BleObserve() 130 btu_start_timer (&p_inq->inq_timer_ent, BTU_TTYPE_BLE_INQUIRY, duration); in BTM_BleObserve() 135 else if (p_inq->proc_mode == BTM_BLE_OBSERVE) in BTM_BleObserve() 1116 tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var; in btm_ble_start_inquiry() local 1120 if (p_inq->proc_mode != BTM_BLE_INQUIRY_NONE) in btm_ble_start_inquiry() [all …]
|
D | btm_ble_bgconn.c | 46 tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var; in btm_update_scanner_filter_policy() local 50 …snd_hcic_ble_set_scan_params ((UINT8)((p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) ? BTM_BLE_SCAN_… in btm_update_scanner_filter_policy() 51 … (UINT16)(!p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval), in btm_update_scanner_filter_policy() 52 … (UINT16)(!p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window), in btm_update_scanner_filter_policy()
|
/external/bluetooth/bluedroid/bta/dm/ |
D | bta_dm_act.c | 42 static void bta_dm_inq_results_cb (tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir); 2399 static void bta_dm_inq_results_cb (tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir) in bta_dm_inq_results_cb() argument 2406 bdcpy(result.inq_res.bd_addr, p_inq->remote_bd_addr); in bta_dm_inq_results_cb() 2407 memcpy(result.inq_res.dev_class, p_inq->dev_class, DEV_CLASS_LEN); in bta_dm_inq_results_cb() 2408 BTM_COD_SERVICE_CLASS(service_class, p_inq->dev_class); in bta_dm_inq_results_cb() 2410 result.inq_res.rssi = p_inq->rssi; in bta_dm_inq_results_cb() 2413 result.inq_res.ble_addr_type = p_inq->ble_addr_type; in bta_dm_inq_results_cb() 2414 result.inq_res.inq_result_type = p_inq->inq_result_type; in bta_dm_inq_results_cb() 2415 result.inq_res.device_type = p_inq->device_type; in bta_dm_inq_results_cb() 2422 if((p_inq_info = BTM_InqDbRead(p_inq->remote_bd_addr)) != NULL) in bta_dm_inq_results_cb()
|