/frameworks/base/libs/binder/ |
H A D | MemoryBase.cpp | 28 MemoryBase::MemoryBase(const sp<IMemoryHeap>& heap, argument 30 : mSize(size), mOffset(offset), mHeap(heap)
|
H A D | MemoryHeapPmem.cpp | 41 MemoryHeapPmem::MemoryPmem::MemoryPmem(const sp<MemoryHeapPmem>& heap) argument 42 : BnMemory(), mClientHeap(heap) 56 SubRegionMemory(const sp<MemoryHeapPmem>& heap, ssize_t offset, size_t size); 66 SubRegionMemory::SubRegionMemory(const sp<MemoryHeapPmem>& heap, argument 68 : MemoryHeapPmem::MemoryPmem(heap), mSize(size), mOffset(offset) 79 int our_fd = heap->heapID(); 112 const sp<MemoryHeapPmem>& heap(getHeap()); 113 int our_fd = heap->heapID();
|
H A D | IMemory.cpp | 56 sp<IMemoryHeap> heap; member in struct:android::HeapCache::heap_info_t 146 sp<IMemoryHeap> heap = getMemory(&offset); local 147 void* const base = heap!=0 ? heap->base() : MAP_FAILED; 182 sp<IBinder> heap = reply.readStrongBinder(); local 185 if (heap != 0) { 186 mHeap = interface_cast<IMemoryHeap>(heap); 245 LOGD("UNMAPPING binder=%p, heap=%p, size=%d, fd=%d", 266 sp<BpMemoryHeap> heap(static_cast<BpMemoryHeap*>(find_heap(binder).get())); 267 heap [all...] |
H A D | MemoryDealer.cpp | 115 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size); 166 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) 167 : MemoryBase(heap, offset, size), mDealer(dealer) 170 void* const start_ptr = (void*)(intptr_t(heap->base()) + offset); 240 memory = new Allocation(this, heap(), offset, size); 255 const sp<IMemoryHeap>& MemoryDealer::heap() const { function in class:android::MemoryDealer 164 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
|
/frameworks/base/include/surfaceflinger/ |
H A D | ISurface.h | 70 PixelFormat format, const sp<IMemoryHeap>& heap); 75 const sp<IMemoryHeap>& heap); 86 sp<IMemoryHeap> heap; member in class:android::ISurface::BufferHeap
|
/frameworks/base/libs/surfaceflinger_client/ |
H A D | ISurface.cpp | 44 PixelFormat format, const sp<IMemoryHeap>& heap) 46 format(format), transform(0), flags(0), heap(heap) 53 const sp<IMemoryHeap>& heap) 55 format(format), transform(transform), flags(flags), heap(heap) 97 data.writeStrongBinder(buffers.heap->asBinder()); 159 buffer.heap = interface_cast<IMemoryHeap>(data.readStrongBinder()); 42 BufferHeap(uint32_t w, uint32_t h, int32_t hor_stride, int32_t ver_stride, PixelFormat format, const sp<IMemoryHeap>& heap) argument 50 BufferHeap(uint32_t w, uint32_t h, int32_t hor_stride, int32_t ver_stride, PixelFormat format, uint32_t transform, uint32_t flags, const sp<IMemoryHeap>& heap) argument
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 252 sp<MemoryHeapBase> heap = new MemoryHeapBase(size, 0, "MetadataRetrieverClient"); local 253 if (heap == NULL) { 258 mThumbnail = new MemoryBase(heap, 0, size); 291 sp<MemoryHeapBase> heap = new MemoryHeapBase(size, 0, "MetadataRetrieverClient"); local 292 if (heap == NULL) { 297 mAlbumArt = new MemoryBase(heap, 0, size);
|
H A D | MediaPlayerService.cpp | 311 snprintf(buffer, 255, " heap base(%p), size(%d), flags(%d), device(%s)\n", 376 // beforehand and not reenter the heap while we are examining it... 1330 static sp<MemoryHeapBase> heap; member in namespace:android 1339 heap = new MemoryHeapBase(NUMVIZBUF * VIZBUFFRAMES * 2, 0, "snooper"); 1341 mem[i] = new MemoryBase(heap, VIZBUFFRAMES * 2 * i, VIZBUFFRAMES * 2); 1386 int maxoff = heap->getSize() / 2; // in shorts 1387 short *base = (short*)heap->getBase(); 1665 // create ashmem heap
|
/frameworks/base/core/jni/ |
H A D | CursorWindow.cpp | 63 sp<MemoryHeapBase> heap; local 64 heap = new MemoryHeapBase(mMaxSize, 0, "CursorWindow"); 65 if (heap != NULL) { 66 mMemory = new MemoryBase(heap, 0, mMaxSize); 79 LOGE("CursorWindow heap allocation failed"); 82 LOGE("failed to create the CursorWindow heap");
|
H A D | android_hardware_Camera.cpp | 139 sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size); local 141 uint8_t *heapBase = (uint8_t*)heap->base(); 188 LOGE("image heap is NULL");
|
/frameworks/base/camera/libcameraservice/ |
H A D | CameraHardwareStub.cpp | 66 // Create raw heap. 85 // Make a new mmap'ed heap that can be shared across processes. 154 // Find the offset within the heap of the current buffer. 157 sp<MemoryHeapBase> heap = mPreviewHeap; local 174 void *base = heap->base(); 298 sp<MemoryHeapBase> heap = new MemoryHeapBase(kCannedJpegSize); local 299 sp<MemoryBase> mem = new MemoryBase(heap, 0, kCannedJpegSize); 300 memcpy(heap->base(), kCannedJpeg, kCannedJpegSize);
|
H A D | CameraService.cpp | 652 // Unregister here because the surface registered with raw heap. 947 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); local 951 if (gWeakHeap != heap) { 953 heap->trackMe(true, true); 954 gWeakHeap = heap; 962 (uint8_t *)heap->base() + offset, size); 1002 copyFrameAndPostCopiedFrame(c, heap, offset, size); 1016 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); local 1018 (uint8_t *)heap->base() + offset, size); 1034 sp<IMemoryHeap> heap local 1064 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); local 1259 copyFrameAndPostCopiedFrame(const sp<ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size) argument [all...] |
/frameworks/base/libs/audioflinger/ |
H A D | AudioFlinger.cpp | 2327 mCblkMemory = client->heap()->allocate(size); 2349 client->heap()->dump("AudioTrack"); 3082 const sp<MemoryDealer>& AudioFlinger::Client::heap() const function in class:android::AudioFlinger::Client
|