Home
last modified time | relevance | path

Searched refs:bonding_attempt (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcallbacks.rs219 let bonding_device = context.lock().unwrap().bonding_attempt.as_ref().cloned(); in on_ssp_request()
274 let bonding_attempt = in on_bond_state_changed() localVariable
275 self.context.lock().unwrap().bonding_attempt.as_ref().cloned(); in on_bond_state_changed()
276 match bonding_attempt { in on_bond_state_changed()
279 self.context.lock().unwrap().bonding_attempt = None; in on_bond_state_changed()
Dmain.rs71 pub(crate) bonding_attempt: Option<BluetoothDevice>, field
189 bonding_attempt: None, in new()
Dcommand_handler.rs783 let bonding_attempt = &self.lock_context().bonding_attempt.as_ref().cloned(); in cmd_bond() localVariable
785 if bonding_attempt.is_some() { in cmd_bond()
788 bonding_attempt.as_ref().unwrap().address.to_string(), in cmd_bond()
801 self.lock_context().bonding_attempt = Some(device); in cmd_bond()