Home
last modified time | relevance | path

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

/system/bt/main/shim/
Dbtm_api.cc62 return (btm_cb.btm_inq_vars.inqparms.max_resps && in max_responses_reached()
63 btm_cb.btm_inq_vars.inq_cmpl_info.num_resp >= in max_responses_reached()
64 btm_cb.btm_inq_vars.inqparms.max_resps); in max_responses_reached()
68 return btm_cb.btm_inq_vars.inq_active & BTM_PERIODIC_INQUIRY_ACTIVE; in is_periodic_inquiry_active()
88 return btm_cb.btm_inq_vars.inqparms.mode & BTM_BLE_INQUIRY_MASK; in is_observing_or_active_scanning()
116 } else if (p_i->inq_count == btm_cb.btm_inq_vars.inq_counter && in btm_api_process_inquiry_result()
132 p_i->inq_count = btm_cb.btm_inq_vars.inq_counter; in btm_api_process_inquiry_result()
135 if (p_i->inq_count != btm_cb.btm_inq_vars.inq_counter) { in btm_api_process_inquiry_result()
137 btm_cb.btm_inq_vars.inq_cmpl_info.num_resp++; in btm_api_process_inquiry_result()
144 if (btm_cb.btm_inq_vars.p_inq_results_cb == nullptr) { in btm_api_process_inquiry_result()
[all …]
/system/bt/stack/btm/
Dbtm_inq.cc172 btm_cb.btm_inq_vars.discoverable_mode &= (~BTM_BLE_DISCOVERABLE_MASK); in BTM_SetDiscoverability()
173 btm_cb.btm_inq_vars.discoverable_mode |= in BTM_SetDiscoverability()
223 if ((window != btm_cb.btm_inq_vars.inq_scan_window) || in BTM_SetDiscoverability()
224 (interval != btm_cb.btm_inq_vars.inq_scan_period)) { in BTM_SetDiscoverability()
226 btm_cb.btm_inq_vars.inq_scan_window = window; in BTM_SetDiscoverability()
227 btm_cb.btm_inq_vars.inq_scan_period = interval; in BTM_SetDiscoverability()
230 if (btm_cb.btm_inq_vars.connectable_mode & BTM_CONNECTABLE_MASK) in BTM_SetDiscoverability()
234 btm_cb.btm_inq_vars.discoverable_mode &= (~BTM_DISCOVERABLE_MASK); in BTM_SetDiscoverability()
235 btm_cb.btm_inq_vars.discoverable_mode |= inq_mode; in BTM_SetDiscoverability()
284 if (scan_type != btm_cb.btm_inq_vars.inq_scan_type) { in BTM_SetInquiryScanType()
[all …]
Dbtm_devctl.cc185 btm_cb.btm_inq_vars.inq_counter = 1; in reset_complete()
186 btm_cb.btm_inq_vars.inq_scan_window = HCI_DEF_INQUIRYSCAN_WINDOW; in reset_complete()
187 btm_cb.btm_inq_vars.inq_scan_period = HCI_DEF_INQUIRYSCAN_INTERVAL; in reset_complete()
188 btm_cb.btm_inq_vars.inq_scan_type = HCI_DEF_SCAN_TYPE; in reset_complete()
190 btm_cb.btm_inq_vars.page_scan_window = HCI_DEF_PAGESCAN_WINDOW; in reset_complete()
191 btm_cb.btm_inq_vars.page_scan_period = HCI_DEF_PAGESCAN_INTERVAL; in reset_complete()
192 btm_cb.btm_inq_vars.page_scan_type = HCI_DEF_SCAN_TYPE; in reset_complete()
Dbtm_ble_gap.cc398 btm_cb.btm_inq_vars.scan_type, p_inq->scan_interval, in BTM_BleObserve()
1008 btm_ble_set_adv_flag(btm_cb.btm_inq_vars.connectable_mode, combined_mode); in btm_ble_set_discoverability()
1096 btm_ble_set_adv_flag(combined_mode, btm_cb.btm_inq_vars.discoverable_mode); in btm_ble_set_connectability()
1180 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_start_inquiry()
1183 mode, btm_cb.btm_inq_vars.inq_active); in btm_ble_start_inquiry()
1278 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_read_remote_name()
1316 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_cancel_remote_name()
1379 tBTM_INQ_PARMS* p_cond = &btm_cb.btm_inq_vars.inqparms; in btm_ble_is_discoverable()
1398 if ((btm_cb.btm_inq_vars.inq_active & BTM_BLE_GENERAL_INQUIRY) && in btm_ble_is_discoverable()
1404 else if (btm_cb.btm_inq_vars.inq_active & BTM_BLE_LIMITED_INQUIRY && in btm_ble_is_discoverable()
[all …]
Dbtm_int_types.h735 tBTM_INQUIRY_VAR_ST btm_inq_vars; member
Dbtm_pm.cc915 if ((btm_cb.btm_inq_vars.inq_active & in btm_pm_device_in_scan_state()
Dbtm_sec.cc2269 if (btm_cb.btm_inq_vars.discoverable_mode == BTM_NON_DISCOVERABLE) { in btm_sec_conn_req()