Searched refs:QueuedCommand (Results 1 – 1 of 1) sorted by relevance
/system/bt/gd/rust/hci/src/ |
D | lib.rs | 58 let (cmd_tx, cmd_rx) = channel::<QueuedCommand>(10); in provide_hci() 82 struct QueuedCommand { struct 90 cmd_tx: Sender<QueuedCommand>, argument 99 self.cmd_tx.send(QueuedCommand { cmd, fut: tx }).await?; in send() 173 mut cmd_rx: Receiver<QueuedCommand>, in dispatch() argument 175 let mut pending: Option<QueuedCommand> = None; in dispatch() 185 Some(QueuedCommand{cmd, fut}) if cmd.get_op_code() == this_opcode => { in dispatch() 190 …Some(QueuedCommand{cmd, ..}) => panic!("Waiting for {:?}, got {:?}", cmd.get_op_code(), this_opcod… in dispatch() 198 Some(QueuedCommand{cmd, fut}) if cmd.get_op_code() == this_opcode => { in dispatch() 203 …Some(QueuedCommand{cmd, ..}) => panic!("Waiting for {:?}, got {:?}", cmd.get_op_code(), this_opcod… in dispatch()
|