Home
last modified time | relevance | path

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

/system/core/libmemunreachable/tests/
DThreadCapture_test.cpp105 ThreadCapture thread_capture{getpid(), heap}; in WaitForThreads() local
108 EXPECT_TRUE(thread_capture.ListThreads(tids)); in WaitForThreads()
129 ThreadCapture thread_capture(getpid(), heap); in TEST_F() local
134 ASSERT_TRUE(thread_capture.ListThreads(list_tids)); in TEST_F()
155 ThreadCapture thread_capture(getpid(), heap); in TEST_P() local
157 ASSERT_TRUE(thread_capture.ListThreads(list_tids)); in TEST_P()
229 ThreadCapture thread_capture(child, heap); in TEST_P() local
232 ASSERT_TRUE(thread_capture.ListThreads(list_tids)); in TEST_P()
235 ASSERT_TRUE(thread_capture.CaptureThreads()); in TEST_P()
238 ASSERT_TRUE(thread_capture.CapturedThreadInfo(thread_info)); in TEST_P()
[all …]
/system/core/libmemunreachable/
DMemUnreachable.cpp281 ThreadCapture thread_capture(parent_pid, heap); in GetUnreachableMemory() local
286 if (!thread_capture.CaptureThreads()) { in GetUnreachableMemory()
292 if (!thread_capture.CapturedThreadInfo(thread_info)) { in GetUnreachableMemory()
308 thread_capture.ReleaseThread(parent_tid); in GetUnreachableMemory()