Searched refs:unique_fd_impl (Results 1 – 2 of 2) sorted by relevance
88 class unique_fd_impl final {90 unique_fd_impl() {} in unique_fd_impl() function92 explicit unique_fd_impl(int fd) { reset(fd); } in unique_fd_impl() function93 ~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() function98 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 …]
74 using unique_fd = android::base::unique_fd_impl<FdsanBypassCloser>;