Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_inq.cc284 btm_cb.btm_inq_vars.discoverable_mode &= (~BTM_BLE_DISCOVERABLE_MASK); in BTM_SetDiscoverability()
285 btm_cb.btm_inq_vars.discoverable_mode |= in BTM_SetDiscoverability()
321 if ((window != btm_cb.btm_inq_vars.inq_scan_window) || in BTM_SetDiscoverability()
322 (interval != btm_cb.btm_inq_vars.inq_scan_period)) { in BTM_SetDiscoverability()
324 btm_cb.btm_inq_vars.inq_scan_window = window; in BTM_SetDiscoverability()
325 btm_cb.btm_inq_vars.inq_scan_period = interval; in BTM_SetDiscoverability()
328 if (btm_cb.btm_inq_vars.connectable_mode & BTM_CONNECTABLE_MASK) in BTM_SetDiscoverability()
333 btm_cb.btm_inq_vars.discoverable_mode &= (~BTM_DISCOVERABLE_MASK); in BTM_SetDiscoverability()
334 btm_cb.btm_inq_vars.discoverable_mode |= inq_mode; in BTM_SetDiscoverability()
364 btm_cb.btm_inq_vars.inq_scan_type == BTM_SCAN_TYPE_INTERLACED) { in BTM_EnableInterlacedInquiryScan()
[all …]
Dbtm_int_types.h139 tBTM_INQUIRY_VAR_ST btm_inq_vars; member
179 memset(&btm_inq_vars, 0, sizeof(btm_inq_vars)); in Init()
187 btm_inq_vars.Init(); /* Inquiry Database and Structures */ in Init()
203 btm_inq_vars.Free(); in Free()
Dbtm_ble_gap.cc1403 btm_ble_set_adv_flag(btm_cb.btm_inq_vars.connectable_mode, combined_mode); in btm_ble_set_discoverability()
1488 btm_ble_set_adv_flag(combined_mode, btm_cb.btm_inq_vars.discoverable_mode); in btm_ble_set_connectability()
1581 btm_cb.btm_inq_vars.inq_active); in btm_ble_start_inquiry()
1630 btm_cb.btm_inq_vars.inq_active |= BTM_BLE_GENERAL_INQUIRY; in btm_ble_start_inquiry()
1634 btm_cb.btm_inq_vars.inq_active); in btm_ble_start_inquiry()
1699 if (btm_cb.btm_inq_vars.remname_active) { in btm_ble_read_remote_name()
1702 remote_bda, btm_cb.btm_inq_vars.remname_bda); in btm_ble_read_remote_name()
1708 btm_cb.btm_inq_vars.p_remname_cmpl_cb = p_cb; in btm_ble_read_remote_name()
1709 btm_cb.btm_inq_vars.remname_active = true; in btm_ble_read_remote_name()
1710 btm_cb.btm_inq_vars.remname_bda = remote_bda; in btm_ble_read_remote_name()
[all …]
Dbtm_devctl.cc176 btm_cb.btm_inq_vars.inq_counter = 1; in BTM_reset_complete()
177 btm_cb.btm_inq_vars.inq_scan_window = HCI_DEF_INQUIRYSCAN_WINDOW; in BTM_reset_complete()
178 btm_cb.btm_inq_vars.inq_scan_period = HCI_DEF_INQUIRYSCAN_INTERVAL; in BTM_reset_complete()
179 btm_cb.btm_inq_vars.inq_scan_type = HCI_DEF_SCAN_TYPE; in BTM_reset_complete()
181 btm_cb.btm_inq_vars.page_scan_window = HCI_DEF_PAGESCAN_WINDOW; in BTM_reset_complete()
182 btm_cb.btm_inq_vars.page_scan_period = HCI_DEF_PAGESCAN_INTERVAL; in BTM_reset_complete()
183 btm_cb.btm_inq_vars.page_scan_type = HCI_DEF_SCAN_TYPE; in BTM_reset_complete()
/packages/modules/Bluetooth/system/stack/test/btm/
Dstack_btm_inq_test.cc61 btm_cb.btm_inq_vars.remname_active = true; in SetUp()
62 btm_cb.btm_inq_vars.remname_bda = kRawAddress; in SetUp()
63 btm_cb.btm_inq_vars.remname_dev_type = BT_DEVICE_TYPE_BREDR; in SetUp()
64 btm_cb.btm_inq_vars.p_remname_cmpl_cb = in SetUp()
76 ASSERT_FALSE(btm_cb.btm_inq_vars.p_remname_cmpl_cb); in TEST_F()
77 ASSERT_FALSE(btm_cb.btm_inq_vars.remname_active); in TEST_F()
78 ASSERT_EQ(btm_cb.btm_inq_vars.remname_bda, RawAddress::kEmpty); in TEST_F()
79 ASSERT_EQ(btm_cb.btm_inq_vars.remname_dev_type, BT_DEVICE_TYPE_UNKNOWN); in TEST_F()
91 ASSERT_FALSE(btm_cb.btm_inq_vars.p_remname_cmpl_cb); in TEST_F()
92 ASSERT_FALSE(btm_cb.btm_inq_vars.remname_active); in TEST_F()
[all …]
Dstack_btm_test.cc308 ASSERT_FALSE(btm_cb.btm_inq_vars.remname_active); in TEST_F()
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_pm.cc859 if ((btm_cb.btm_inq_vars.inq_active & in BTM_PM_DeviceInScanState()