Home
last modified time | relevance | path

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

/frameworks/native/services/vr/virtual_touchpad/
DEvdevInjector.cpp60 uinput_->Close(); in Close()
76 if (!uinput_) { in ConfigureBegin()
78 uinput_ = owned_uinput_.get(); in ConfigureBegin()
80 if (const int status = uinput_->Open()) { in ConfigureBegin()
105 if (const int status = uinput_->IoctlSetInt(UI_SET_PROPBIT, property)) { in ConfigureInputProperty()
124 if (const int status = uinput_->IoctlSetInt(UI_SET_KEYBIT, key)) { in ConfigureKey()
146 if (const int status = uinput_->IoctlSetInt(UI_SET_ABSBIT, abs_type)) { in ConfigureAbs()
183 if (const int status = uinput_->IoctlSetInt(UI_SET_RELBIT, rel_type)) { in ConfigureRel()
217 if (const int status = uinput_->Write(&uidev_, sizeof uidev_)) { in ConfigureEnd()
222 if (const int status = uinput_->IoctlVoid(UI_DEV_CREATE)) { in ConfigureEnd()
[all …]
DEvdevInjector.h113 inline void SetUInputForTesting(UInput* uinput) { uinput_ = uinput; } in SetUInputForTesting()
132 UInput* uinput_ = nullptr; variable