Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbattery_manager.rs77 pub fn remove_callback(&mut self, callback_id: u32) -> bool { in remove_callback() method
78 self.callbacks.remove_callback(callback_id) in remove_callback()
98 self.remove_callback(callback_id) in unregister_battery_callback()
Dlib.rs354 bluetooth_media.lock().unwrap().remove_callback(cb_id); in dispatch()
404 suspend.lock().unwrap().remove_callback(id); in dispatch()
435 bluetooth_socketmgr.lock().unwrap().remove_callback(id); in dispatch()
447 battery_service.lock().unwrap().remove_callback(id); in dispatch()
456 battery_manager.lock().unwrap().remove_callback(id); in dispatch()
Dcallbacks.rs63 pub fn remove_callback(&mut self, id: u32) -> bool { in remove_callback() method
146 let success = callbacks.remove_callback(cbid); in test_add_and_remove()
Dsuspend.rs177 pub(crate) fn remove_callback(&mut self, id: u32) -> bool { in remove_callback() method
178 self.callbacks.remove_callback(id) in remove_callback()
221 self.remove_callback(callback_id) in unregister_callback()
Dbattery_service.rs348 pub fn remove_callback(&mut self, callback_id: u32) { in remove_callback() method
349 self.callbacks.remove_callback(callback_id); in remove_callback()
365 self.remove_callback(callback_id); in unregister_callback()
Dbattery_provider_manager.rs66 self.battery_provider_callbacks.remove_callback(battery_provider_id); in remove_battery_provider_callback()
Dbluetooth_qa.rs110 self.callbacks.remove_callback(callback_id) in unregister_qa_callback()
Dsocket_manager.rs1230 pub fn remove_callback(&mut self, callback: CallbackId) { in remove_callback() method
1253 self.callbacks.remove_callback(callback); in remove_callback()
1279 self.callbacks.remove_callback(callback) in unregister_callback()
Dbluetooth_gatt.rs139 self.remove_callback(cbid); in remove()
145 fn remove_callback(&mut self, callback_id: u32) { in remove_callback() method
146 self.callbacks.remove_callback(callback_id); in remove_callback()
281 self.remove_callback(cbid); in remove()
287 fn remove_callback(&mut self, callback_id: u32) { in remove_callback() method
288 self.callbacks.remove_callback(callback_id); in remove_callback()
1631 self.scanner_callbacks.remove_callback(callback_id) in remove_scanner_callback()
1924 self.context_map.remove_callback(callback_id); in remove_client_callback()
1936 self.context_map.remove_callback(callback_id); in remove_server_callback()
Dbluetooth_admin.rs269 self.callbacks.remove_callback(callback_id) in unregister_admin_policy_callback()
Dbluetooth.rs880 self.callbacks.remove_callback(id); in adapter_callback_disconnected()
884 self.connection_callbacks.remove_callback(id); in connection_callback_disconnected()
2164 self.callbacks.remove_callback(callback_id) in unregister_callback()
2175 self.connection_callbacks.remove_callback(callback_id) in unregister_connection_callback()
Dbluetooth_adv.rs891 self.callbacks.remove_callback(callback_id) in unregister_callback()
1680 let ret = self.callbacks.remove_callback(callback_id); in unregister_callback()
Dbluetooth_media.rs1848 pub fn remove_callback(&mut self, id: u32) -> bool { in remove_callback() method
1849 self.callbacks.lock().unwrap().remove_callback(id) in remove_callback()
1853 self.telephony_callbacks.lock().unwrap().remove_callback(id) in remove_telephony_callback()