Home
last modified time | relevance | path

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

/system/memory/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()
228 ThreadCapture thread_capture(child, heap); in TEST_P() local
231 ASSERT_TRUE(thread_capture.ListThreads(list_tids)); in TEST_P()
234 ASSERT_TRUE(thread_capture.CaptureThreads()); in TEST_P()
237 ASSERT_TRUE(thread_capture.CapturedThreadInfo(thread_info)); in TEST_P()
[all …]
/system/memory/libmemunreachable/
DMemUnreachable.cpp306 ThreadCapture thread_capture(parent_pid, heap); in GetUnreachableMemory() local
312 if (!thread_capture.CaptureThreads()) { in GetUnreachableMemory()
318 if (!thread_capture.CapturedThreadInfo(thread_info)) { in GetUnreachableMemory()
339 thread_capture.ReleaseThread(parent_tid); in GetUnreachableMemory()