Home
last modified time | relevance | path

Searched refs:dfd (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/minui/
Devents.cpp126 android::base::unique_fd dfd(openat(dirfd(dir.get()), pevent->name, O_RDONLY)); in inotify_cb() local
127 if (dfd == -1) { in inotify_cb()
131 if (!should_add_input_device(dfd, g_allow_touch_inputs)) { in inotify_cb()
136 ev_add_fd(std::move(dfd), g_saved_input_cb); in inotify_cb()
/bootable/recovery/uncrypt/
Duncrypt.cpp453 android::base::unique_fd dfd(open(dir_name.c_str(), O_RDONLY | O_DIRECTORY)); in ProductBlockMap() local
454 if (dfd == -1) { in ProductBlockMap()
458 if (fsync(dfd) == -1) { in ProductBlockMap()
462 if (close(dfd.release()) == -1) { in ProductBlockMap()
/bootable/recovery/updater/
Dblockimg.cpp128 android::base::unique_fd dfd(TEMP_FAILURE_RETRY(open(dirname.c_str(), O_RDONLY | O_DIRECTORY))); in FsyncDir() local
129 if (dfd == -1) { in FsyncDir()
134 if (fsync(dfd) == -1) { in FsyncDir()