Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/libaudioclient/tests/
H A 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()
/aosp12/frameworks/av/media/libshmem/
H A DShmemCompat.cpp45 const uint64_t heapSize = heapEndOffset - heapStartOffset; in convertSharedFileRegionToIMemory() local
48 heapSize > std::numeric_limits<size_t>::max()) { in convertSharedFileRegionToIMemory()
55 new MemoryHeapBase(shmem.fd.get(), heapSize, flags, heapStartOffset); in convertSharedFileRegionToIMemory()
/aosp12/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp265 size_t heapSize = mCaptureHeap->getSize(); in processNewCapture() local
266 if (jpegSize > heapSize) { in processNewCapture()
269 __FUNCTION__, jpegSize, heapSize); in processNewCapture()
270 jpegSize = heapSize; in processNewCapture()
/aosp12/frameworks/av/media/libstagefright/
H A DACodecBufferChannel.cpp520 sp<MemoryDealer> ACodecBufferChannel::makeMemoryDealer(size_t heapSize) { in makeMemoryDealer() argument
525 dealer = new MemoryDealer(heapSize, "ACodecBufferChannel"); in makeMemoryDealer()
563 size_t heapSize = totalSize + destinationBufferSize; in setInputBufferArray() local
564 if (heapSize > 0) { in setInputBufferArray()
565 mDealer = makeMemoryDealer(heapSize); in setInputBufferArray()
/aosp12/frameworks/native/libs/binder/
H A DIMemory.cpp201 size_t heapSize = mHeap->getSize(); in getMemory() local
203 && s <= heapSize in getMemory()
205 && (static_cast<size_t>(o) <= heapSize - s)) { in getMemory()
/aosp12/frameworks/av/drm/libmediadrm/
H A DCryptoHal.cpp270 size_t heapSize = mHeapSizes.valueFor(seqNum); in checkSharedBuffer() local
271 if (heapSize < buffer.offset + buffer.size || in checkSharedBuffer()
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DTouchInputMapper.cpp3830 uint32_t heapSize = 0; in assignPointerIds() local
3848 heap[heapSize].distance = distance; in assignPointerIds()
3849 heapSize += 1; in assignPointerIds()
3859 if (childIndex >= heapSize) { in assignPointerIds()
3863 if (childIndex + 1 < heapSize && in assignPointerIds()
3879 for (size_t i = 0; i < heapSize; i++) { in assignPointerIds()
3894 while (heapSize > 0) { in assignPointerIds()
3902 heap[0] = heap[heapSize]; in assignPointerIds()
3905 if (childIndex >= heapSize) { in assignPointerIds()
3909 if (childIndex + 1 < heapSize && in assignPointerIds()
[all …]
/aosp12/frameworks/av/media/libstagefright/include/
H A DACodecBufferChannel.h156 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);
/aosp12/frameworks/av/drm/libmediadrm/fuzzer/
H A Dmediadrm_fuzzer.cpp371 size_t heapSize = totalSize * 2; in invokeCryptoDecrypt() local
372 sp<MemoryDealer> dealer = new MemoryDealer(heapSize, "DrmFuzzerMemory"); in invokeCryptoDecrypt()
/aosp12/frameworks/av/media/libaudioclient/fuzzer/
H A Daudioflinger_fuzzer.cpp210 size_t heapSize = audio_channel_count_from_out_mask(channelMask) * in invokeAudioTrack() local
212 heap = new MemoryDealer(heapSize, "AudioTrack Heap Base"); in invokeAudioTrack()
213 sharedBuffer = heap->allocate(heapSize); in invokeAudioTrack()
/aosp12/frameworks/av/media/codec2/sfplugin/
H A DCCodecBufferChannel.h292 sp<MemoryDealer> makeMemoryDealer(size_t heapSize);