Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_batchscan.cc270 void btm_ble_read_batchscan_reports(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in btm_ble_read_batchscan_reports() argument
278 UINT8_TO_STREAM(pp, scan_mode); in btm_ble_read_batchscan_reports()
360 void btm_ble_set_batchscan_param(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in btm_ble_set_batchscan_param() argument
375 UINT8_TO_STREAM(p, scan_mode); in btm_ble_set_batchscan_param()
454 void BTM_BleEnableBatchScan(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in BTM_BleEnableBatchScan() argument
459 BTM_TRACE_EVENT("%s: %d, %d, %d, %d, %d, %d", __func__, scan_mode, in BTM_BleEnableBatchScan()
467 BTM_TRACE_DEBUG("%s: %d, %x, %x, %d, %d", __func__, scan_mode, scan_interval, in BTM_BleEnableBatchScan()
477 (BTM_BLE_BATCH_SCAN_MODE_PASS == scan_mode || in BTM_BleEnableBatchScan()
478 BTM_BLE_BATCH_SCAN_MODE_ACTI == scan_mode || in BTM_BleEnableBatchScan()
479 BTM_BLE_BATCH_SCAN_MODE_PASS_ACTI == scan_mode) && in BTM_BleEnableBatchScan()
[all …]
Dbtm_inq.cc185 uint8_t scan_mode = 0; in BTM_SetDiscoverability() local
228 scan_mode |= HCI_INQUIRY_SCAN_ENABLED; in BTM_SetDiscoverability()
240 scan_mode |= HCI_PAGE_SCAN_ENABLED; in BTM_SetDiscoverability()
242 btsnd_hcic_write_scan_enable(scan_mode); in BTM_SetDiscoverability()
356 uint8_t scan_mode = 0; in BTM_SetConnectability() local
384 scan_mode |= HCI_PAGE_SCAN_ENABLED; in BTM_SetConnectability()
396 scan_mode |= HCI_INQUIRY_SCAN_ENABLED; in BTM_SetConnectability()
398 btsnd_hcic_write_scan_enable(scan_mode); in BTM_SetConnectability()
/packages/modules/Bluetooth/system/gd/hci/
Dle_scanning_manager.cc218 BatchScanMode scan_mode; member
1088 BatchScanMode scan_mode, in batch_scan_enable()
1106 batch_scan_config_.scan_mode = scan_mode; in batch_scan_enable()
1112scan_mode, duty_cycle_scan_window_slots, duty_cycle_scan_interval_slots, batch_scan_discard_rule); in batch_scan_enable()
1129 BatchScanMode scan_mode, in batch_scan_set_scan_parameter()
1144 if (scan_mode == BatchScanMode::TRUNCATED || scan_mode == BatchScanMode::TRUNCATED_AND_FULL) { in batch_scan_set_scan_parameter()
1147 if (scan_mode == BatchScanMode::FULL || scan_mode == BatchScanMode::TRUNCATED_AND_FULL) { in batch_scan_set_scan_parameter()
1151 if (scan_mode == BatchScanMode::DISABLE) { in batch_scan_set_scan_parameter()
1174 …h_scan_read_results(ScannerId scanner_id, uint16_t total_num_of_records, BatchScanMode scan_mode) { in batch_scan_read_results()
1182 if (scan_mode != BatchScanMode::FULL && scan_mode != BatchScanMode::TRUNCATED) { in batch_scan_read_results()
[all …]
Dle_scanning_manager.h72 BatchScanMode scan_mode,
77 virtual void BatchScanReadReport(ScannerId scanner_id, BatchScanMode scan_mode);
/packages/modules/Connectivity/nearby/tests/multidevices/host/test_helper/
Dfast_pair_provider_simulator.py134 scan_mode = scan_mode_change_event.data['mode']
137 scan_mode, elapsed_time)
138 return scan_mode == DISCOVERABLE_MODE
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_ble_batchscan.cc48 void BTM_BleEnableBatchScan(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in BTM_BleEnableBatchScan() argument
55 void BTM_BleReadScanReports(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in BTM_BleReadScanReports() argument
/packages/modules/Bluetooth/system/service/
Dadapter.cc317 bool SetScanMode(int scan_mode) override { in SetScanMode() argument
318 switch (scan_mode) { in SetScanMode()
324 LOG(ERROR) << "Unknown scan mode: " << scan_mode; in SetScanMode()
328 auto bd_scanmode = static_cast<bt_scan_mode_t>(scan_mode); in SetScanMode()
332 LOG(ERROR) << "Failed to set scan mode to : " << scan_mode; in SetScanMode()
Dadapter.h140 virtual bool SetScanMode(int scan_mode) = 0;
/packages/modules/Bluetooth/system/btif/src/
Dbtif_ble_scanner.cc316 void BatchscanEnable(int scan_mode, int scan_interval, int scan_window, in BatchscanEnable() argument
319 FROM_HERE, base::Bind(&BTM_BleEnableBatchScan, scan_mode, scan_interval, in BatchscanEnable()
330 void BatchscanReadReports(int client_if, int scan_mode) override { in BatchscanReadReports() argument
333 base::Bind(&BTM_BleReadScanReports, (tBLE_SCAN_MODE)scan_mode, in BatchscanReadReports()
/packages/modules/Bluetooth/system/gd/rust/topshim/gatt/
Dgatt_ble_scanner_shim.cc236 …int32_t scan_mode, uint16_t scan_interval, uint16_t scan_window, int32_t addr_type, int32_t discar… in BatchscanEnable() argument
238 scan_mode, in BatchscanEnable()
250 void BleScannerIntf::BatchscanReadReports(uint8_t scanner_id, int32_t scan_mode) { in BatchscanReadReports() argument
251 scanner_intf_->BatchscanReadReports(scanner_id, scan_mode); in BatchscanReadReports()
Dgatt_ble_scanner_shim.h119 …int32_t scan_mode, uint16_t scan_interval, uint16_t scan_window, int32_t addr_type, int32_t discar…
127 void BatchscanReadReports(uint8_t scanner_id, int32_t scan_mode);
/packages/modules/Bluetooth/system/main/shim/
Dble_scanner_interface_impl.h61 void BatchscanEnable(int scan_mode, int scan_interval, int scan_window,
64 void BatchscanReadReports(int client_if, int scan_mode) override;
Dle_scanning_manager.cc279 void BleScannerInterfaceImpl::BatchscanEnable(int scan_mode, int scan_interval, in BatchscanEnable() argument
283 auto batch_scan_mode = static_cast<bluetooth::hci::BatchScanMode>(scan_mode); in BatchscanEnable()
300 int scan_mode) { in BatchscanReadReports() argument
302 auto batch_scan_mode = static_cast<bluetooth::hci::BatchScanMode>(scan_mode); in BatchscanReadReports()
Dbtm_api.h1733 void BTM_BleEnableBatchScan(tBTM_BLE_BATCH_SCAN_MODE scan_mode,
1743 void BTM_BleReadScanReports(tBLE_SCAN_MODE scan_mode,
/packages/modules/Bluetooth/system/include/hardware/
Dble_scanner.h169 virtual void BatchscanEnable(int scan_mode, int scan_interval,
177 virtual void BatchscanReadReports(int client_if, int scan_mode) = 0;
/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/stack/include/
Dbtm_ble_api.h142 tBTM_BLE_BATCH_SCAN_MODE scan_mode, uint32_t scan_interval,
151 extern void BTM_BleReadScanReports(tBLE_SCAN_MODE scan_mode,
/packages/modules/Bluetooth/system/service/common/android/bluetooth/
DIBluetooth.aidl43 boolean SetScanMode(int scan_mode); in SetScanMode() argument
/packages/modules/Bluetooth/system/service/test/
Dlow_energy_scanner_unittest.cc65 void(int scan_mode, int scan_interval, int scan_window,
70 MOCK_METHOD2(BatchscanReadReports, void(int client_if, int 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/src/profiles/
Dgatt.rs169 scan_mode: i32, in BatchscanEnable()
176 fn BatchscanReadReports(self: Pin<&mut BleScannerIntf>, scanner_id: u8, scan_mode: i32); in BatchscanReadReports()
1394 scan_mode: i32, in batchscan_enable()
1403 scan_mode, in batchscan_enable()
1415 pub fn batchscan_read_reports(&mut self, scanner_id: u8, scan_mode: i32) { in batchscan_read_reports()
1416 mutcxxcall!(self, BatchscanReadReports, scanner_id, scan_mode); in batchscan_read_reports()
/packages/modules/Bluetooth/system/service/ipc/binder/
Dbluetooth_binder_server.cc113 Status BluetoothBinderServer::SetScanMode(int32_t scan_mode, in SetScanMode() argument
116 *_aidl_return = adapter_->SetScanMode(scan_mode); in SetScanMode()
Dbluetooth_binder_server.h86 Status SetScanMode(int32_t scan_mode, bool* _aidl_return) override;
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/simulator_app/proto/
Dsimulator_stream_protocol.proto70 optional int32 scan_mode = 4; field
/packages/modules/Bluetooth/system/btcore/test/
Dproperty_test.cc124 TEST_F(PropertyTest, scan_mode) { in TEST_F() argument

12