Home
last modified time | relevance | path

Searched refs:scanner_id (Results 1 – 17 of 17) sorted by relevance

/system/bt/service/ipc/binder/
Dbluetooth_le_scanner_binder_server.cc53 Status BluetoothLeScannerBinderServer::UnregisterScanner(int scanner_id) { in UnregisterScanner() argument
55 UnregisterInstanceBase(scanner_id); in UnregisterScanner()
66 int scanner_id, const android::bluetooth::ScanSettings& settings, in StartScan() argument
69 VLOG(2) << __func__ << " scanner_id: " << scanner_id; in StartScan()
72 auto scanner = GetLEScanner(scanner_id); in StartScan()
74 LOG(ERROR) << "Unknown scanner_id: " << scanner_id; in StartScan()
88 Status BluetoothLeScannerBinderServer::StopScan(int scanner_id, in StopScan() argument
90 VLOG(2) << __func__ << " scanner_id: " << scanner_id; in StopScan()
93 auto scanner = GetLEScanner(scanner_id); in StopScan()
95 LOG(ERROR) << "Unknown scanner_id: " << scanner_id; in StopScan()
[all …]
Dbluetooth_le_scanner_binder_server.h56 Status UnregisterScanner(int scanner_id) override;
58 Status StartScan(int scanner_id,
62 Status StopScan(int scanner_id, bool* _aidl_return) override;
70 android::sp<IBluetoothLeScannerCallback> GetLECallback(int scanner_id);
74 std::shared_ptr<bluetooth::LowEnergyScanner> GetLEScanner(int scanner_id);
/system/bt/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs11 fn unregister_scanner(&self, scanner_id: i32); in unregister_scanner()
13 fn start_scan(&self, scanner_id: i32, settings: ScanSettings, filters: Vec<ScanFilter>); in start_scan()
14 fn stop_scan(&self, scanner_id: i32); in stop_scan()
20 fn on_scanner_registered(&self, status: i32, scanner_id: i32); in on_scanner_registered()
/system/bt/gd/hci/
Dle_scanning_manager.h33 uint8_t scanner_id;
56 const bluetooth::hci::Uuid app_uuid, ScannerId scanner_id, ScanningStatus status) = 0;
125 void Unregister(ScannerId scanner_id);
144 ScannerId scanner_id);
151 void BatchScanReadReport(ScannerId scanner_id, BatchScanMode scan_mode);
153 void TrackAdvertiser(ScannerId scanner_id);
Dle_scanning_manager.cc137 …void OnScannerRegistered(const bluetooth::hci::Uuid app_uuid, ScannerId scanner_id, ScanningStatus… in OnScannerRegistered() argument
532 void unregister_scanner(ScannerId scanner_id) { in unregister_scanner()
533 if (scanner_id <= 0 || scanner_id > kMaxAppNum) { in unregister_scanner()
538 if (scanners_[scanner_id].in_use) { in unregister_scanner()
539 scanners_[scanner_id].in_use = false; in unregister_scanner()
540 scanners_[scanner_id].app_uuid = Uuid::kEmpty; in unregister_scanner()
857 ScannerId scanner_id) { in batch_scan_set_storage_parameter()
863 batch_scan_config_.ref_value = scanner_id; in batch_scan_set_storage_parameter()
967 …void batch_scan_read_results(ScannerId scanner_id, uint16_t total_num_of_records, BatchScanMode sc… in batch_scan_read_results()
971 scanning_callbacks_->OnBatchScanReports(scanner_id, status, 0, 0, {}); in batch_scan_read_results()
[all …]
Dle_scanning_manager_test.cc301 (const bluetooth::hci::Uuid app_uuid, ScannerId scanner_id, ScanningStatus status),
/system/bt/gd/rust/linux/service/src/
Diface_bluetooth_gatt.rs66 fn unregister_scanner(&self, scanner_id: i32) {} in unregister_scanner()
69 fn start_scan(&self, scanner_id: i32, settings: ScanSettings, filters: Vec<ScanFilter>) {} in start_scan()
72 fn stop_scan(&self, scanner_id: i32) {} in stop_scan()
/system/bt/service/
Dlow_energy_scanner.cc70 int scanner_id) in LowEnergyScanner() argument
73 scanner_id_(scanner_id), in LowEnergyScanner()
199 const RegisterCallback& callback, const Uuid& app_uuid, uint8_t scanner_id, in RegisterScannerCallback() argument
216 scanner.reset(new LowEnergyScanner(adapter_, uuid, scanner_id)); in RegisterScannerCallback()
Dlow_energy_scanner.h96 LowEnergyScanner(Adapter& adapter, const Uuid& uuid, int scanner_id);
148 const Uuid& app_uuid, uint8_t scanner_id,
/system/bt/main/shim/
Dle_scanning_manager.cc71 void Unregister(int scanner_id) { in Unregister() argument
72 LOG(INFO) << __func__ << " in shim layer, scanner_id:" << scanner_id; in Unregister()
73 bluetooth::shim::GetScanning()->Unregister(scanner_id); in Unregister()
208 auto scanner_id = static_cast<bluetooth::hci::ScannerId>(client_if); in BatchscanReadReports() local
209 bluetooth::shim::GetScanning()->BatchScanReadReport(scanner_id, in BatchscanReadReports()
231 bluetooth::hci::ScannerId scanner_id, in OnScannerRegistered() argument
237 scanner_id, status)); in OnScannerRegistered()
277 track_info.scanner_id = on_found_on_lost_info.scanner_id; in OnTrackAdvFoundLost()
Dbtm.h216 bluetooth::hci::ScannerId scanner_id,
Dbtm.cc107 const bluetooth::hci::Uuid app_uuid, bluetooth::hci::ScannerId scanner_id, in OnScannerRegistered() argument
/system/bt/service/common/android/bluetooth/
DIBluetoothLeScanner.aidl25 void UnregisterScanner(int scanner_id); in UnregisterScanner() argument
/system/bt/include/hardware/
Dble_scanner.h57 uint8_t scanner_id;
120 virtual void Unregister(int scanner_id) = 0;
/system/bt/gd/hci/facade/
Dle_scanning_manager_facade.cc63 …void OnScannerRegistered(const bluetooth::hci::Uuid app_uuid, ScannerId scanner_id, ScanningStatus… in OnScannerRegistered() argument
/system/bt/btif/src/
Dbtif_ble_scanner.cc222 void Unregister(int scanner_id) override { in Unregister() argument
223 do_in_main_thread(FROM_HERE, Bind(&BTA_GATTC_AppDeregister, scanner_id)); in Unregister()
/system/bt/service/client/
Dmain.cc312 Status OnScannerRegistered(int status, int scanner_id) override { in OnScannerRegistered() argument
317 ble_scanner_id = scanner_id; in OnScannerRegistered()
319 << COLOR_GREEN << scanner_id << COLOR_OFF; in OnScannerRegistered()