Home
last modified time | relevance | path

Searched refs:allocations (Results 1 – 14 of 14) sorted by relevance

/system/chre/util/tests/
Dmemory_pool_test.cc73 std::vector<AllocationExpectedValuePair> allocations; in TEST() local
84 allocations.push_back(allocation); in TEST()
91 while (!allocations.empty()) { in TEST()
94 std::uniform_int_distribution<> distribution(0, allocations.size() - 1); in TEST()
98 EXPECT_EQ(*allocations[deallocateIndex].allocation, in TEST()
99 allocations[deallocateIndex].expectedValue); in TEST()
100 memoryPool.deallocate(allocations[deallocateIndex].allocation); in TEST()
103 allocations.erase(allocations.begin() + deallocateIndex); in TEST()
/system/bt/osi/src/
Dallocation_tracker.cc42 static std::unordered_map<void*, allocation_t*> allocations; variable
69 allocations.clear(); in allocation_tracker_uninit()
77 allocations.clear(); in allocation_tracker_reset()
86 for (const auto& entry : allocations) { in allocation_tracker_expect_no_allocations()
112 auto map_entry = allocations.find(return_ptr); in allocation_tracker_notify_alloc()
114 if (map_entry != allocations.end()) { in allocation_tracker_notify_alloc()
119 allocations[return_ptr] = allocation; in allocation_tracker_notify_alloc()
141 auto map_entry = allocations.find(ptr); in allocation_tracker_notify_free()
142 CHECK(map_entry != allocations.end()); in allocation_tracker_notify_free()
166 allocations.erase(ptr); in allocation_tracker_notify_free()
/system/memory/libmemunreachable/
DREADME.md6 …all to malloc and free, it queries the allocator (jemalloc) for active allocations when leak detec…
8 …enabled they will be included in the leak information, but backtracing allocations requires signif…
19 To enable malloc\_debug backtraces on allocations for a single app process on a userdebug device, u…
67 …10. *Sweeper process*: A list of all active allocations is produced by examining the memory mappin…
70 13. Unmarked allocations are sent over the pipe back to the original process.
81 - `HeapWalker.cpp`: Performs the mark-and-sweep pass over active allocations.
87 …quires a small interface to the allocator in order to collect information about active allocations.
90 - `malloc enable()`: re-enable allocations in all threads.
/system/bt/
DEventLogTags.logtags29 # 4: Number of allocations
/system/core/storaged/
DEventLogTags.logtags30 # 4: Number of allocations
/system/logging/logd/
Devent.logtags29 # 4: Number of allocations
/system/logging/liblog/
Devent.logtags29 # 4: Number of allocations
/system/memory/lmkd/
Devent.logtags29 # 4: Number of allocations
/system/extras/memory_replay/traces/
DREADME2 the memory allocations of a set of apps.
/system/chre/doc/
Dnanoapp_developer_guide.md218 #### Avoid dynamic heap allocations where possible
221 runtime memory allocation will succeed. In addition, dynamic heap allocations
223 therefore encouraged to use static allocations where possible.
228 fixed stack of limited size (8KB is typical). Ensure you keep any allocations to
229 an absolute minimum and any large allocations should go out of scope prior to
/system/logging/logcat/
Devent.logtags30 # 4: Number of allocations
/system/sepolicy/prebuilts/api/30.0/public/
Dte_macros712 # We need to write to /proc/$PID/page_idle to find idle allocations.
/system/sepolicy/prebuilts/api/31.0/public/
Dte_macros754 # We need to write to /proc/$PID/page_idle to find idle allocations.
/system/sepolicy/public/
Dte_macros754 # We need to write to /proc/$PID/page_idle to find idle allocations.