Home
last modified time | relevance | path

Searched refs:mHeap (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/services/camera/libcameraservice/camera2/
DCamera2Heap.h33 mHeap = new MemoryHeapBase(buf_size * num_buffers, 0, name); in mBufSize()
36 mBuffers[i] = new MemoryBase(mHeap, in mBufSize()
48 sp<MemoryHeapBase> mHeap; variable
DCallbackProcessor.cpp239 0 : (mCallbackHeap->mHeap->getSize() / kCallbackHeapCount); in processNewCallback()
244 if (mCallbackHeap->mHeap->getSize() == 0) { in processNewCallback()
DStreamingProcessor.cpp507 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/
DMemoryBase.cpp30 : mSize(size), mOffset(offset), mHeap(heap) in MemoryBase()
38 return mHeap; in getMemory()
DIMemory.cpp130 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()
DMemoryDealer.cpp229 : mHeap(new MemoryHeapBase(size, 0, name)), in MemoryDealer()
260 return mHeap; in heap()
/frameworks/native/include/binder/
DMemoryBase.h40 const sp<IMemoryHeap>& getHeap() const { return mHeap; } in getHeap()
45 sp<IMemoryHeap> mHeap; variable
DMemoryDealer.h52 sp<IMemoryHeap> mHeap; variable
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp595 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/
DTransaction_test.cpp69 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/
DCameraHardwareInterface.h497 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/
DMediaPlayerService.cpp305 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()
DMediaPlayerService.h182 … 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/
DSurfaceComposerClient.h158 sp<IMemoryHeap> mHeap; variable