Searched refs:cbid (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | callbacks.rs | 39 if let Some(cbid) = self.object_id_to_cbid.get(&callback.get_object_id()) { in add_callback() 40 return *cbid; in add_callback() 130 let cbid = callbacks.add_callback(Box::new(TestCallback::new(cb_string.clone()))); in test_add_and_remove() localVariable 131 let found = callbacks.get_by_id(cbid); in test_add_and_remove() 143 assert_eq!(cbid, cbid1); in test_add_and_remove() 146 let success = callbacks.remove_callback(cbid); in test_add_and_remove() 148 let found = callbacks.get_by_id(cbid); in test_add_and_remove() 153 assert_ne!(cbid, cbid2); in test_add_and_remove()
|
D | socket_manager.rs | 590 cbid: CallbackId, in socket_listen() 650 cbid, in socket_listen() 662 .entry(cbid) in socket_listen() 664 .push(InternalListeningSocket::new(cbid, id, runner_tx, uuid, joinhandle)); in socket_listen() 689 cbid: CallbackId, in socket_connect() 725 cbid, in socket_connect() 738 .entry(cbid) in socket_connect() 740 .push(InternalConnectingSocket::new(cbid, id, joinhandle)); in socket_connect() 758 cbid: CallbackId, in listening_task() 786 cbid, in listening_task() [all …]
|
D | bluetooth_gatt.rs | 42 cbid: u32, field 93 self.clients.iter().find(|client| client.cbid == callback_id) in get_by_callback_id() 124 let cbid = self.callbacks.add_callback(callback); in add() localVariable 128 cbid, in add() 138 let cbid = c.cbid; in remove() localVariable 139 self.remove_callback(cbid); in remove() 196 cbid: u32, field 244 self.servers.iter().find(|server| server.cbid == callback_id) in get_by_callback_id() 266 let cbid = self.callbacks.add_callback(callback); in add() localVariable 270 cbid, in add() [all …]
|