Searched refs:heapSize (Results 1 – 7 of 7) sorted by relevance
91 size_t heapSize = audio_channel_count_from_out_mask(channelMask) * in testTrack() local93 heap = new MemoryDealer(heapSize, "AudioTrack Heap Base"); in testTrack()94 sharedBuffer = heap->allocate(heapSize); in testTrack()
262 size_t heapSize = mCaptureHeap->getSize(); in processNewCapture() local263 if (jpegSize > heapSize) { in processNewCapture()266 __FUNCTION__, jpegSize, heapSize); in processNewCapture()267 jpegSize = heapSize; in processNewCapture()
309 sp<MemoryDealer> ACodecBufferChannel::makeMemoryDealer(size_t heapSize) { in makeMemoryDealer() argument314 dealer = new MemoryDealer(heapSize, "ACodecBufferChannel"); in makeMemoryDealer()351 size_t heapSize = totalSize + destinationBufferSize; in setInputBufferArray() local352 if (heapSize > 0) { in setInputBufferArray()353 mDealer = makeMemoryDealer(heapSize); in setInputBufferArray()
199 size_t heapSize = mHeap->getSize(); in getMemory() local201 && s <= heapSize in getMemory()203 && (static_cast<size_t>(o) <= heapSize - s)) { in getMemory()
136 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);
253 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);
6656 uint32_t heapSize = 0; in assignPointerIds() local6672 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 …]