Home
last modified time | relevance | path

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

/system/bt/gd/rust/hci/src/
Dlib.rs59 let evt_handlers = Arc::new(Mutex::new(HashMap::new())); in provide_hci() localVariable
63 evt_handlers.clone(), in provide_hci()
78 Hci { raw_commands, commands, events: EventRegistry { evt_handlers, le_evt_handlers } } in provide_hci()
124 evt_handlers: Arc<Mutex<HashMap<EventCode, Sender<EventPacket>>>>, field
140 self.evt_handlers.lock().await.insert(code, sender).is_none(), in register()
150 self.evt_handlers.lock().await.remove(&code); in unregister()
169 evt_handlers: Arc<Mutex<HashMap<EventCode, Sender<EventPacket>>>>, in dispatch()
223 match evt_handlers.lock().await.get(&code) { in dispatch()