Home
last modified time | relevance | path

Searched refs:scan_type (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_bgconn.cc109 p_inq->scan_type = p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE in btm_update_scanner_filter_policy()
111 : p_inq->scan_type; in btm_update_scanner_filter_policy()
114 p_inq->scan_type, (uint16_t)scan_interval, (uint16_t)scan_window, in btm_update_scanner_filter_policy()
Dbtm_ble_gap.cc513 BTM_TRACE_EVENT("%s : scan_type:%d, %d, %d", __func__, p_inq->scan_type, in BTM_BleObserve()
539 p_inq->scan_type = (p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) in BTM_BleObserve()
541 : p_inq->scan_type; in BTM_BleObserve()
543 p_inq->scan_type, (uint16_t)scan_interval, (uint16_t)scan_window, in BTM_BleObserve()
1613 p_cb->scan_type = scan_mode; in BTM_BleSetScanParams()
1935 void btm_send_hci_set_scan_params(uint8_t scan_type, uint16_t scan_int, in btm_send_hci_set_scan_params() argument
1941 phy_cfg.scan_type = scan_type; in btm_send_hci_set_scan_params()
1948 btsnd_hcic_ble_set_scan_params(scan_type, scan_int, scan_win, addr_type_own, in btm_send_hci_set_scan_params()
2022 p_ble_cb->inq_var.scan_type = BTM_BLE_SCAN_MODE_ACTI; in btm_ble_start_inquiry()
2376 if (btm_cb.ble_ctr_cb.inq_var.scan_type == BTM_BLE_SCAN_MODE_ACTI && in btm_ble_update_inq_result()
[all …]
Dbtm_ble_int.h42 extern void btm_send_hci_set_scan_params(uint8_t scan_type, uint16_t scan_int,
Dbtm_ble_int_types.h112 uint8_t scan_type; /* current scan type: active or passive */ member
/packages/modules/Bluetooth/system/blueberry/tests/gd/hci/
Dle_scanning_manager_test.py148 …scanner_id=0x01, scan_type=le_scanning_facade.LeScanType.ACTIVE, scan_interval=0x10, scan_window=0…
158 …scanner_id=0x01, scan_type=le_scanning_facade.LeScanType.ACTIVE, scan_interval=0x00, scan_window=0…
184 …scanner_id=0x01, scan_type=le_scanning_facade.LeScanType.ACTIVE, scan_interval=0x10, scan_window=0…
213 …scanner_id=0x01, scan_type=le_scanning_facade.LeScanType.PASSIVE, scan_interval=0x10, scan_window=…
/packages/modules/Bluetooth/system/gd/neighbor/
Dpage.cc149 void neighbor::PageModule::impl::SetScanType(hci::PageScanType scan_type) { in SetScanType() argument
151 …hci::WritePageScanTypeBuilder::Create(scan_type), handler_->BindOnceOn(this, &impl::OnCommandCompl… in SetScanType()
155 LOG_INFO("Set page scan type:%s", hci::PageScanTypeText(scan_type).c_str()); in SetScanType()
Dinquiry.cc52 void SetScanType(hci::InquiryScanType scan_type);
376 void neighbor::InquiryModule::impl::SetScanType(hci::InquiryScanType scan_type) { in SetScanType() argument
377 EnqueueCommandComplete(hci::WriteInquiryScanTypeBuilder::Create(scan_type)); in SetScanType()
378 LOG_INFO("Set scan type:%s", hci::InquiryScanTypeText(scan_type).c_str()); in SetScanType()
/packages/modules/Bluetooth/system/gd/hci/facade/
Dle_scanning_manager_facade.cc79 auto scan_type = static_cast<hci::LeScanType>(request->scan_type()); in SetScanParameters() local
81 request->scanner_id(), scan_type, request->scan_interval(), request->scan_window()); in SetScanParameters()
/packages/modules/Bluetooth/tools/rootcanal/test/controller/le/
Dle_set_extended_scan_parameters_test.cc36 static PhyScanParameters MakePhyScanParameters(LeScanType scan_type, in MakePhyScanParameters() argument
40 parameters.le_scan_type_ = scan_type; in MakePhyScanParameters()
Dle_set_extended_scan_enable_test.cc36 static PhyScanParameters MakePhyScanParameters(LeScanType scan_type, in MakePhyScanParameters() argument
40 parameters.le_scan_type_ = scan_type; in MakePhyScanParameters()
/packages/modules/Bluetooth/system/blueberry/facade/hci/
Dle_scanning_manager_facade.proto55 LeScanType scan_type = 2; field
/packages/modules/Bluetooth/system/gd/hci/
Dle_scanning_manager.h55 ScannerId scanner_id, LeScanType scan_type, uint16_t scan_interval, uint16_t scan_window);
Dle_scanning_manager.cc680 …void set_scan_parameters(ScannerId scanner_id, LeScanType scan_type, uint16_t scan_interval, uint1… in set_scan_parameters()
688 if (scan_type != LeScanType::ACTIVE && scan_type != LeScanType::PASSIVE) { in set_scan_parameters()
706 le_scan_type_ = scan_type; in set_scan_parameters()
1684 ScannerId scanner_id, LeScanType scan_type, uint16_t scan_interval, uint16_t scan_window) { in SetScanParameters() argument
1685 …CallOn(pimpl_.get(), &impl::set_scan_parameters, scanner_id, scan_type, scan_interval, scan_window… in SetScanParameters()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_hcic_hciblecmds.h758 std::function<void(uint8_t scan_type, uint16_t scan_int, uint16_t scan_win,
760 body{[](uint8_t scan_type, uint16_t scan_int, uint16_t scan_win,
762 void operator()(uint8_t scan_type, uint16_t scan_int, uint16_t scan_win, in operator()
764 body(scan_type, scan_int, scan_win, addr_type_own, scan_filter_policy); in operator()
Dmock_stack_btm_ble_gap.cc229 void btm_send_hci_set_scan_params(uint8_t scan_type, uint16_t scan_int, in btm_send_hci_set_scan_params() argument
Dmock_stack_hcic_hciblecmds.cc437 void btsnd_hcic_ble_set_scan_params(uint8_t scan_type, uint16_t scan_int, in btsnd_hcic_ble_set_scan_params() argument
442 scan_type, scan_int, scan_win, addr_type_own, scan_filter_policy); in btsnd_hcic_ble_set_scan_params()
/packages/modules/Bluetooth/system/stack/include/
Dhcimsgs.h389 extern void btsnd_hcic_ble_set_scan_params(uint8_t scan_type, uint16_t scan_int,
467 uint8_t scan_type; member
Dbtm_ble_api.h86 tBLE_SCAN_MODE scan_type,
/packages/modules/Bluetooth/system/main/shim/
Dle_scanning_manager.cc256 p_cb->scan_type = BTM_BLE_SCAN_MODE_ACTI; in SetScanParameters()
262 auto scan_type = static_cast<bluetooth::hci::LeScanType>(0x01); in SetScanParameters() local
263 bluetooth::shim::GetScanning()->SetScanParameters(scanner_id, scan_type, in SetScanParameters()
Dbtm_api.h1694 tBLE_SCAN_MODE scan_type,
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth_gatt.rs187 scan_type: ScanType, field
/packages/modules/Bluetooth/system/stack/hcic/
Dhciblecmds.cc240 void btsnd_hcic_ble_set_scan_params(uint8_t scan_type, uint16_t scan_int, in btsnd_hcic_ble_set_scan_params() argument
252 UINT8_TO_STREAM(pp, scan_type); in btsnd_hcic_ble_set_scan_params()
732 UINT8_TO_STREAM(pp, phy_cfg[i].scan_type); in btsnd_hcic_ble_set_extended_scan_params()
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dlink_layer_controller.h488 bluetooth::hci::LeScanType scan_type, uint16_t scan_interval,
943 bluetooth::hci::LeScanType scan_type; member
Dlink_layer_controller.cc572 bluetooth::hci::LeScanType scan_type, uint16_t scan_interval, in LeSetScanParameters() argument
614 scanner_.le_1m_phy.scan_type = scan_type; in LeSetScanParameters()
755 .scan_type = scanning_phy_parameters[offset].le_scan_type_, in LeSetExtendedScanParameters()
765 .scan_type = scanning_phy_parameters[offset].le_scan_type_, in LeSetExtendedScanParameters()
2876 scanner_.le_1m_phy.scan_type == bluetooth::hci::LeScanType::ACTIVE) || in ScanIncomingLeLegacyAdvertisingPdu()
2878 scanner_.le_coded_phy.scan_type == bluetooth::hci::LeScanType::ACTIVE); in ScanIncomingLeLegacyAdvertisingPdu()
3291 scanner_.le_1m_phy.scan_type == bluetooth::hci::LeScanType::ACTIVE) || in ScanIncomingLeExtendedAdvertisingPdu()
3293 scanner_.le_coded_phy.scan_type == bluetooth::hci::LeScanType::ACTIVE); in ScanIncomingLeExtendedAdvertisingPdu()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs473 pub scan_type: ScanType, field

12