Home
last modified time | relevance | path

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

/system/core/base/include/android-base/
Dunique_fd.h53 class unique_fd_impl final {
55 unique_fd_impl() : value_(-1) {} in unique_fd_impl() function
57 explicit unique_fd_impl(int value) : value_(value) {} in unique_fd_impl() function
58 ~unique_fd_impl() { reset(); } in ~unique_fd_impl()
60 unique_fd_impl(unique_fd_impl&& other) : value_(other.release()) {} in unique_fd_impl() function
61 unique_fd_impl& operator=(unique_fd_impl&& s) {
85 unique_fd_impl(const unique_fd_impl&);
86 void operator=(const unique_fd_impl&);
89 using unique_fd = unique_fd_impl<DefaultCloser>;
95 int close(const android::base::unique_fd_impl<T>&)
/system/core/adb/
Dadb_unique_fd.h26 using unique_fd = android::base::unique_fd_impl<AdbCloser>;