diff options
author | 2023-10-16 22:01:04 +0000 | |
---|---|---|
committer | 2023-10-16 22:01:04 +0000 | |
commit | 3f4c4957a69f60df33fffb56a07edcfe523a13d4 (patch) | |
tree | c7d5914dadfd6766bfbd62ac96c2d32ef344fa3d /libs/binder/OS.h | |
parent | ed27e9e9f51301f27e38eca9504bc4d4de6d8838 (diff) | |
parent | 0d9dec207e5c9b208ff841a4f73a91046c92ed25 (diff) |
Merge "Binder: Split OS to Android and Unix part, abstract GetThreadId out" into main
Diffstat (limited to 'libs/binder/OS.h')
-rw-r--r-- | libs/binder/OS.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/binder/OS.h b/libs/binder/OS.h index fecae31763..db4b7a5379 100644 --- a/libs/binder/OS.h +++ b/libs/binder/OS.h @@ -23,7 +23,7 @@ #include <binder/RpcTransport.h> #include <utils/Errors.h> -namespace android { +namespace android::binder::os { android::base::Result<void> setNonBlocking(android::base::borrowed_fd fd); @@ -41,4 +41,6 @@ ssize_t receiveMessageFromSocket( const RpcTransportFd& socket, iovec* iovs, int niovs, std::vector<std::variant<base::unique_fd, base::borrowed_fd>>* ancillaryFds); -} // namespace android +uint64_t GetThreadId(); + +} // namespace android::binder::os |