Home
last modified time | relevance | path

Searched refs:disable_malloc_ (Results 1 – 4 of 4) sorted by relevance

/system/memory/libmemunreachable/
DScopedDisableMalloc.h63 ScopedDisableMalloc() { disable_malloc_.Disable(); } in ScopedDisableMalloc()
65 ~ScopedDisableMalloc() { disable_malloc_.Enable(); } in ~ScopedDisableMalloc()
69 DisableMallocGuard disable_malloc_; variable
75 : timeout_(timeout), timed_out_(false), disable_malloc_() { in timeout_()
84 disable_malloc_.Enable(); in Enable()
91 disable_malloc_.Enable(); in Disable()
95 disable_malloc_.Disable(); in Disable()
103 DisableMallocGuard disable_malloc_; variable
/system/memory/libmemunreachable/tests/
DHeapWalker_test.cpp30 HeapWalkerTest() : disable_malloc_(), heap_() {} in HeapWalkerTest()
35 ASSERT_FALSE(disable_malloc_.timed_out()); in TearDown()
40 ScopedDisableMallocTimeout disable_malloc_; member in android::HeapWalkerTest
86 disable_malloc_.Enable(); in TEST_F()
DAllocator_test.cpp28 AllocatorTest() : heap(), disable_malloc_() {} in AllocatorTest()
33 ASSERT_FALSE(disable_malloc_.timed_out()); in TearDown()
38 ScopedDisableMallocTimeout disable_malloc_; member in android::AllocatorTest
DLeakFolding_test.cpp28 LeakFoldingTest() : disable_malloc_(), heap_() {} in LeakFoldingTest()
33 ASSERT_FALSE(disable_malloc_.timed_out()); in TearDown()
38 ScopedDisableMallocTimeout disable_malloc_; member in android::LeakFoldingTest