Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcommand_handler.rs453 fn lock_context(&self) -> std::sync::MutexGuard<ClientContext> { in lock_context() method
461 self.lock_context().default_adapter in adapter_not_ready()
518 if !self.lock_context().manager_dbus.get_floss_enabled() { in cmd_adapter()
522 let default_adapter = self.lock_context().default_adapter; in cmd_adapter()
528 if self.lock_context().is_restricted { in cmd_adapter()
531 self.lock_context().manager_dbus.start(default_adapter); in cmd_adapter()
534 if self.lock_context().is_restricted { in cmd_adapter()
537 self.lock_context().manager_dbus.stop(default_adapter); in cmd_adapter()
540 if !self.lock_context().adapter_ready { in cmd_adapter()
544 let enabled = self.lock_context().enabled; in cmd_adapter()
[all …]