/system/core/libmemunreachable/tests/ |
D | Allocator_test.cpp | 28 AllocatorTest() : heap(), disable_malloc_() {} in AllocatorTest() 32 ASSERT_TRUE(heap.empty()); in TearDown() 35 Heap heap; member in android::AllocatorTest 42 Allocator<char[100]> allocator(heap); in TEST_F() 49 Allocator<char[100]> allocator(heap); in TEST_F() 65 Allocator<char[size]> allocator(heap); in TEST_F() 89 Allocator<char[size]> allocator(heap); in TEST_F() 98 Allocator<char[size]> allocator(heap); in TEST_F() 113 Allocator<char[100]> a(heap); in TEST_F() 117 Allocator<char[100]> e(heap); in TEST_F() [all …]
|
D | ThreadCapture_test.cpp | 52 virtual void TearDown() { ASSERT_TRUE(heap.empty()); } in TearDown() 100 Heap heap; member in android::ThreadListTest 104 auto tids = TidList{heap}; in WaitForThreads() 105 ThreadCapture thread_capture{getpid(), heap}; in WaitForThreads() 129 ThreadCapture thread_capture(getpid(), heap); in TEST_F() 131 auto expected_tids = allocator::vector<pid_t>(1, getpid(), heap); in TEST_F() 132 auto list_tids = allocator::vector<pid_t>(heap); in TEST_F() 150 auto list_tids = allocator::vector<pid_t>(heap); in TEST_P() 155 ThreadCapture thread_capture(getpid(), heap); in TEST_P() 228 ThreadCapture thread_capture(child, heap); in TEST_P() [all …]
|
D | Binder_test.cpp | 153 Heap heap; in TEST_F() local 154 allocator::vector<uintptr_t> refs{heap}; in TEST_F()
|
/system/libhidl/libhidlcache/ |
D | HidlMemoryCache.cpp | 33 MemoryDecorator(const sp<IMemory>& heap) : mHeap(heap) {} in MemoryDecorator() argument 54 MemoryCacheable(const sp<IMemory>& heap, sp<IMemoryToken> key) in MemoryCacheable() argument 55 : MemoryDecorator(heap), mKey(key) {} in MemoryCacheable() 64 MemoryBlockImpl(const sp<IMemory>& heap, uint64_t size, uint64_t offset) in MemoryBlockImpl() argument 65 : mHeap(heap), mSize(size), mOffset(offset), mHeapSize(heap->getSize()) {} in MemoryBlockImpl() 119 sp<IMemory> heap = fetch(token); in map() local 120 if (heap == nullptr) { in map() 123 return new MemoryBlockImpl(heap, memblk.size, memblk.offset); in map()
|
D | MemoryDealer.cpp | 287 sp<::android::hidl::memory::V1_0::IMemory> HidlMemoryDealer::heap() { in heap() function in android::hardware::HidlMemoryDealer 300 sp<IMemory> heap = mapMemory(mem); in getInstance() local 301 if (heap == nullptr) { in getInstance() 305 return new HidlMemoryDealer(heap, mem); in getInstance() 308 HidlMemoryDealer::HidlMemoryDealer(sp<IMemory> heap, const hidl_memory& mem) in HidlMemoryDealer() argument 309 : MemoryDealer(heap->getSize()), in HidlMemoryDealer() 310 mHeap(heap), in HidlMemoryDealer()
|
D | libhidlcache_test.cpp | 141 EXPECT_EQ(dealer->heap()->getSize(), 4096ULL); in TEST_F()
|
/system/libhidl/transport/allocator/1.0/utils/ |
D | FrameworkUtils.cpp | 25 sp<HidlMemory> fromHeap(const sp<IMemoryHeap>& heap) { in fromHeap() argument 26 int fd = dup(heap->getHeapID()); in fromHeap() 35 return HidlMemory::getInstance("ashmem", fd, heap->getSize()); in fromHeap()
|
/system/libhidl/libhidlcache/include/hidlcache/ |
D | MemoryDealer.h | 67 virtual sp<IMemory> heap(); 72 HidlMemoryDealer(sp<IMemory> heap, const hidl_memory& memory);
|
/system/libhidl/transport/allocator/1.0/utils/include/hidlmemory/ |
D | FrameworkUtils.h | 31 sp<HidlMemory> fromHeap(const sp<IMemoryHeap>& heap);
|
/system/core/libmemunreachable/ |
D | MemUnreachable.cpp | 286 Heap heap; in GetUnreachableMemory() local 297 ThreadCapture thread_capture(parent_pid, heap); in GetUnreachableMemory() 298 allocator::vector<ThreadInfo> thread_info(heap); in GetUnreachableMemory() 299 allocator::vector<Mapping> mappings(heap); in GetUnreachableMemory() 300 allocator::vector<uintptr_t> refs(heap); in GetUnreachableMemory() 348 MemUnreachable unreachable{parent_pid, heap}; in GetUnreachableMemory() 356 allocator::vector<Leak> leaks{heap}; in GetUnreachableMemory()
|
D | Allocator.cpp | 168 Chunk(HeapImpl* heap, int bucket); 184 HeapImpl* heap() { return heap_; } in heap() function in android::Chunk 230 Chunk::Chunk(HeapImpl* heap, int bucket) in Chunk() argument 232 heap_(heap), in Chunk() 382 assert(chunk->heap() == this); in FreeLocked()
|
D | Allocator.h | 108 STLAllocator(const Heap& heap) in STLAllocator() argument 110 heap_(heap) {} in STLAllocator()
|
D | README.md | 67 …s is produced by examining the memory mappings and calling `malloc_iterate()` on any heap mappings. 91 - `malloc_iterate()`: call a callback on each active allocation in a given heap region.
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | domain.te | 9 # whether to load the heap profiling library. This does not necessarily enable 10 # heap profiling, as initialization will fail if it does not have the 13 # Allow heap profiling on debug builds.
|
D | heapprofd.te | 1 # Android heap profiling daemon. go/heapprofd.
|
D | ephemeral_app.te | 59 # Allow heap profiling if the app opts in by being marked
|
D | isolated_app.te | 63 # Allow heap profiling if the main app has been marked as profileable or
|
/system/sepolicy/private/ |
D | domain.te | 9 # whether to load the heap profiling library. This does not necessarily enable 10 # heap profiling, as initialization will fail if it does not have the 13 # Allow heap profiling on debug builds.
|
D | heapprofd.te | 1 # Android heap profiling daemon. go/heapprofd.
|
D | ephemeral_app.te | 59 # Allow heap profiling if the app opts in by being marked
|
D | isolated_app.te | 63 # Allow heap profiling if the main app has been marked as profileable or
|
D | untrusted_app_all.te | 151 # Allow heap profiling if the app opts in by being marked
|
/system/sepolicy/public/ |
D | te_macros | 648 # Allow processes within the domain to have their heap profiled by heapprofd. 676 # Allow processes within the domain to have their heap profiled by heapprofd on 706 # Opt out of heap profiling by heapprofd.
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | te_macros | 648 # Allow processes within the domain to have their heap profiled by heapprofd. 676 # Allow processes within the domain to have their heap profiled by heapprofd on 706 # Opt out of heap profiling by heapprofd.
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | app.te | 155 # Send heap dumps to system_server via an already open file descriptor 156 # % adb shell am set-watch-heap com.android.systemui 1048576
|