/packages/modules/Bluetooth/floss/pandora/floss/ |
D | scanner_client.py | 32 def on_scanner_registered(self, uuid, scanner_id, status): argument 50 def on_advertisement_found(self, scanner_id, scan_result): argument 59 def on_advertisement_lost(self, scanner_id, scan_result): argument 83 def __init__(self, scanner_id, uuid, status): argument 91 self.scanner_id = scanner_id 196 def OnScannerRegistered(self, uuid, scanner_id, status): argument 205 observer.on_scanner_registered(uuid, scanner_id, status) 216 def OnAdvertisementFound(self, scanner_id, scan_result): argument 224 observer.on_advertisement_found(scanner_id, scan_result) 226 def OnAdvertisementLost(self, scanner_id, scan_result): argument [all …]
|
D | gatt_client.py | 29 def on_client_registered(self, status, scanner_id): argument 284 def OnClientRegistered(self, status, scanner_id): argument 292 observer.on_client_registered(status, scanner_id) 474 def on_client_registered(self, status, scanner_id): argument 481 logging.debug('on_client_registered: status: %s, scanner_id: %s', status, scanner_id) 484 logging.error('Failed to register client with id: %s, status = %s', scanner_id, status) 486 self.client_id = scanner_id
|
/packages/modules/Bluetooth/system/gd/rust/topshim/gatt/ |
D | gatt_ble_scanner_shim.cc | 170 .scanner_id = ati.scanner_id, in OnTrackAdvFoundLost() 207 void BleScannerIntf::Unregister(uint8_t scanner_id) { in Unregister() argument 208 scanner_intf_->Unregister(scanner_id); in Unregister() 216 uint8_t scanner_id, in ScanFilterParamSetup() argument 223 scanner_id, in ScanFilterParamSetup() 227 base::Bind(&BleScannerIntf::OnFilterParamSetupCallback, base::Unretained(this), scanner_id)); in ScanFilterParamSetup() 281 uint8_t scanner_id, in SetScanParameters() argument 287 scanner_id, in SetScanParameters() 292 base::Bind(&BleScannerIntf::OnStatusCallback, base::Unretained(this), scanner_id)); in SetScanParameters() 296 uint8_t scanner_id, in BatchscanConfigStorage() argument [all …]
|
D | gatt_ble_scanner_shim.h | 84 void Unregister(uint8_t scanner_id); 92 uint8_t scanner_id, 122 uint8_t scanner_id, 130 uint8_t scanner_id, 146 void BatchscanReadReports(uint8_t scanner_id, int32_t scan_mode); 178 void OnRegisterCallback(bluetooth::Uuid uuid, uint8_t scanner_id, uint8_t btm_status); 179 void OnStatusCallback(uint8_t scanner_id, uint8_t btm_status); 181 …void OnFilterParamSetupCallback(uint8_t scanner_id, uint8_t avbl_space, uint8_t action_type, uint8…
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | le_scanning_manager.cc | 568 void unregister_scanner(ScannerId scanner_id) { in unregister_scanner() 569 if (scanner_id <= 0 || scanner_id > kMaxAppNum) { in unregister_scanner() 574 if (scanners_[scanner_id].in_use) { in unregister_scanner() 575 scanners_[scanner_id].in_use = false; in unregister_scanner() 576 scanners_[scanner_id].app_uuid = Uuid::kEmpty; in unregister_scanner() 577 log::debug("Unregister scanner successful, scannerId={}", scanner_id); in unregister_scanner() 667 ScannerId scanner_id, in set_scan_parameters() 682 scanner_id, ScanningCallback::ScanningStatus::ILLEGAL_PARAMETER); in set_scan_parameters() 688 scanner_id, ScanningCallback::ScanningStatus::ILLEGAL_PARAMETER); in set_scan_parameters() 694 scanner_id, ScanningCallback::ScanningStatus::ILLEGAL_PARAMETER); in set_scan_parameters() [all …]
|
D | le_scanning_manager.h | 51 virtual void Unregister(ScannerId scanner_id); 56 ScannerId scanner_id, 77 ScannerId scanner_id); 84 virtual void BatchScanReadReport(ScannerId scanner_id, BatchScanMode scan_mode); 108 virtual void TrackAdvertiser(uint8_t filter_index, ScannerId scanner_id);
|
D | le_scanning_callback.h | 36 uint8_t scanner_id; variable 60 const bluetooth::hci::Uuid app_uuid, ScannerId scanner_id, ScanningStatus status) = 0; 61 virtual void OnSetScannerParameterComplete(ScannerId scanner_id, ScanningStatus status) = 0;
|
D | le_scanning_manager_mock.h | 32 MOCK_METHOD(void, OnSetScannerParameterComplete, (ScannerId scanner_id, ScanningStatus status));
|
D | le_periodic_sync_manager_test.cc | 172 (const bluetooth::hci::Uuid app_uuid, ScannerId scanner_id, ScanningStatus status), 174 …MOCK_METHOD(void, OnSetScannerParameterComplete, (ScannerId scanner_id, ScanningStatus status), (o…
|
D | le_scanning_manager_test.cc | 245 (const bluetooth::hci::Uuid app_uuid, ScannerId scanner_id, ScanningStatus status), 247 …MOCK_METHOD(void, OnSetScannerParameterComplete, (ScannerId scanner_id, ScanningStatus status), (o…
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth_gatt.rs | 385 fn unregister_scanner(&mut self, scanner_id: u8) -> bool; in unregister_scanner() 390 scanner_id: u8, in start_scan() 396 fn stop_scan(&mut self, scanner_id: u8) -> BtStatus; in stop_scan() 1124 fn on_scanner_registered(&mut self, uuid: Uuid, scanner_id: u8, status: GattStatus); in on_scanner_registered() 1134 fn on_advertisement_found(&mut self, scanner_id: u8, scan_result: ScanResult); in on_advertisement_found() 1140 fn on_advertisement_lost(&mut self, scanner_id: u8, scan_result: ScanResult); in on_advertisement_lost() 1395 async fn update_scan(&mut self, scanner_id: u8) { in update_scan() 1422 scanner_id, in update_scan() 1618 if let Some(scanner_id) = scanner.scanner_id { in remove_scanner_callback() 1619 Some(scanner_id) in remove_scanner_callback() [all …]
|
D | bluetooth.rs | 1202 DelayedActions::BleDiscoveryScannerRegistered(uuid, scanner_id, status) => { in handle_delayed_actions() 1206 self.ble_scanner_id = Some(scanner_id); in handle_delayed_actions() 1759 if let Some(scanner_id) = self.ble_scanner_id { in discovery_state() 1761 self.bluetooth_gatt.lock().unwrap().start_active_scan(scanner_id); in discovery_state() 1763 self.bluetooth_gatt.lock().unwrap().stop_active_scan(scanner_id); in discovery_state() 2124 fn on_scanner_registered(&mut self, uuid: Uuid, scanner_id: u8, status: GattStatus) { in on_scanner_registered() 2129 DelayedActions::BleDiscoveryScannerRegistered(uuid, scanner_id, status), in on_scanner_registered()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | le_scanning_manager.cc | 172 void BleScannerInterfaceImpl::Unregister(int scanner_id) { in Unregister() argument 173 log::info("in shim layer, scannerId={}", scanner_id); in Unregister() 174 bluetooth::shim::GetScanning()->Unregister(scanner_id); in Unregister() 352 void BleScannerInterfaceImpl::SetScanParameters(int scanner_id, in SetScanParameters() argument 357 log::info("in shim layer, scannerId={}", scanner_id); in SetScanParameters() 369 scanner_id, static_cast<bluetooth::hci::LeScanType>(scan_type), in SetScanParameters() 410 auto scanner_id = static_cast<bluetooth::hci::ScannerId>(client_if); in BatchscanReadReports() local 411 bluetooth::shim::GetScanning()->BatchScanReadReport(scanner_id, in BatchscanReadReports() 503 const bluetooth::hci::Uuid app_uuid, bluetooth::hci::ScannerId scanner_id, in OnScannerRegistered() argument 508 scanner_id, status)); in OnScannerRegistered() [all …]
|
D | ble_scanner_interface_impl.h | 62 void Unregister(int scanner_id) override; 81 void SetScanParameters(int scanner_id, uint8_t scan_type, int scan_interval, 105 bluetooth::hci::ScannerId scanner_id, 107 void OnSetScannerParameterComplete(bluetooth::hci::ScannerId scanner_id,
|
/packages/modules/Bluetooth/system/gd/hci/facade/ |
D | le_scanning_manager_facade.cc | 70 le_scanning_manager_->Unregister(request->scanner_id()); in Unregister() 88 request->scanner_id(), in SetScanParameters() 119 void OnSetScannerParameterComplete(ScannerId scanner_id, ScanningStatus status) { in OnSetScannerParameterComplete() argument 123 msg.set_data(static_cast<uint32_t>(scanner_id)); in OnSetScannerParameterComplete()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | gatt.rs | 40 scanner_id: u8, field 148 fn Unregister(self: Pin<&mut BleScannerIntf>, scanner_id: u8); in Unregister() 152 scanner_id: u8, in ScanFilterParamSetup() 174 scanner_id: u8, in SetScanParameters() 183 scanner_id: u8, in BatchscanConfigStorage() 197 fn BatchscanReadReports(self: Pin<&mut BleScannerIntf>, scanner_id: u8, scan_mode: i32); in BatchscanReadReports() 263 unsafe fn gdscan_register_callback(uuid: Uuid, scanner_id: u8, btm_status: u8); in gdscan_register_callback() 264 unsafe fn gdscan_status_callback(scanner_id: u8, btm_status: u8); in gdscan_status_callback() 267 scanner_id: u8, in gdscan_filter_param_setup_callback() 1480 pub fn unregister(&mut self, scanner_id: u8) { in unregister() [all …]
|
/packages/modules/Bluetooth/floss/pandora/server/ |
D | host.py | 455 def on_scanner_registered(self, uuid, scanner_id, status): argument 462 scanner_id = None 465 future.get_loop().call_soon_threadsafe(future.set_result, scanner_id) 471 scanner_id = None 485 scanner_id = await asyncio.wait_for(scan['register_scanner'], timeout=10) 487 self.bluetooth.start_scan(scanner_id) 538 if scanner_id is not None: 539 self.bluetooth.stop_scan(scanner_id)
|
D | bluetooth.py | 314 def start_scan(self, scanner_id, settings=None, scan_filter=None): argument 318 return self.scanner_client.start_scan(scanner_id, settings, scan_filter) 320 def stop_scan(self, scanner_id): argument 321 if not self.scanner_client.remove_monitor(scanner_id):
|
/packages/modules/Bluetooth/system/blueberry/facade/hci/ |
D | le_scanning_manager_facade.proto | 46 uint32 scanner_id = 1; field 54 uint32 scanner_id = 1; field
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | ble_scanner.h | 63 uint8_t scanner_id; variable 151 virtual void Unregister(int scanner_id) = 0; 190 virtual void SetScanParameters(int scanner_id, uint8_t scan_type,
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_bluetooth_gatt.rs | 38 fn on_client_registered(&mut self, status: GattStatus, scanner_id: i32) { in on_client_registered() 291 fn on_scanner_registered(&mut self, uuid: Uuid, scanner_id: u8, status: GattStatus) { in on_scanner_registered() 301 fn on_advertisement_found(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_found() 306 fn on_advertisement_lost(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_lost() 621 fn unregister_scanner(&mut self, scanner_id: u8) -> bool { in unregister_scanner() 628 scanner_id: u8, in start_scan() 636 fn stop_scan(&mut self, scanner_id: u8) -> BtStatus { in stop_scan()
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/hci/ |
D | le_scanning_manager_test.py | 144 scanner_id=0x01, 158 scanner_id=0x01, 186 scanner_id=0x01, 217 scanner_id=0x01,
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | callbacks.rs | 419 fn on_scanner_registered(&mut self, uuid: Uuid, scanner_id: u8, status: GattStatus) { in on_scanner_registered() 425 print_info!("Scanner callback registered, uuid = {}, id = {}", uuid, scanner_id); in on_scanner_registered() 434 fn on_advertisement_found(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_found() 436 print_info!("Advertisement found for scanner_id {} : {:#?}", scanner_id, scan_result); in on_advertisement_found() 440 fn on_advertisement_lost(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_lost() 442 print_info!("Advertisement lost for scanner_id {} : {:#?}", scanner_id, scan_result); in on_advertisement_lost()
|
D | command_handler.rs | 1558 let scanner_id = String::from(get_arg(args, 1)?) in cmd_le_scan() localVariable 1562 self.lock_context().gatt_dbus.as_mut().unwrap().unregister_scanner(scanner_id); in cmd_le_scan() 1565 let scanner_id = String::from(get_arg(args, 1)?) in cmd_le_scan() localVariable 1570 scanner_id, in cmd_le_scan() 1583 self.lock_context().active_scanner_ids.insert(scanner_id); in cmd_le_scan() 1586 let scanner_id = String::from(get_arg(args, 1)?) in cmd_le_scan() localVariable 1590 self.lock_context().gatt_dbus.as_mut().unwrap().stop_scan(scanner_id); in cmd_le_scan() 1591 self.lock_context().active_scanner_ids.remove(&scanner_id); in cmd_le_scan()
|
D | dbus_iface.rs | 689 fn on_scanner_registered(&mut self, uuid: Uuid, scanner_id: u8, status: GattStatus) { in on_scanner_registered() 699 fn on_advertisement_found(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_found() 704 fn on_advertisement_lost(&mut self, scanner_id: u8, scan_result: ScanResult) { in on_advertisement_lost() 1480 fn unregister_scanner(&mut self, scanner_id: u8) -> bool { in unregister_scanner()
|