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 | dump_maps_test.cpp | 70 log_.tfd = tombstone_fd; in SetUp() 84 if (log_.tfd >= 0) { in TearDown() 85 close(log_.tfd); in TearDown() 109 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 110 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 142 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 143 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 179 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 180 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 235 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() [all …]
|
/system/core/debuggerd/ |
D | utility.h | 46 int tfd; member 57 : tfd(-1), amfd(-1), crashed_tid(-1), current_tid(-1), should_retrieve_logcat(true) {} in log_t()
|
D | utility.cpp | 49 bool write_to_tombstone = (log->tfd != -1); in _LOG() 68 TEMP_FAILURE_RETRY(write(log->tfd, buf, len)); in _LOG()
|
D | backtrace.cpp | 116 log.tfd = fd; in dump_backtrace()
|
D | tombstone.cpp | 800 log.tfd = fd; in engrave_tombstone()
|