Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_inq.cc115 static void btm_initiate_inquiry(tBTM_INQUIRY_VAR_ST* p_inq);
409 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in BTM_SetPeriodicInquiryMode() local
422 if (p_inq->inq_active || p_inq->inqfilt_active) return (BTM_BUSY); in BTM_SetPeriodicInquiryMode()
445 p_inq->inqparms = *p_inqparms; in BTM_SetPeriodicInquiryMode()
446 p_inq->per_min_delay = min_delay; in BTM_SetPeriodicInquiryMode()
447 p_inq->per_max_delay = max_delay; in BTM_SetPeriodicInquiryMode()
448 p_inq->inq_cmpl_info.num_resp = 0; /* Clear the results counter */ in BTM_SetPeriodicInquiryMode()
449 p_inq->p_inq_results_cb = p_results_cb; in BTM_SetPeriodicInquiryMode()
451 p_inq->inq_active = (uint8_t)( in BTM_SetPeriodicInquiryMode()
463 p_inq->state = BTM_INQ_CLR_FILT_STATE; in BTM_SetPeriodicInquiryMode()
[all …]
Dbtm_ble_gap.cc409 tBTM_BLE_INQ_CB* p_inq = &btm_cb.ble_ctr_cb.inq_var; in BTM_BleObserve() local
413 !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in BTM_BleObserve()
415 !p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window; in BTM_BleObserve()
418 btm_cb.btm_inq_vars.scan_type, p_inq->scan_interval, in BTM_BleObserve()
419 p_inq->scan_window); in BTM_BleObserve()
437 p_inq->scan_type = (p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) in BTM_BleObserve()
439 : p_inq->scan_type; in BTM_BleObserve()
447 p_inq->scan_type, (uint16_t)scan_interval, (uint16_t)scan_window, in BTM_BleObserve()
450 p_inq->scan_duplicate_filter = BTM_BLE_DUPLICATE_DISABLE; in BTM_BleObserve()
1268 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_start_inquiry() local
[all …]
Dbtm_ble_bgconn.cc121 tBTM_BLE_INQ_CB* p_inq = &btm_cb.ble_ctr_cb.inq_var; in btm_update_scanner_filter_policy() local
124 !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in btm_update_scanner_filter_policy()
126 !p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window; in btm_update_scanner_filter_policy()
130 p_inq->sfp = scan_policy; in btm_update_scanner_filter_policy()
131 p_inq->scan_type = p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE in btm_update_scanner_filter_policy()
133 : p_inq->scan_type; in btm_update_scanner_filter_policy()
136 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.cc60 static void bta_dm_inq_results_cb(tBTM_INQ_RESULTS* p_inq, uint8_t* p_eir,
154 static void bta_dm_observe_results_cb(tBTM_INQ_RESULTS* p_inq, uint8_t* p_eir,
2067 static void bta_dm_inq_results_cb(tBTM_INQ_RESULTS* p_inq, uint8_t* p_eir, in bta_dm_inq_results_cb() argument
2073 result.inq_res.bd_addr = p_inq->remote_bd_addr; in bta_dm_inq_results_cb()
2074 memcpy(result.inq_res.dev_class, p_inq->dev_class, DEV_CLASS_LEN); in bta_dm_inq_results_cb()
2075 BTM_COD_SERVICE_CLASS(service_class, p_inq->dev_class); in bta_dm_inq_results_cb()
2078 result.inq_res.rssi = p_inq->rssi; in bta_dm_inq_results_cb()
2080 result.inq_res.ble_addr_type = p_inq->ble_addr_type; in bta_dm_inq_results_cb()
2081 result.inq_res.inq_result_type = p_inq->inq_result_type; in bta_dm_inq_results_cb()
2082 result.inq_res.device_type = p_inq->device_type; in bta_dm_inq_results_cb()
[all …]