Home
last modified time | relevance | path

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

/aosp12/system/memory/libmemunreachable/tests/
H A 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
263 ThreadCapture thread_capture(ret, heap); in TEST_F() local
264 thread_capture.InjectTestFunc([&](pid_t tid) { in TEST_F()
273 ASSERT_FALSE(thread_capture.CaptureThreads()); in TEST_F()
[all …]
/aosp12/system/memory/libmemunreachable/
H A 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()