/frameworks/av/services/camera/libcameraservice/camera2/ |
D | Camera2Heap.h | 33 mHeap = new MemoryHeapBase(buf_size * num_buffers, 0, name); in mBufSize() 36 mBuffers[i] = new MemoryBase(mHeap, in mBufSize() 48 sp<MemoryHeapBase> mHeap; variable
|
D | CallbackProcessor.cpp | 239 0 : (mCallbackHeap->mHeap->getSize() / kCallbackHeapCount); in processNewCallback() 244 if (mCallbackHeap->mHeap->getSize() == 0) { in processNewCallback()
|
D | StreamingProcessor.cpp | 507 if (mRecordingHeap->mHeap->getSize() == 0) { in onFrameAvailable() 580 if (heap->getHeapID() != mRecordingHeap->mHeap->getHeapID()) { in releaseRecordingFrame() 583 heap->getHeapID(), mRecordingHeap->mHeap->getHeapID()); in releaseRecordingFrame()
|
/frameworks/native/libs/binder/ |
D | MemoryBase.cpp | 30 : mSize(size), mOffset(offset), mHeap(heap) in MemoryBase() 38 return mHeap; in getMemory()
|
D | IMemory.cpp | 130 mutable sp<IMemoryHeap> mHeap; member in android::BpMemory 180 if (mHeap == 0) { in getMemory() 188 mHeap = interface_cast<IMemoryHeap>(heap); in getMemory() 189 if (mHeap != 0) { in getMemory() 198 return mHeap; in getMemory()
|
D | MemoryDealer.cpp | 229 : mHeap(new MemoryHeapBase(size, 0, name)), in MemoryDealer() 260 return mHeap; in heap()
|
/frameworks/native/include/binder/ |
D | MemoryBase.h | 40 const sp<IMemoryHeap>& getHeap() const { return mHeap; } in getHeap() 45 sp<IMemoryHeap> mHeap; variable
|
D | MemoryDealer.h | 52 sp<IMemoryHeap> mHeap; variable
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 595 mHeap = 0; in update() 596 return s->captureScreen(display, &mHeap, in update() 605 mHeap = 0; in update() 606 return s->captureScreen(display, &mHeap, in update() 616 mHeap = 0; in update() 617 return s->captureScreen(display, &mHeap, in update() 623 mHeap = 0; in release() 627 return mHeap->getBase(); in getPixels() 647 return mHeap->getSize(); in getSize()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 69 const uint8_t* img = reinterpret_cast<const uint8_t*>(mHeap->base()); in checkPixel() 83 mHeap(heap) in ScreenCapture() 88 sp<IMemoryHeap> mHeap; member in android::ScreenCapture
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraHardwareInterface.h | 497 mHeap = new MemoryHeapBase(fd, buf_size * num_buffers); in mBufSize() 505 mHeap = new MemoryHeapBase(buf_size * num_buffers); in mBufSize() 511 handle.data = mHeap->base(); in commonInitialization() 517 mBuffers[i] = new MemoryBase(mHeap, in commonInitialization() 531 sp<MemoryHeapBase> mHeap; variable
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 305 if (mHeap != 0) { in dump() 307 mHeap->getBase(), mHeap->getSize(), mHeap->getFlags(), mHeap->getDevice()); in dump() 1683 mHeap = new MemoryHeapBase(kDefaultHeapSize, 0, name); in AudioCache() 1780 if (mHeap->getHeapID() < 0) { in open() 1812 uint8_t* p = static_cast<uint8_t*>(mHeap->getBase()); in write() 1816 if (mSize + size > mHeap->getSize()) { in write() 1817 ALOGE("Heap size overflow! req size: %d, max size: %d", (mSize + size), mHeap->getSize()); in write() 1818 size = mHeap->getSize() - mSize; in write()
|
D | MediaPlayerService.h | 182 … virtual bool ready() const { return (mChannelCount > 0) && (mHeap->getHeapID() > 0); } in ready() 214 sp<IMemoryHeap> getHeap() const { return mHeap; } in getHeap() 225 sp<MemoryHeapBase> mHeap; variable
|
/frameworks/native/include/gui/ |
D | SurfaceComposerClient.h | 158 sp<IMemoryHeap> mHeap; variable
|