Home
last modified time | relevance | path

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

/aosp14/frameworks/base/media/tests/audiotests/
H A Dshared_mem_test.cpp72 sp<MemoryDealer> heap; in Test01() local
91 heap = new MemoryDealer(1024*1024, "AudioTrack Heap Base"); in Test01()
93 iMem = heap->allocate(BUF_SZ*sizeof(short)); in Test01()
120 heap.clear(); in Test01()
/aosp14/frameworks/base/media/jni/soundpool/
H A DSound.cpp50 audio_channel_mask_t *channelMask, const sp<MemoryHeapBase>& heap, in decode() argument
84 auto writePos = static_cast<uint8_t*>(heap->getBase()); in decode()
85 size_t available = heap->getSize(); in decode()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DCancellationSignalBeamerTest.java201 File heap = new File(mContext.getExternalFilesDir(null), "dump.hprof"); in waitForWithGc()
202 Debug.dumpHprofData(heap.getAbsolutePath()); in waitForWithGc()
/aosp14/frameworks/base/core/proto/android/server/
H A Dactivitymanagerservice.proto164 // The proportional set size for the heap.
166 // The proportional set size that is swappable for the heap.
168 // The private dirty pages used by the heap.
170 // The shared dirty pages used by the heap.
172 // The shared clean pages used by the heap.
174 // The private clean pages used by the heap.
182 // The rss set size for the heap.
328 // Java heap limit of those devices); some devices with more memory may have
332 // application is running with a large heap. This is the space available for
338 // This is the size of the application's Dalvik heap if it has specified
/aosp14/frameworks/base/media/jni/
H A Dandroid_media_MediaDescrambler.cpp190 sp<IMemoryHeap> heap = mMem->getMemory(&offset, &size); in ensureBufferCapacity() local
191 if (heap == NULL) { in ensureBufferCapacity()
195 mHidlMemory = fromHeap(heap); in ensureBufferCapacity()
/aosp14/frameworks/base/libs/hwui/hwui/
H A DBitmap.cpp266 mPixelStorage.heap.address = address; in Bitmap()
267 mPixelStorage.heap.size = size; in Bitmap()
315 free(mPixelStorage.heap.address); in ~Bitmap()
350 return mPixelStorage.heap.size; in getAllocationByteCount()
H A DBitmap.h220 } heap; member
/aosp14/system/core/debuggerd/proto/
H A Dtombstone.proto109 HeapObject heap = 3;
/aosp14/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp224 const auto heap = sp<MemoryHeapBase>::make(sizeInBytes, 0, "AudioTrack Heap Base"); in allocSharedMem() local
225 if (heap->getBase() == MAP_FAILED || heap->getBase() == nullptr) { in allocSharedMem()
228 return sp<MemoryBase>::make(heap, 0, sizeInBytes); in allocSharedMem()
H A Dandroid_hardware_Camera.cpp258 sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size); in copyAndPost() local
259 if (heap == NULL) { in copyAndPost()
264 uint8_t *heapBase = (uint8_t*)heap->base(); in copyAndPost()
/aosp14/system/core/debuggerd/libdebuggerd/
H A Dtombstone_proto_to_text.cpp453 const HeapObject& heap_object = cause.memory_error().heap(); in print_main_thread()
H A Dtombstone_proto.cpp132 const HeapObject& heap_object = memory_error.heap(); in set_human_readable_cause()
/aosp14/frameworks/base/boot/
H A Dpreloaded-classes20 # common heap between apps.
/aosp14/frameworks/base/config/
H A Dpreloaded-classes20 # common heap between apps.