struct ScopedUinputDevice
Defined at line 711 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
RAII container for a dynamically created uinput device and its associated /dev/input event node.
Automatically destroys the uinput device and waits for its event node to be removed on
destruction.
Public Members
unique_fd uinput_fd
unique_fd event_fd
basic_string event_node
set ls_before
Public Methods
void ScopedUinputDevice ()
Defined at line 717 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
void ScopedUinputDevice (fbl::unique_fduinput_fd,fbl::unique_fdevent_fd,std::stringevent_node,std::set<std::string>ls_before)
Defined at line 718 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
void ScopedUinputDevice (ScopedUinputDevice && )
Defined at line 726 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
ScopedUinputDevice & operator= (ScopedUinputDevice && )
Defined at line 727 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
void ScopedUinputDevice (const ScopedUinputDevice & )
Defined at line 728 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
ScopedUinputDevice & operator= (const ScopedUinputDevice & )
Defined at line 729 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
void ~ScopedUinputDevice ()
Defined at line 1076 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
std::optional<ScopedUinputDevice> Create (const char *name,uint16_tproduct,std::optional<int>evbit)
Defined at line 1085 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc