Home
last modified time | relevance | path

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

/system/core/init/
Dkeychords.cpp235 std::string devname(kDevicePath); in InotifyHandler()
252 PLOG(WARNING) << "Could not instantiate inotify for " << kDevicePath; in GeteventOpenDevice()
253 } else if (::inotify_add_watch(inotify_fd_, kDevicePath, IN_DELETE | IN_CREATE | IN_ONLYDIR) < in GeteventOpenDevice()
255 PLOG(WARNING) << "Could not add watch for " << kDevicePath; in GeteventOpenDevice()
260 std::unique_ptr<DIR, decltype(&closedir)> device(opendir(kDevicePath), closedir); in GeteventOpenDevice()
265 std::string devname(kDevicePath); in GeteventOpenDevice()
Dkeychords.h73 static constexpr char kDevicePath[] = "/dev/input"; variable