Home
last modified time | relevance | path

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

/external/crosvm/gpu_display/src/
Devent_device.rs41 pub struct EventDevice { struct
47 impl EventDevice { argument
48 pub fn new(kind: EventDeviceKind, event_socket: UnixStream) -> EventDevice { in new() argument
50 EventDevice { in new()
58 pub fn mouse(event_socket: UnixStream) -> EventDevice { in mouse() argument
63 pub fn touchscreen(event_socket: UnixStream) -> EventDevice { in touchscreen() argument
68 pub fn keyboard(event_socket: UnixStream) -> EventDevice { in keyboard() argument
153 impl AsRawDescriptor for EventDevice { implementation
Dgpu_display_x.rs28 keycode_converter::KeycodeTranslator, keycode_converter::KeycodeTypes, DisplayT, EventDevice,
226 event_devices: BTreeMap<ObjectId, EventDevice>,
540 EventDevice { event_device_id: u32 }, enumerator
550 event_devices: BTreeMap<ObjectId, EventDevice>,
639 fn event_device(&self, event_device_id: u32) -> Option<&EventDevice> { in event_device() argument
643 fn event_device_mut(&mut self, event_device_id: u32) -> Option<&mut EventDevice> { in event_device_mut() argument
679 if let DisplayXPollToken::EventDevice { event_device_id } = wait_event.token { in handle_poll_ctx()
691 DisplayXPollToken::EventDevice { event_device_id }, in handle_poll_ctx()
700 DisplayXPollToken::EventDevice { event_device_id } => { in handle_poll_ctx()
801 fn import_event_device(&mut self, event_device: EventDevice) -> Result<u32, GpuDisplayError> { in import_event_device()
[all …]
Dlib.rs21 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() argument
Dgpu_display_stub.rs8 use crate::{DisplayT, EventDevice, GpuDisplayError, GpuDisplayFramebuffer};
214 fn import_event_device(&mut self, _event_device: EventDevice) -> Result<u32, GpuDisplayError> { in import_event_device()
Dgpu_display_wl.rs15 use crate::{DisplayT, EventDevice, GpuDisplayError, GpuDisplayFramebuffer};
344 fn import_event_device(&mut self, _event_device: EventDevice) -> Result<u32, GpuDisplayError> { in import_event_device()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs30 pub use gpu_display::EventDevice;
124 event_devices: Vec<EventDevice>, in build() argument
874 event_devices: Vec<EventDevice>,
900 event_devices: Vec<EventDevice>, in new() argument
Dvirtio_gpu.rs120 event_devices: Vec<EventDevice>, in new() argument
172 event_device: EventDevice, in import_event_device() argument
/external/crosvm/src/
Dlinux.rs41 use devices::virtio::EventDevice;
859 event_devices: Vec<EventDevice>, in create_gpu_device() argument
1535 event_devices.push(EventDevice::touchscreen(event_device_socket)); in create_virtio_devices()
1549 event_devices.push(EventDevice::keyboard(event_device_socket)); in create_virtio_devices()