/frameworks/base/libs/binder/ |
D | IMemory.cpp | 57 sp<IMemoryHeap> heap; member 151 sp<IMemoryHeap> heap = getMemory(&offset); in pointer() local 152 void* const base = heap!=0 ? heap->base() : MAP_FAILED; in pointer() 187 sp<IBinder> heap = reply.readStrongBinder(); in getMemory() local 190 if (heap != 0) { in getMemory() 191 mHeap = interface_cast<IMemoryHeap>(heap); in getMemory() 271 sp<BpMemoryHeap> heap(static_cast<BpMemoryHeap*>(find_heap(binder).get())); in assertMapped() local 272 heap->assertReallyMapped(); in assertMapped() 273 if (heap->mBase != MAP_FAILED) { in assertMapped() 276 mBase = heap->mBase; in assertMapped() [all …]
|
D | MemoryHeapPmem.cpp | 41 MemoryHeapPmem::MemoryPmem::MemoryPmem(const sp<MemoryHeapPmem>& heap) in MemoryPmem() argument 42 : BnMemory(), mClientHeap(heap) in MemoryPmem() 56 SubRegionMemory(const sp<MemoryHeapPmem>& heap, ssize_t offset, size_t size); 66 SubRegionMemory::SubRegionMemory(const sp<MemoryHeapPmem>& heap, in SubRegionMemory() argument 68 : MemoryHeapPmem::MemoryPmem(heap), mSize(size), mOffset(offset) in SubRegionMemory() 79 int our_fd = heap->heapID(); in SubRegionMemory() 112 const sp<MemoryHeapPmem>& heap(getHeap()); in revoke() local 113 int our_fd = heap->heapID(); in revoke()
|
D | MemoryDealer.cpp | 55 SimpleMemory(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size); 93 MemoryDealer::MemoryDealer(const sp<HeapInterface>& heap) in MemoryDealer() argument 94 : mHeap(heap), in MemoryDealer() 95 mAllocator(new SimpleBestFitAllocator(heap->virtualSize())) in MemoryDealer() 99 MemoryDealer::MemoryDealer( const sp<HeapInterface>& heap, in MemoryDealer() argument 101 : mHeap(heap), mAllocator(allocator) in MemoryDealer() 114 sp<IMemory> new_memory = heap()->mapMemory(offset, size); in allocate() 141 const sp<HeapInterface>& MemoryDealer::heap() const { in heap() function in android::MemoryDealer 370 SimpleMemory::SimpleMemory(const sp<IMemoryHeap>& heap, in SimpleMemory() argument 372 : MemoryBase(heap, offset, size) in SimpleMemory() [all …]
|
D | MemoryBase.cpp | 28 MemoryBase::MemoryBase(const sp<IMemoryHeap>& heap, in MemoryBase() argument 30 : mSize(size), mOffset(offset), mHeap(heap) in MemoryBase()
|
/frameworks/base/libs/ui/ |
D | ISurface.cpp | 44 PixelFormat format, const sp<IMemoryHeap>& heap) in BufferHeap() argument 46 format(format), transform(0), flags(0), heap(heap) in BufferHeap() 53 const sp<IMemoryHeap>& heap) in BufferHeap() argument 55 format(format), transform(transform), flags(flags), heap(heap) in BufferHeap() 96 data.writeStrongBinder(buffers.heap->asBinder()); in registerBuffers() 155 buffer.heap = interface_cast<IMemoryHeap>(data.readStrongBinder()); in onTransact()
|
/frameworks/base/include/ui/ |
D | ISurface.h | 65 PixelFormat format, const sp<IMemoryHeap>& heap); 70 const sp<IMemoryHeap>& heap); 81 sp<IMemoryHeap> heap; variable
|
/frameworks/base/libs/surfaceflinger/ |
D | LayerBuffer.cpp | 270 buffers.heap->heapID(), buffers.heap->getSize(), in Buffer() 271 offset, buffers.heap->base(), in Buffer() 283 src.img.base = (void*)(intptr_t(buffers.heap->base()) + offset); in Buffer() 329 if (buffers.heap == NULL) { in BufferSource() 338 status_t err = (buffers.heap->heapID() >= 0) ? NO_ERROR : NO_INIT; in BufferSource() 414 if (buffers.heap != 0) { in postBuffer() 415 const size_t memorySize = buffers.heap->getSize(); in postBuffer() 426 if (buffers.heap != 0) { in postBuffer() 438 mBufferHeap.heap.clear(); in unregisterBuffers()
|
D | LayerBuffer.h | 103 return mBufferHeap.heap!=0 ? NO_ERROR : NO_INIT; in getStatus()
|
/frameworks/base/camera/libcameraservice/ |
D | CameraService.cpp | 938 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); in handlePreviewData() local 942 if (gWeakHeap != heap) { in handlePreviewData() 944 heap->trackMe(true, true); in handlePreviewData() 945 gWeakHeap = heap; in handlePreviewData() 953 (uint8_t *)heap->base() + offset, size); in handlePreviewData() 993 copyFrameAndPostCopiedFrame(c, heap, offset, size); in handlePreviewData() 1007 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); in handlePostview() local 1009 (uint8_t *)heap->base() + offset, size); in handlePostview() 1025 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); in handleRawPicture() local 1027 gWeakHeap = heap; // debugging in handleRawPicture() [all …]
|
D | CameraHardwareStub.cpp | 155 sp<MemoryHeapBase> heap = mPreviewHeap; in previewThread() local 172 void *base = heap->base(); in previewThread() 296 sp<MemoryHeapBase> heap = new MemoryHeapBase(kCannedJpegSize); in pictureThread() local 297 sp<MemoryBase> mem = new MemoryBase(heap, 0, kCannedJpegSize); in pictureThread() 298 memcpy(heap->base(), kCannedJpeg, kCannedJpegSize); in pictureThread()
|
D | CameraService.h | 154 const sp<IMemoryHeap>& heap, size_t offset, size_t size);
|
/frameworks/base/include/binder/ |
D | MemoryDealer.h | 214 MemoryDealer(const sp<HeapInterface>& heap); 218 const sp<HeapInterface>& heap, 226 sp<IMemoryHeap> getMemoryHeap() const { return heap(); } in getMemoryHeap() 233 const sp<HeapInterface>& heap() const;
|
D | MemoryBase.h | 33 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size);
|
D | MemoryHeapPmem.h | 39 MemoryPmem(const sp<MemoryHeapPmem>& heap);
|
D | IMemory.h | 78 void* fastPointer(const sp<IBinder>& heap, ssize_t offset) const;
|
/frameworks/base/docs/html/guide/developing/tools/ |
D | ddms.jd | 6 and heap information on the device, logcat, process, and radio state information, 117 <h3 id="vm-heap">VM Heap</h3> 118 <p> Displays some heap stats, updated during garbage collection. If, when a VM is selected, 119 the VM Heap view says that heap updates are not enabled, click the "Show heap updates" button, 121 to perform garbage collection and update the heap stats.</p>
|
D | index.jd | 51 generate trace data, view heap and thread information, take screenshots
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 139 sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size); in copyAndPost() local 141 uint8_t *heapBase = (uint8_t*)heap->base(); in copyAndPost()
|
/frameworks/base/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 1231 sp<MemoryHeapBase> heap = new MemoryHeapBase(VIZBUFFRAMES*2, 0, "snooper"); in allocVizBufs() local 1232 mem[i] = new MemoryBase(heap, 0, heap->getSize()); in allocVizBufs()
|
/frameworks/base/libs/audioflinger/ |
D | AudioFlinger.h | 192 const sp<MemoryDealer>& heap() const;
|
D | AudioFlinger.cpp | 2124 mCblkMemory = client->heap()->allocate(size); in TrackBase() 2146 client->heap()->dump("AudioTrack"); in TrackBase() 2832 const sp<MemoryDealer>& AudioFlinger::Client::heap() const in heap() function in android::AudioFlinger::Client
|
/frameworks/base/docs/html/guide/developing/ |
D | debug-tasks.jd | 32 I/MemoryDealer( 763): MemoryDealer (this=0x54bda0): Creating 2621440 bytes heap at 0x438db000
|