platform_system_core/base
Casey Dahlin 97b3e66d3e Introduce unique_fd
unique_fds are wrappers for integer file descriptors that automatically
close when they go out of scope. They are movable but not copyable and
generally mimic the semantics of std::unique_ptr

(cherry-pick from 918b9e8dc6)

Change-Id: I0657b848b6536d5ad9fc06686e240ea5c387b0ac
Test: Considerable exercise in new AIDL integration tests
Bug: None
Signed-off-by: Casey Dahlin <sadmac@google.com>
2016-02-25 17:02:17 -08:00
..
include Introduce unique_fd 2016-02-25 17:02:17 -08:00
.clang-format Revert "Revert "Create libbase."" 2015-03-16 10:08:46 -07:00
Android.mk Fix libbase's logging dependency. 2016-02-04 08:24:55 -08:00
CPPLINT.cfg Don't show lint errors for rvalue references. 2015-04-02 18:38:01 -07:00
errors_test.cpp base: add SystemErrorCodeToString() function. 2016-02-01 12:18:26 -08:00
errors_unix.cpp base: add SystemErrorCodeToString() function. 2016-02-01 12:18:26 -08:00
errors_windows.cpp base: add SystemErrorCodeToString() function. 2016-02-01 12:18:26 -08:00
file.cpp base: add API to remove file if it exists. 2016-01-29 19:24:55 -08:00
file_test.cpp base: add API to remove file if it exists. 2016-01-29 19:24:55 -08:00
logging.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
logging_test.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
parseint_test.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
parsenetaddress.cpp base: add network address parsing function from adb. 2016-01-21 20:03:33 -08:00
parsenetaddress_test.cpp base: add network address parsing function from adb. 2016-01-21 20:03:33 -08:00
stringprintf.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
stringprintf_test.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
strings.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
strings_test.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
test_main.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
test_utils.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
utf8.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
utf8_test.cpp Fix a couple sign-comparison warnings. 2016-01-15 12:18:14 -08:00