Home
last modified time | relevance | path

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

/system/core/libmemunreachable/
DScopedDisableMalloc.h63 ScopedDisableMalloc() { disable_malloc_.Disable(); } in ScopedDisableMalloc()
65 ~ScopedDisableMalloc() { disable_malloc_.Enable(); } in ~ScopedDisableMalloc()
69 DisableMallocGuard disable_malloc_; variable
76 : timeout_(timeout), timed_out_(false), disable_malloc_() { in timeout_()
85 disable_malloc_.Enable(); in Enable()
92 disable_malloc_.Enable(); in Disable()
96 disable_malloc_.Disable(); in Disable()
104 DisableMallocGuard disable_malloc_; variable
/system/core/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