Searched refs:heapSize (Results 1 – 6 of 6) sorted by relevance
285 size_t heapSize = mCaptureHeap->getSize(); in processNewCapture() local286 if (jpegSize > heapSize) { in processNewCapture()289 __FUNCTION__, jpegSize, heapSize); in processNewCapture()290 jpegSize = heapSize; in processNewCapture()
268 sp<MemoryDealer> ACodecBufferChannel::makeMemoryDealer(size_t heapSize) { in makeMemoryDealer() argument273 dealer = new MemoryDealer(heapSize, "ACodecBufferChannel"); in makeMemoryDealer()302 size_t heapSize = totalSize + destinationBufferSize; in setInputBufferArray() local303 if (heapSize > 0) { in setInputBufferArray()304 mDealer = makeMemoryDealer(heapSize); in setInputBufferArray()
196 size_t heapSize = mHeap->getSize(); in getMemory() local197 if (s <= heapSize in getMemory()199 && (static_cast<size_t>(o) <= heapSize - s)) { in getMemory()
131 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);
6461 uint32_t heapSize = 0; in assignPointerIds() local6477 heap[heapSize].currentPointerIndex = currentPointerIndex; in assignPointerIds()6478 heap[heapSize].lastPointerIndex = lastPointerIndex; in assignPointerIds()6479 heap[heapSize].distance = distance; in assignPointerIds()6480 heapSize += 1; in assignPointerIds()6486 for (uint32_t startIndex = heapSize / 2; startIndex != 0; ) { in assignPointerIds()6490 if (childIndex >= heapSize) { in assignPointerIds()6494 if (childIndex + 1 < heapSize in assignPointerIds()6509 ALOGD("assignPointerIds - initial distance min-heap: size=%d", heapSize); in assignPointerIds()6510 for (size_t i = 0; i < heapSize; i++) { in assignPointerIds()[all …]
1497 size_t heapSize = property_get_int32("ro.af.client_heap_size_kbyte", 0); in Client() local1498 heapSize *= 1024; in Client()1499 if (!heapSize) { in Client()1500 heapSize = kClientSharedHeapSizeBytes; in Client()1504 heapSize *= kClientSharedHeapSizeMultiplier; in Client()1507 mMemoryDealer = new MemoryDealer(heapSize, "AudioFlinger::Client"); in Client()