Home
last modified time | relevance | path

Searched refs:heapSize (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libaudioclient/tests/
Dtest_create_audiotrack.cpp91 size_t heapSize = audio_channel_count_from_out_mask(channelMask) * in testTrack() local
93 heap = new MemoryDealer(heapSize, "AudioTrack Heap Base"); in testTrack()
94 sharedBuffer = heap->allocate(heapSize); in testTrack()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp262 size_t heapSize = mCaptureHeap->getSize(); in processNewCapture() local
263 if (jpegSize > heapSize) { in processNewCapture()
266 __FUNCTION__, jpegSize, heapSize); in processNewCapture()
267 jpegSize = heapSize; in processNewCapture()
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp309 sp<MemoryDealer> ACodecBufferChannel::makeMemoryDealer(size_t heapSize) { in makeMemoryDealer() argument
314 dealer = new MemoryDealer(heapSize, "ACodecBufferChannel"); in makeMemoryDealer()
351 size_t heapSize = totalSize + destinationBufferSize; in setInputBufferArray() local
352 if (heapSize > 0) { in setInputBufferArray()
353 mDealer = makeMemoryDealer(heapSize); in setInputBufferArray()
/frameworks/native/libs/binder/
DIMemory.cpp203 size_t heapSize = mHeap->getSize(); in getMemory() local
205 && s <= heapSize in getMemory()
207 && (static_cast<size_t>(o) <= heapSize - s)) { in getMemory()
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h136 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3730 uint32_t heapSize = 0; in assignPointerIds() local
3746 heap[heapSize].currentPointerIndex = currentPointerIndex; in assignPointerIds()
3747 heap[heapSize].lastPointerIndex = lastPointerIndex; in assignPointerIds()
3748 heap[heapSize].distance = distance; in assignPointerIds()
3749 heapSize += 1; in assignPointerIds()
3755 for (uint32_t startIndex = heapSize / 2; startIndex != 0;) { in assignPointerIds()
3759 if (childIndex >= heapSize) { in assignPointerIds()
3763 if (childIndex + 1 < heapSize && in assignPointerIds()
3778 ALOGD("assignPointerIds - initial distance min-heap: size=%d", heapSize); in assignPointerIds()
3779 for (size_t i = 0; i < heapSize; i++) { in assignPointerIds()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.h252 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);