Searched refs:tfd (Results 1 – 6 of 6) sorted by relevance
/system/core/debuggerd/test/ |
D | dump_memory_test.cpp | 127 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 …]
|
D | tombstone_test.cpp | 70 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/ |
D | utility.h | 48 int tfd; member 59 : tfd(-1), amfd_data(nullptr), crashed_tid(-1), current_tid(-1), in log_t()
|
D | utility.cpp | 48 bool write_to_tombstone = (log->tfd != -1); in _LOG() 66 TEMP_FAILURE_RETRY(write(log->tfd, buf, len)); in _LOG()
|
D | backtrace.cpp | 103 log.tfd = fd; in dump_backtrace()
|
D | tombstone.cpp | 699 log.tfd = tombstone_fd; in engrave_tombstone()
|