Searched refs:mHeap (Results 1 – 11 of 11) sorted by relevance
/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 | 566 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/ |
D | Transaction_test.cpp | 67 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/ |
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 | 307 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()
|
D | MediaPlayerService.h | 180 … 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/ |
D | SurfaceComposerClient.h | 147 sp<IMemoryHeap> mHeap; variable
|