Home
last modified time | relevance | path

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

/foundation/distributedhardware/distributed_input/utils/src/
H A Ddinput_utils_tool.cpp305 char canonicalDevicePath[PATH_MAX] = {0x00}; in OpenInputDeviceFdByPath() local
307 realpath(devicePath.c_str(), canonicalDevicePath) == nullptr) { in OpenInputDeviceFdByPath()
312 if ((stat(canonicalDevicePath, &s) == 0) && (s.st_mode & S_IFDIR)) { in OpenInputDeviceFdByPath()
316 int fd = open(canonicalDevicePath, O_RDWR | O_CLOEXEC); in OpenInputDeviceFdByPath()
321 fd = open(canonicalDevicePath, O_RDWR | O_CLOEXEC); in OpenInputDeviceFdByPath()

Completed in 2 milliseconds