Home
last modified time | relevance | path

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

/system/libbase/include/android-base/
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 {
119 bool operator==(const unique_fd_impl& rhs) const { return get() == rhs.get(); }
120 bool operator!=(const unique_fd_impl& rhs) const { return get() != rhs.get(); }
[all …]
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp74 using unique_fd = android::base::unique_fd_impl<FdsanBypassCloser>;