Home
last modified time | relevance | path

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

/aosp12/system/libbase/include/android-base/
H A Dunique_fd.h88 class unique_fd_impl final {
90 unique_fd_impl() {} in unique_fd_impl() function
92 explicit unique_fd_impl(int fd) { reset(fd); } in unique_fd_impl() function
93 ~unique_fd_impl() { reset(); } in ~unique_fd_impl()
95 unique_fd_impl(const unique_fd_impl&) = delete;
96 void operator=(const unique_fd_impl&) = delete;
97 unique_fd_impl(unique_fd_impl&& other) noexcept { reset(other.release()); } in unique_fd_impl() function
98 unique_fd_impl& operator=(unique_fd_impl&& s) noexcept {
178 using unique_fd = unique_fd_impl<DefaultCloser>;
184 inline bool Pipe(unique_fd_impl<Closer>* read, unique_fd_impl<Closer>* write,
[all …]
/aosp12/packages/modules/adb/
H A Dadb_unique_fd.h30 using unique_fd = android::base::unique_fd_impl<AdbCloser>;
38 int adb_close(const android::base::unique_fd_impl<T>&)
/aosp12/system/core/debuggerd/handler/
H A Ddebuggerd_handler.cpp74 using unique_fd = android::base::unique_fd_impl<FdsanBypassCloser>;