Home
last modified time | relevance | path

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

/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.cpp566 mHeap = 0; in update()
567 return s->captureScreen(0, &mHeap, in update()
575 mHeap = 0; in update()
576 return s->captureScreen(0, &mHeap, in update()
585 mHeap = 0; in update()
586 return s->captureScreen(0, &mHeap, in update()
592 mHeap = 0; in release()
596 return mHeap->getBase(); in getPixels()
616 return mHeap->getSize(); in getSize()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp67 const uint8_t* img = reinterpret_cast<const uint8_t*>(mHeap->base()); in checkPixel()
81 mHeap(heap) in ScreenCapture()
86 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.cpp307 if (mHeap != 0) { in dump()
309 mHeap->getBase(), mHeap->getSize(), mHeap->getFlags(), mHeap->getDevice()); in dump()
1817 mHeap = new MemoryHeapBase(kDefaultHeapSize, 0, name); in AudioCache()
1914 if (mHeap->getHeapID() < 0) { in open()
1946 uint8_t* p = static_cast<uint8_t*>(mHeap->getBase()); in write()
1950 if (mSize + size > mHeap->getSize()) { in write()
1951 ALOGE("Heap size overflow! req size: %d, max size: %d", (mSize + size), mHeap->getSize()); in write()
1952 size = mHeap->getSize() - mSize; in write()
DMediaPlayerService.h180 … virtual bool ready() const { return (mChannelCount > 0) && (mHeap->getHeapID() > 0); } in ready()
212 sp<IMemoryHeap> getHeap() const { return mHeap; } in getHeap()
223 sp<MemoryHeapBase> mHeap; variable
/frameworks/native/include/gui/
DSurfaceComposerClient.h147 sp<IMemoryHeap> mHeap; variable