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()
203 size_t heapSize = mHeap->getSize(); in getMemory() local205 && s <= heapSize in getMemory()207 && (static_cast<size_t>(o) <= heapSize - s)) { in getMemory()
136 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);
3730 uint32_t heapSize = 0; in assignPointerIds() local3746 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 …]
252 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);