Home
last modified time | relevance | path

Searched refs:CapturedStdFd (Results 1 – 2 of 2) sorted by relevance

/system/libbase/
Dtest_utils.cpp30 CapturedStdFd::CapturedStdFd(int std_fd) : std_fd_(std_fd), old_fd_(-1) { in CapturedStdFd() function in CapturedStdFd
34 CapturedStdFd::~CapturedStdFd() { in ~CapturedStdFd()
40 int CapturedStdFd::fd() const { in fd()
44 std::string CapturedStdFd::str() { in str()
51 void CapturedStdFd::Reset() { in Reset()
58 void CapturedStdFd::Start() { in Start()
69 void CapturedStdFd::Stop() { in Stop()
/system/libbase/include/android-base/
Dtest_utils.h25 class CapturedStdFd {
27 CapturedStdFd(int std_fd);
28 ~CapturedStdFd();
43 DISALLOW_COPY_AND_ASSIGN(CapturedStdFd);
46 class CapturedStderr : public CapturedStdFd {
48 CapturedStderr() : CapturedStdFd(STDERR_FILENO) {} in CapturedStderr()
51 class CapturedStdout : public CapturedStdFd {
53 CapturedStdout() : CapturedStdFd(STDOUT_FILENO) {} in CapturedStdout()