commit | 365f94f828ebd8aa5f55e3a3882f847960ed6bb5 | [log] [tgz] |
---|---|---|
author | Orion Hodson <oth@google.com> | Wed Jan 13 16:27:57 2021 +0000 |
committer | Orion Hodson <oth@google.com> | Thu Jan 14 10:58:35 2021 +0000 |
tree | b9f8bac488e85093e203f8c079a13dd44a7c033d | |
parent | 923141b0faf9a0ea3b61bf0a507d95578b2b95e6 [diff] |
Minor updates to fd_file.h * Add a static IsOpenFd() method for checking if fd is open. * File::IsOpened() now checks when underlying FD is open (not just valid) * Centralize a definition for kInvalidFd in art projects. Test: art_libartbase_tests Change-Id: Ic5db8b6c80e184308c6ad8979ed31585120eb89f