Home
last modified time | relevance | path

Searched defs:borrowed_fd (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/include/binder/
Dunique_fd.h104 struct LIBBINDER_EXPORTED borrowed_fd { struct
105 /* implicit */ borrowed_fd(int fd) : fd_(fd) {} // NOLINT in borrowed_fd() function
106 /* implicit */ borrowed_fd(const unique_fd& ufd) : fd_(ufd.get()) {} // NOLINT in borrowed_fd() argument
108 int get() const { return fd_; } in get()
/frameworks/native/libs/binder/include/binder/
Dunique_fd.h104 struct LIBBINDER_EXPORTED borrowed_fd { struct
105 /* implicit */ borrowed_fd(int fd) : fd_(fd) {} // NOLINT in borrowed_fd() argument
106 /* implicit */ borrowed_fd(const unique_fd& ufd) : fd_(ufd.get()) {} // NOLINT in borrowed_fd() function
108 int get() const { return fd_; } in get()
/frameworks/native/libs/binder/trusty/
DOS.cpp57 status_t setNonBlocking(borrowed_fd /*fd*/) { in setNonBlocking() argument
88 const std::vector<std::variant<unique_fd, borrowed_fd>>* /* ancillaryFds */) { in sendMessageOnSocket() argument
95 std::vector<std::variant<unique_fd, borrowed_fd>>* /* ancillaryFds */) { in receiveMessageFromSocket() argument
/frameworks/native/libs/binder/
DRpcTransportTipcAndroid.cpp117 std::vector<std::variant<unique_fd, borrowed_fd>>* /*ancillaryFds*/) override { in interruptableReadFully() argument
/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp106 Process(const std::function<void(borrowed_fd /* writeEnd */, borrowed_fd /* readEnd */)>& f) { in Process()