Searched refs:context_locked (Results 1 – 2 of 2) sorted by relevance
471 let mut context_locked = self.context.lock().unwrap(); in on_suspend_imminent() localVariable472 let tablet_mode = context_locked.tablet_mode; in on_suspend_imminent()474 if let Some(adapter_suspend_dbus) = &mut context_locked.adapter_suspend_dbus { in on_suspend_imminent()503 if let Some(session) = &context_locked.powerd_session { in on_suspend_imminent()
439 let mut context_locked = context.lock().unwrap(); in main() localVariable440 match context_locked.manager_dbus.rpc.get_adapter_enabled(default_adapter).await { in main()443 context_locked.set_adapter_enabled(default_adapter, true); in main()