Home
last modified time | relevance | path

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

/base/msdp/device_status/tools/vdev/src/
Dvirtual_device_builder.cpp53 VirtualDeviceBuilder::VirtualDeviceBuilder(const std::string &name, uint16_t bustype, in VirtualDeviceBuilder() function in OHOS::Msdp::DeviceStatus::VirtualDeviceBuilder
69 VirtualDeviceBuilder::VirtualDeviceBuilder(const std::string &name, std::shared_ptr<VirtualDevice> … in VirtualDeviceBuilder() function in OHOS::Msdp::DeviceStatus::VirtualDeviceBuilder
74 VirtualDeviceBuilder::~VirtualDeviceBuilder() in ~VirtualDeviceBuilder()
79 void VirtualDeviceBuilder::Daemonize() in Daemonize()
109 void VirtualDeviceBuilder::Unmount(const char *name, const char *id) in Unmount()
187 void VirtualDeviceBuilder::SetSupportedEvents() in SetSupportedEvents()
190 std::bind(&VirtualDeviceBuilder::GetEventTypes, this) }, in SetSupportedEvents()
191 { UI_SET_KEYBIT, std::bind(&VirtualDeviceBuilder::GetKeys, this) }, in SetSupportedEvents()
192 { UI_SET_PROPBIT, std::bind(&VirtualDeviceBuilder::GetProperties, this) }, in SetSupportedEvents()
193 { UI_SET_ABSBIT, std::bind(&VirtualDeviceBuilder::GetAbs, this) }, in SetSupportedEvents()
[all …]
Dvirtual_keyboard_builder.cpp36 VirtualKeyboardBuilder::VirtualKeyboardBuilder() : VirtualDeviceBuilder(GetDeviceName(), BUS_USB, 0… in VirtualKeyboardBuilder()
95 VirtualDeviceBuilder::Daemonize(); in Mount()
105 VirtualDeviceBuilder::Unmount("keyboard", "K"); in Unmount()
117 int32_t ret = VirtualDeviceBuilder::ScanFor( in Clone()
123 auto vDev = VirtualDeviceBuilder::Select(vDevs, "keyboard"); in Clone()
127 VirtualDeviceBuilder vBuilder(GetDeviceName(), vDev); in Clone()
143 VirtualDeviceBuilder::Daemonize(); in Clone()
181 VirtualDeviceBuilder::WaitFor(optarg, "keyboard"); in Act()
238 int32_t ret = VirtualDeviceBuilder::ReadFile(realPath, model); in ReadActions()
314 VirtualDeviceBuilder::WaitFor("virtual keyboard", waitTime); in HandleWait()
[all …]
Dvirtual_mouse_builder.cpp46 VirtualMouseBuilder::VirtualMouseBuilder() : VirtualDeviceBuilder(GetDeviceName(), BUS_USB, 0x93a, … in VirtualMouseBuilder()
131 VirtualDeviceBuilder::Daemonize(); in Mount()
141 VirtualDeviceBuilder::Unmount("mouse", "M"); in Unmount()
153 int32_t ret = VirtualDeviceBuilder::ScanFor( in Clone()
159 auto vDev = VirtualDeviceBuilder::Select(vDevs, "mouse"); in Clone()
163 VirtualDeviceBuilder vBuilder(GetDeviceName(), vDev); in Clone()
179 VirtualDeviceBuilder::Daemonize(); in Clone()
249 VirtualDeviceBuilder::WaitFor(optarg, "mouse"); in Act()
332 VirtualDeviceBuilder::WaitFor("mouse", SLEEP_TIME); in ReadDragToAction()
378 int32_t ret = VirtualDeviceBuilder::ReadFile(path, model); in ReadActions()
[all …]
Dvirtual_touchscreen_builder.cpp78 VirtualTouchScreenBuilder::VirtualTouchScreenBuilder() : VirtualDeviceBuilder(GetDeviceName(), BUS_… in VirtualTouchScreenBuilder()
160 VirtualDeviceBuilder::Daemonize(); in Mount()
169 VirtualDeviceBuilder::Unmount("touchscreen", "T"); in Unmount()
181 int32_t ret = VirtualDeviceBuilder::ScanFor( in Clone()
187 auto vDev = VirtualDeviceBuilder::Select(vDevs, "touchscreen"); in Clone()
191 VirtualDeviceBuilder vBuilder(GetDeviceName(), vDev); in Clone()
207 VirtualDeviceBuilder::Daemonize(); in Clone()
273 VirtualDeviceBuilder::WaitFor(optarg, "touchscreen"); in Act()
384 VirtualDeviceBuilder::WaitFor("touchscreen", SLEEP_TIME); in ReadDragToAction()
396 int32_t ret = VirtualDeviceBuilder::ReadFile(path, model); in ReadActions()
[all …]
/base/msdp/device_status/tools/vdev/include/
Dvirtual_device_builder.h34 class VirtualDeviceBuilder {
36VirtualDeviceBuilder(const std::string &name, uint16_t bustype, uint16_t vendor, uint16_t product);
37 VirtualDeviceBuilder(const std::string &name, std::shared_ptr<VirtualDevice> vDev);
38 virtual ~VirtualDeviceBuilder();
39 DISALLOW_COPY_AND_MOVE(VirtualDeviceBuilder);
Dvirtual_keyboard_builder.h26 class VirtualKeyboardBuilder final : public VirtualDeviceBuilder {
Dvirtual_touchscreen_builder.h28 class VirtualTouchScreenBuilder final : public VirtualDeviceBuilder {
Dvirtual_mouse_builder.h28 class VirtualMouseBuilder final : public VirtualDeviceBuilder {