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.cpp199 size_t heapSize = mHeap->getSize(); in getMemory() local
201 && s <= heapSize in getMemory()
203 && (static_cast<size_t>(o) <= heapSize - s)) { in getMemory()
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h136 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.h253 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);
/frameworks/native/services/inputflinger/
DInputReader.cpp6656 uint32_t heapSize = 0; in assignPointerIds() local
6672 heap[heapSize].currentPointerIndex = currentPointerIndex; in assignPointerIds()
6673 heap[heapSize].lastPointerIndex = lastPointerIndex; in assignPointerIds()
6674 heap[heapSize].distance = distance; in assignPointerIds()
6675 heapSize += 1; in assignPointerIds()
6681 for (uint32_t startIndex = heapSize / 2; startIndex != 0; ) { in assignPointerIds()
6685 if (childIndex >= heapSize) { in assignPointerIds()
6689 if (childIndex + 1 < heapSize in assignPointerIds()
6704 ALOGD("assignPointerIds - initial distance min-heap: size=%d", heapSize); in assignPointerIds()
6705 for (size_t i = 0; i < heapSize; i++) { in assignPointerIds()
[all …]