Home
last modified time | relevance | path

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

/external/crosvm/devices/src/virtio/input/
Dmod.rs9 mod event_source; module
18 use self::event_source::{input_event, EvdevEventSource, EventSource, SocketEventSource};
386 event_source: T, field
408 while self.event_source.available_events_count() > 0 { in send_events()
418 self.event_source.available_events_count() * virtio_input_event::EVENT_SIZE; in send_events()
422 .read_to_memory(avail_desc.addr, &self.event_source, len) in send_events()
455 .write_from_memory(avail_desc.addr, &self.event_source, len) in process_status_queue()
472 if let Err(e) = self.event_source.init() { in run()
495 pc.add(&self.event_source, Token::InputEventsAvailable) in run()
540 Token::InputEventsAvailable => match self.event_source.receive_events() { in run()
[all …]
Devent_source.rs339 use crate::virtio::input::event_source::input_event;
340 use crate::virtio::input::event_source::EventSourceImpl;