platform_system_core/base/include/android-base
Christopher Ferris eea85c9aab Add Start/Stop/Reset to CapturedStdFd.
Move the fd() function to be private since it should not have been
exposed in the first place.

Fix the way logging_test uses CapturedXXX.

Adding this because the new isolated testing doesn't print errors to
stderr so the ASSERT_ EXPECT_ messages can get swallowed. Also, it's easier
to reuse a CapturedXXX object in a test with these functions.

Test: New unit tests pass.
Change-Id: I38b113fc184146ce434802f80a9b7997fa83e78a
2018-09-04 14:29:23 -07:00
..
chrono_utils.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
endian.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
errors.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
file.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
logging.h Remove unused logging symbols. 2018-07-31 16:33:38 -07:00
macros.h libbase: assume clang. 2018-07-02 10:53:22 -07:00
memory.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
parsedouble.h ParseFloat/ParseDouble, also take std::string 2018-08-09 10:49:45 -07:00
parseint.h Set errno for all error return cases. 2018-08-29 10:47:06 -07:00
parsenetaddress.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
properties.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
quick_exit.h base: add quick_exit emulation. 2016-09-13 17:54:50 -07:00
scopeguard.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
stringprintf.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
strings.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
test_utils.h Add Start/Stop/Reset to CapturedStdFd. 2018-09-04 14:29:23 -07:00
thread_annotations.h libbase: assume clang. 2018-07-02 10:53:22 -07:00
threads.h Move libbacktrace off cutils. 2018-07-11 13:55:07 -07:00
unique_fd.h Revert "Revert "base: add support for tagged fd closure to unique_fd."" 2018-07-20 13:50:15 -07:00
utf8.h base: remove execute bit from utf8.h 2018-08-11 12:28:39 -07:00