Searched refs:remove_callback (Results 1 – 13 of 13) sorted by relevance
77 pub fn remove_callback(&mut self, callback_id: u32) -> bool { in remove_callback() method78 self.callbacks.remove_callback(callback_id) in remove_callback()98 self.remove_callback(callback_id) in unregister_battery_callback()
354 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()
63 pub fn remove_callback(&mut self, id: u32) -> bool { in remove_callback() method146 let success = callbacks.remove_callback(cbid); in test_add_and_remove()
177 pub(crate) fn remove_callback(&mut self, id: u32) -> bool { in remove_callback() method178 self.callbacks.remove_callback(id) in remove_callback()221 self.remove_callback(callback_id) in unregister_callback()
348 pub fn remove_callback(&mut self, callback_id: u32) { in remove_callback() method349 self.callbacks.remove_callback(callback_id); in remove_callback()365 self.remove_callback(callback_id); in unregister_callback()
66 self.battery_provider_callbacks.remove_callback(battery_provider_id); in remove_battery_provider_callback()
110 self.callbacks.remove_callback(callback_id) in unregister_qa_callback()
1230 pub fn remove_callback(&mut self, callback: CallbackId) { in remove_callback() method1253 self.callbacks.remove_callback(callback); in remove_callback()1279 self.callbacks.remove_callback(callback) in unregister_callback()
139 self.remove_callback(cbid); in remove()145 fn remove_callback(&mut self, callback_id: u32) { in remove_callback() method146 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() method288 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()
269 self.callbacks.remove_callback(callback_id) in unregister_admin_policy_callback()
880 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()
891 self.callbacks.remove_callback(callback_id) in unregister_callback()1680 let ret = self.callbacks.remove_callback(callback_id); in unregister_callback()
1848 pub fn remove_callback(&mut self, id: u32) -> bool { in remove_callback() method1849 self.callbacks.lock().unwrap().remove_callback(id) in remove_callback()1853 self.telephony_callbacks.lock().unwrap().remove_callback(id) in remove_telephony_callback()