Home
last modified time | relevance | path

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

/external/crosvm/gpu_display/src/
Dgpu_display_x.rs340 for event_device in self.event_devices.values_mut() { in dispatch_to_event_devices()
341 if event_device.kind() != device_type { in dispatch_to_event_devices()
344 if let Err(e) = event_device.send_report(events.iter().cloned()) { in dispatch_to_event_devices()
639 fn event_device(&self, event_device_id: u32) -> Option<&EventDevice> { in event_device() method
670 if let Some(event_device) = self.event_device(event_device_id) { in handle_event_device()
672 let _ = event_device.recv_event_encoded(); in handle_event_device()
680 if let Some(event_device) = self.event_device_mut(event_device_id) { in handle_poll_ctx()
681 if !event_device.flush_buffered_events()? { in handle_poll_ctx()
687 if let Some(event_device) = self.event_device(event_device_id) { in handle_poll_ctx()
689 event_device, in handle_poll_ctx()
[all …]
Dlib.rs13 mod event_device; module
21 pub use event_device::{EventDevice, EventDeviceKind};
160 fn import_event_device(&mut self, event_device: EventDevice) -> Result<u32, GpuDisplayError>; in import_event_device()
314 event_device: EventDevice, in import_event_device()
316 self.inner.import_event_device(event_device) in import_event_device()
/external/crosvm/devices/src/virtio/gpu/
Dvirtio_gpu.rs159 for event_device in event_devices { in new()
161 .import_event_device(event_device, 0) in new()
172 event_device: EventDevice, in import_event_device()
183 let event_device_id = display.import_event_device(event_device)?; in import_event_device()