Home
last modified time | relevance | path

Searched refs:tfd (Results 1 – 6 of 6) sorted by relevance

/system/core/debuggerd/test/
Ddump_memory_test.cpp127 log_.tfd = tombstone_fd; in SetUp()
137 if (log_.tfd >= 0) { in TearDown()
138 close(log_.tfd); in TearDown()
158 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
159 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
178 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
179 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
197 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
198 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
210 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
[all …]
Dtombstone_test.cpp70 log_.tfd = tombstone_fd; in SetUp()
85 if (log_.tfd >= 0) { in TearDown()
86 close(log_.tfd); in TearDown()
111 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
112 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
146 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
147 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
185 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
186 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
243 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
[all …]
/system/core/debuggerd/
Dutility.h48 int tfd; member
59 : tfd(-1), amfd_data(nullptr), crashed_tid(-1), current_tid(-1), in log_t()
Dutility.cpp48 bool write_to_tombstone = (log->tfd != -1); in _LOG()
66 TEMP_FAILURE_RETRY(write(log->tfd, buf, len)); in _LOG()
Dbacktrace.cpp103 log.tfd = fd; in dump_backtrace()
Dtombstone.cpp699 log.tfd = tombstone_fd; in engrave_tombstone()