Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dcallbacks.rs38 pub fn add_callback(&mut self, mut callback: Box<T>) -> u32 { in add_callback() method
130 let cbid = callbacks.add_callback(Box::new(TestCallback::new(cb_string.clone()))); in test_add_and_remove()
142 let cbid1 = callbacks.add_callback(Box::new(TestCallback::new(cb_string.clone()))); in test_add_and_remove()
152 let cbid2 = callbacks.add_callback(Box::new(TestCallback::new(cb_string.clone()))); in test_add_and_remove()
Dbattery_provider_manager.rs75 self.battery_provider_callbacks.add_callback(battery_provider_callback) in register_battery_provider()
Dbattery_manager.rs94 self.callbacks.add_callback(battery_manager_callback) in register_battery_callback()
Dbluetooth_qa.rs106 self.callbacks.add_callback(callback) in register_qa_callback()
Dbluetooth_admin.rs265 self.callbacks.add_callback(callback) in register_admin_policy_callback()
Dsuspend.rs210 let id = self.callbacks.add_callback(callback); in register_callback()
Dbattery_service.rs361 self.callbacks.add_callback(callback) in register_callback()
Dbluetooth_adv.rs878 self.callbacks.add_callback(callback) in register_callback()
1675 self.callbacks.add_callback(callback) in register_callback()
Dsocket_manager.rs1275 self.callbacks.add_callback(callback) in register_callback()
Dbluetooth.rs2160 self.callbacks.add_callback(callback) in register_callback()
2171 self.connection_callbacks.add_callback(callback) in register_connection_callback()
Dbluetooth_gatt.rs124 let cbid = self.callbacks.add_callback(callback); in add()
266 let cbid = self.callbacks.add_callback(callback); in add()
2124 self.scanner_callbacks.add_callback(callback) in register_scanner_callback()
Dbluetooth_media.rs3099 let _id = self.callbacks.lock().unwrap().add_callback(callback); in register_callback()
4102 let _id = self.telephony_callbacks.lock().unwrap().add_callback(callback); in register_telephony_callback()