Home
last modified time | relevance | path

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

/external/crosvm/gpu_display/src/
Devent_device.rs44 event_socket: UnixStream, field
48 pub fn new(kind: EventDeviceKind, event_socket: UnixStream) -> EventDevice { in new()
49 let _ = event_socket.set_nonblocking(true); in new()
53 event_socket, in new()
58 pub fn mouse(event_socket: UnixStream) -> EventDevice { in mouse()
59 Self::new(EventDeviceKind::Mouse, event_socket) in mouse()
63 pub fn touchscreen(event_socket: UnixStream) -> EventDevice { in touchscreen()
64 Self::new(EventDeviceKind::Touchscreen, event_socket) in touchscreen()
68 pub fn keyboard(event_socket: UnixStream) -> EventDevice { in keyboard()
69 Self::new(EventDeviceKind::Keyboard, event_socket) in keyboard()
[all …]
/external/crosvm/devices/src/virtio/snd/vios_backend/
Dshm_vios.rs107 event_socket: Mutex<UnixSeqpacket>, field
176 let event_socket = pop::<UnixSeqpacket>(&mut safe_fds, NUM_FDS, fd_count)?; in try_new() localVariable
193 event_socket: Mutex::new(event_socket), in try_new()
209 let event_socket = self in ensure_bg_thread_started() localVariable
226 event_socket, in ensure_bg_thread_started()
347 let event_fd = self.event_socket.lock().as_raw_fd(); in keep_fds()