Home
last modified time | relevance | path

Searched refs:devIndex (Results 1 - 12 of 12) sorted by relevance

/foundation/multimodalinput/input/tools/event_inject/src/
H A Dget_device_node.cpp33 int32_t GetDeviceNode::GetDeviceNodeName(const std::string &targetName, uint16_t devIndex, std::string &deviceNode) in GetDeviceNodeName() argument
53 if (devIndex > targetSize) { in GetDeviceNodeName()
54 MMI_HILOGE("Failed to devIndex:%{public}d > targetSize:%{public}zu", devIndex, targetSize); in GetDeviceNodeName()
58 deviceNode = nodeRootPath + iter->second[devIndex]; in GetDeviceNodeName()
59 MMI_HILOGI("%{public}s[%{public}d] --> %{public}s", targetName.c_str(), devIndex, in GetDeviceNodeName()
H A Dinjection_event_dispatch.cpp171 return item.devIndex; in GetDeviceIndex()
288 int32_t InjectionEventDispatch::GetDevTypeIndex(int32_t devIndex) const in GetDevTypeIndex()
291 if (devIndex == item.devIndex) { in GetDevTypeIndex()
302 return item.devIndex; in GetDevIndexType()
H A Dmanage_inject_device.cpp39 uint16_t devIndex = item.deviceIndex; in TransformJsonData() local
41 if (getDeviceNodeObject_.GetDeviceNodeName(deviceName, devIndex, deviceNode) == RET_ERR) { in TransformJsonData()
/foundation/window/window_manager_lite/services/ims/
H A Dinput_event_hub.h63 static InputDevType GetDeviceType(uint32_t devIndex);
64 static void EventCallback(const InputEventPackage **pkgs, uint32_t count, uint32_t devIndex);
H A Dinput_event_hub.cpp121 void InputEventHub::EventCallback(const InputEventPackage **pkgs, uint32_t count, uint32_t devIndex) in EventCallback() argument
158 InputDevType InputEventHub::GetDeviceType(uint32_t devIndex) in GetDeviceType() argument
160 switch (devIndex) { in GetDeviceType()
/foundation/multimodalinput/input/tools/event_inject/include/
H A Dget_device_node.h29 int32_t GetDeviceNodeName(const std::string &targetName, uint16_t devIndex, std::string &deviceNode);
H A Dmsg_head.h68 int32_t devIndex; member
H A Dinjection_event_dispatch.h44 int32_t GetDevTypeIndex(int32_t devIndex) const;
/foundation/multimodalinput/input/uinput/
H A Dhdf_device_event_dispatch.h34 int32_t EventPkgCallback(const std::vector<EventPackage> &pkgs, uint32_t devIndex) override;
H A Dhdf_device_event_dispatch.cpp38 int32_t HdfDeviceEventDispatch::EventPkgCallback(const std::vector<EventPackage> &pkgs, uint32_t devIndex) in EventPkgCallback() argument
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_dev.c157 int32_t devIndex; in GetInterfaceNameByIP() local
164 devIndex = FindDevByInterfaceIP(fd, ifc, buf, sourceIP); in GetInterfaceNameByIP()
166 if (devIndex >= 0) { in GetInterfaceNameByIP()
167 if (strcpy_s(interfaceName, nameLen, buf[devIndex].ifr_name) != EOK) { in GetInterfaceNameByIP()
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_dev.c157 int32_t devIndex; in GetInterfaceNameByIP() local
164 devIndex = FindDevByInterfaceIP(fd, ifc, buf, sourceIP); in GetInterfaceNameByIP()
166 if (devIndex >= 0) { in GetInterfaceNameByIP()
167 if (strcpy_s(interfaceName, nameLen, buf[devIndex].ifr_name) != EOK) { in GetInterfaceNameByIP()

Completed in 6 milliseconds