Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dsuspend.rs37 fn suspend(&mut self, suspend_type: SuspendType, suspend_id: i32); in suspend()
51 fn on_suspend_ready(&mut self, suspend_id: i32); in on_suspend_ready()
54 fn on_resumed(&mut self, suspend_id: i32); in on_resumed()
114 suspend_id: Option<i32>, field
123 suspend_id: None, in new()
181 pub(crate) fn suspend_ready(&mut self, suspend_id: i32) { in suspend_ready()
185 callback.on_suspend_ready(suspend_id); in suspend_ready()
189 pub(crate) fn resume_ready(&mut self, suspend_id: i32) { in resume_ready()
191 callback.on_resumed(suspend_id); in resume_ready()
224 fn suspend(&mut self, suspend_type: SuspendType, suspend_id: i32) { in suspend()
[all …]
Dlib.rs407 Message::SuspendReady(suspend_id) => { in dispatch()
408 suspend.lock().unwrap().suspend_ready(suspend_id); in dispatch()
411 Message::ResumeReady(suspend_id) => { in dispatch()
412 suspend.lock().unwrap().resume_ready(suspend_id); in dispatch()
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Ddbus_iface.rs58 fn suspend(&mut self, _suspend_type: SuspendType, suspend_id: i32) { in suspend()
81 fn on_suspend_ready(&mut self, suspend_id: i32) {} in on_suspend_ready()
83 fn on_resumed(&mut self, suspend_id: i32) {} in on_resumed()
Dpowerd_suspend_manager.rs85 suspend_id: i32, in send_handle_suspend_readiness()
89 suspend_readiness_info.set_suspend_id(suspend_id); in send_handle_suspend_readiness()
121 fn on_suspend_ready(&mut self, suspend_id: i32) { in on_suspend_ready()
123 log::debug!("Suspend ready, adapter suspend_id = {}", suspend_id); in on_suspend_ready()
160 fn on_resumed(&mut self, suspend_id: i32) { in on_resumed()
163 log::debug!("Suspend resumed, adapter suspend_id = {}", suspend_id); in on_resumed()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth.rs1014 fn suspend(&mut self, suspend_type: SuspendType, suspend_id: i32) { in suspend()
1034 fn on_suspend_ready(&mut self, suspend_id: i32) { in on_suspend_ready()
1038 fn on_resumed(&mut self, suspend_id: i32) { in on_resumed()
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Ddbus_iface.rs2336 fn suspend(&mut self, _suspend_type: SuspendType, suspend_id: i32) { in suspend()
2358 fn on_suspend_ready(&mut self, suspend_id: i32) {} in on_suspend_ready()
2360 fn on_resumed(&mut self, suspend_id: i32) {} in on_resumed()