Home
last modified time | relevance | path

Searched refs:scan_mode (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Bluetooth/system/stack/btm/
Dpower_mode.h199 uint32_t scan_mode; in set_le_scan_mode_to_ctrl_state() local
201 scan_mode = BTM_CONTRL_LE_SCAN_MODE_IDLE; in set_le_scan_mode_to_ctrl_state()
203 scan_mode = BTM_CONTRL_LE_SCAN_MODE_ULTRA_LOW_POWER; in set_le_scan_mode_to_ctrl_state()
205 scan_mode = BTM_CONTRL_LE_SCAN_MODE_LOW_POWER; in set_le_scan_mode_to_ctrl_state()
207 scan_mode = BTM_CONTRL_LE_SCAN_MODE_BALANCED; in set_le_scan_mode_to_ctrl_state()
209 scan_mode = BTM_CONTRL_LE_SCAN_MODE_LOW_LATENCY; in set_le_scan_mode_to_ctrl_state()
211 ctrl_state |= ((scan_mode & BTM_CONTRL_LE_SCAN_MODE_MASK) in set_le_scan_mode_to_ctrl_state()
Dbtm_inq.cc95 void btm_log_history_scan_mode(uint8_t scan_mode) { in btm_log_history_scan_mode() argument
97 if (scan_mode_cached_ == scan_mode) return; in btm_log_history_scan_mode()
102 (scan_mode & HCI_INQUIRY_SCAN_ENABLED) ? 'T' : 'F', in btm_log_history_scan_mode()
103 (scan_mode & HCI_PAGE_SCAN_ENABLED) ? 'T' : 'F')); in btm_log_history_scan_mode()
104 scan_mode_cached_ = scan_mode; in btm_log_history_scan_mode()
273 uint8_t scan_mode = 0; in BTM_SetDiscoverability() local
312 scan_mode |= HCI_INQUIRY_SCAN_ENABLED; in BTM_SetDiscoverability()
329 scan_mode |= HCI_PAGE_SCAN_ENABLED; in BTM_SetDiscoverability()
331 btm_log_history_scan_mode(scan_mode); in BTM_SetDiscoverability()
332 btsnd_hcic_write_scan_enable(scan_mode); in BTM_SetDiscoverability()
[all …]
/packages/modules/Bluetooth/system/gd/hci/
Dle_scanning_manager.cc176 BatchScanMode scan_mode; member
1172 BatchScanMode scan_mode, in batch_scan_enable()
1190 batch_scan_config_.scan_mode = scan_mode; in batch_scan_enable()
1196scan_mode, duty_cycle_scan_window_slots, duty_cycle_scan_interval_slots, batch_scan_discard_rule); in batch_scan_enable()
1213 BatchScanMode scan_mode, in batch_scan_set_scan_parameter()
1228 if (scan_mode == BatchScanMode::TRUNCATED || scan_mode == BatchScanMode::TRUNCATED_AND_FULL) { in batch_scan_set_scan_parameter()
1231 if (scan_mode == BatchScanMode::FULL || scan_mode == BatchScanMode::TRUNCATED_AND_FULL) { in batch_scan_set_scan_parameter()
1235 if (scan_mode == BatchScanMode::DISABLE) { in batch_scan_set_scan_parameter()
1258 …h_scan_read_results(ScannerId scanner_id, uint16_t total_num_of_records, BatchScanMode scan_mode) { in batch_scan_read_results()
1266 if (scan_mode != BatchScanMode::FULL && scan_mode != BatchScanMode::TRUNCATED) { in batch_scan_read_results()
[all …]
Dle_scanning_manager.h79 BatchScanMode scan_mode,
84 virtual void BatchScanReadReport(ScannerId scanner_id, BatchScanMode scan_mode);
/packages/modules/Bluetooth/system/gd/rust/topshim/gatt/
Dgatt_ble_scanner_shim.h138 …int32_t scan_mode, uint16_t scan_interval, uint16_t scan_window, int32_t addr_type, int32_t discar…
146 void BatchscanReadReports(uint8_t scanner_id, int32_t scan_mode);
Dgatt_ble_scanner_shim.cc309 …int32_t scan_mode, uint16_t scan_interval, uint16_t scan_window, int32_t addr_type, int32_t discar… in BatchscanEnable() argument
311 scan_mode, in BatchscanEnable()
323 void BleScannerIntf::BatchscanReadReports(uint8_t scanner_id, int32_t scan_mode) { in BatchscanReadReports() argument
324 scanner_intf_->BatchscanReadReports(scanner_id, scan_mode); in BatchscanReadReports()
/packages/modules/Bluetooth/system/include/hardware/
Dble_scanner.h201 virtual void BatchscanEnable(int scan_mode, int scan_interval,
209 virtual void BatchscanReadReports(int client_if, int scan_mode) = 0;
/packages/modules/Bluetooth/system/gd/discovery/device/
Deir_test_data_packets.h29 uint8_t scan_mode; member
/packages/modules/Bluetooth/system/main/shim/
Dble_scanner_interface_impl.h87 void BatchscanEnable(int scan_mode, int scan_interval, int scan_window,
90 void BatchscanReadReports(int client_if, int scan_mode) override;
Dle_scanning_manager.cc385 void BleScannerInterfaceImpl::BatchscanEnable(int scan_mode, int scan_interval, in BatchscanEnable() argument
390 auto batch_scan_mode = static_cast<bluetooth::hci::BatchScanMode>(scan_mode); in BatchscanEnable()
407 int scan_mode) { in BatchscanReadReports() argument
409 auto batch_scan_mode = static_cast<bluetooth::hci::BatchScanMode>(scan_mode); in BatchscanReadReports()
/packages/modules/Bluetooth/system/btcore/src/
Dproperty.cc115 bt_property_t* property_new_scan_mode(bt_scan_mode_t scan_mode) { in property_new_scan_mode() argument
116 return property_new_((void*)&scan_mode, sizeof(bt_scan_mode_t), in property_new_scan_mode()
/packages/modules/Bluetooth/system/btcore/include/
Dproperty.h52 bt_property_t* property_new_scan_mode(bt_scan_mode_t scan_mode);
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dadapter_service.rs244 let scan_mode = if req.enable_inquiry_scan { in set_discovery_mode() localVariable
255 .set_adapter_property(btif::BluetoothProperty::AdapterScanMode(scan_mode)); in set_discovery_mode()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dgatt.rs190 scan_mode: i32, in BatchscanEnable()
197 fn BatchscanReadReports(self: Pin<&mut BleScannerIntf>, scanner_id: u8, scan_mode: i32); in BatchscanReadReports()
1573 scan_mode: i32, in batchscan_enable()
1582 scan_mode, in batchscan_enable()
1594 pub fn batchscan_read_reports(&mut self, scanner_id: u8, scan_mode: i32) { in batchscan_read_reports()
1595 mutcxxcall!(self, BatchscanReadReports, scanner_id, scan_mode); in batchscan_read_reports()
/packages/modules/Bluetooth/system/stack/include/
Dbtm_ble_api_types.h392 tBTM_BLE_BATCH_SCAN_MODE scan_mode; member
/packages/modules/Bluetooth/system/btcore/test/
Dproperty_test.cc123 TEST_F(PropertyTest, scan_mode) { in TEST_F() argument
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs2267 let scan_mode = match mode { in set_discoverable() localVariable
2277 || intf.set_adapter_property(BluetoothProperty::AdapterScanMode(scan_mode)) != 0 in set_discoverable()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_gatt.cpp1896 jint scan_mode, in gattClientStartBatchScanNative() argument
1901 sScanner->BatchscanEnable(scan_mode, scan_interval_unit, scan_window_unit, in gattClientStartBatchScanNative()