platform_system_core/base
Bernie Innocenti 7cb72c96b4 Disallow operator!() on unique_fd
This catches a common mistake where client code checks for errors using
the common idiom that works for std::iostream and other file-like
classes:

  unique_fd fd = open(...);
  if (!fd) {
  }

Test: atest libbase_test
Test: m droid
Change-Id: I9629a7795537ecb3b57be9c741c06f80967e4cc2
2019-03-28 15:56:07 +09:00
..
include/android-base Disallow operator!() on unique_fd 2019-03-28 15:56:07 +09:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp base: add helpers for sending/receiving file descriptors. 2019-02-13 13:21:54 -08:00
chrono_utils.cpp base: adb.exe build error 2018-02-05 09:33:10 -08:00
chrono_utils_test.cpp Move Timer from init to libbase 2017-07-10 09:28:24 -07:00
cmsg.cpp Hopefully fix more darwin build breakage. 2019-02-19 14:37:02 -08:00
cmsg_test.cpp base: add helpers for sending/receiving file descriptors. 2019-02-13 13:21:54 -08:00
CPPLINT.cfg
endian_test.cpp Add cross-platform <android-base/endian.h>. 2017-02-24 14:03:36 -08:00
errors_test.cpp
errors_unix.cpp
errors_windows.cpp
file.cpp libbase: realpath is wrapped with TEMP_FAILURE_RETRY 2019-03-22 14:26:25 -07:00
file_test.cpp switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 09:35:34 -08:00
logging.cpp Base: Explicitly set abort message on FATAL 2018-12-05 12:59:15 -08:00
logging_test.cpp Add Start/Stop/Reset to CapturedStdFd. 2018-09-04 14:29:23 -07:00
macros_test.cpp Add SIZEOF_MEMBER. 2018-04-11 12:29:50 -07:00
mapped_file.cpp Support zero-length mapped files 2019-03-07 16:12:55 -08:00
mapped_file_test.cpp MappedFile and FileMap should support zero-length mappings. 2019-02-06 14:29:35 -08:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
parsedouble_test.cpp Add ParseFloat (in parsedouble.h). 2018-08-08 18:17:21 -07:00
parseint_test.cpp Set errno for all error return cases. 2018-08-29 10:47:06 -07:00
parsenetaddress.cpp
parsenetaddress_test.cpp
properties.cpp libbase: add host properties support. 2018-05-24 18:04:31 -07:00
properties_test.cpp libbase: add host properties support. 2018-05-24 18:04:31 -07:00
quick_exit.cpp
quick_exit_test.cpp
scopeguard_test.cpp Allow android::base::ScopeGuard in STL containers 2018-03-26 13:30:09 -07:00
stringprintf.cpp
stringprintf_test.cpp
strings.cpp [base] Convert Starts/Ends/Equals string functions to string_view 2019-03-21 16:29:46 +00:00
strings_test.cpp libbase: support char parameter in StartsWith/EndsWith. 2018-10-30 17:20:50 -07:00
test_main.cpp
test_utils.cpp base: move TemporaryFile and TemporaryDir to android-base/file.h 2018-11-13 12:44:21 -08:00
test_utils_test.cpp Add Start/Stop/Reset to CapturedStdFd. 2018-09-04 14:29:23 -07:00
threads.cpp Move libbacktrace off cutils. 2018-07-11 13:55:07 -07:00
utf8.cpp Fix / suppress new unused warnings for mingw+clang 2017-11-29 21:37:28 -08:00
utf8_test.cpp switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 09:35:34 -08:00