Searched defs:heap (Results 1 - 14 of 14) sorted by relevance

/frameworks/native/libs/binder/
H A DMemoryBase.cpp28 MemoryBase::MemoryBase(const sp<IMemoryHeap>& heap, argument
30 : mSize(size), mOffset(offset), mHeap(heap)
H A DIMemory.cpp57 sp<IMemoryHeap> heap; member in struct:android::HeapCache::heap_info_t
149 sp<IMemoryHeap> heap = getMemory(&offset); local
150 void* const base = heap!=0 ? heap->base() : MAP_FAILED;
185 sp<IBinder> heap = reply.readStrongBinder(); local
188 if (heap != 0) {
189 mHeap = interface_cast<IMemoryHeap>(heap);
259 ALOGD("UNMAPPING binder=%p, heap=%p, size=%zu, fd=%d",
278 sp<BpMemoryHeap> heap(static_cast<BpMemoryHeap*>(find_heap(binder).get()));
279 heap
[all...]
H A DMemoryDealer.cpp115 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size);
168 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size)
169 : MemoryBase(heap, offset, size), mDealer(dealer)
172 void* const start_ptr = (void*)(intptr_t(heap->base()) + offset);
246 memory = new Allocation(this, heap(), offset, size);
261 const sp<IMemoryHeap>& MemoryDealer::heap() const { function in class:android::MemoryDealer
166 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
/frameworks/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.cpp212 sp<MemoryHeapBase> heap = new MemoryHeapBase(size, 0, "MetadataRetrieverClient"); local
213 if (heap == NULL) {
218 mThumbnail = new MemoryBase(heap, 0, size);
254 sp<MemoryHeapBase> heap = new MemoryHeapBase(size, 0, "MetadataRetrieverClient"); local
255 if (heap == NULL) {
260 mAlbumArt = new MemoryBase(heap, 0, size);
/frameworks/base/media/tests/audiotests/
H A Dshared_mem_test.cpp72 sp<MemoryDealer> heap; local
91 heap = new MemoryDealer(1024*1024, "AudioTrack Heap Base");
93 iMem = heap->allocate(BUF_SZ*sizeof(short));
120 heap.clear();
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCallbackProcessor.cpp406 sp<IMemoryHeap> heap = local
409 uint8_t *data = (uint8_t*)heap->getBase() + offset;
444 // Only increment free if we're still using the same heap
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp582 // Create memory heap to store buffers as VideoNativeMetadata.
735 // Create memory heap to store buffers as VideoNativeMetadata.
917 sp<IMemoryHeap> heap = frame->getMemory(&offset, &size); local
918 if (heap->getHeapID() != mMemoryHeapBase->getHeapID()) {
919 ALOGE("%s: Mismatched heap ID, ignoring release (got %x, expected %x)", __FUNCTION__,
920 heap->getHeapID(), mMemoryHeapBase->getHeapID());
925 (uint8_t*)heap->getBase() + offset);
1227 sp<IMemoryHeap> heap = data->getMemory(&offset, &size); local
1229 (uint8_t*)heap->getBase() + offset);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp866 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); local
895 copyFrameAndPostCopiedFrame(msgType, c, heap, offset, size, metadata);
923 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); local
993 const sp<IMemoryHeap>& heap, size_t offset, size_t size,
1017 void* heapBase = heap->base();
1020 ALOGE("%s: Failed to mmap heap for preview frame.", __FUNCTION__);
991 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<hardware::ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h366 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); local
367 void *data = ((uint8_t *)heap->base()) + offset;
520 // Start refcounting the heap object from here on. When the clients
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp255 sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size); local
257 uint8_t *heapBase = (uint8_t*)heap->base();
288 ALOGE("image heap is NULL");
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp505 sp<MemoryHeapBase> heap, size_t *memsize) {
543 uint8_t* writePos = static_cast<uint8_t*>(heap->getBase());
544 size_t available = heap->getSize();
503 decode(int fd, int64_t offset, int64_t length, uint32_t *rate, int *numChannels, audio_format_t *audioFormat, sp<MemoryHeapBase> heap, size_t *memsize) argument
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp1418 // Increase heap size on non low ram devices to limit risk of reconnection failure for
1432 sp<MemoryDealer> AudioFlinger::Client::heap() const function in class:android::AudioFlinger::Client
/frameworks/native/services/inputflinger/
H A DInputReader.cpp6348 // We build a heap of squared euclidean distances between current and last pointers
6353 PointerDistanceHeapElement heap[MAX_POINTERS * MAX_POINTERS]; local
6370 // Insert new element into the heap (sift up).
6371 heap[heapSize].currentPointerIndex = currentPointerIndex;
6372 heap[heapSize].lastPointerIndex = lastPointerIndex;
6373 heap[heapSize].distance = distance;
6389 && heap[childIndex + 1].distance < heap[childIndex].distance) {
6393 if (heap[parentIndex].distance <= heap[childInde
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 568 milliseconds