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

/frameworks/native/libs/binder/
H A DMemoryBase.cpp30 : mSize(size), mOffset(offset), mHeap(heap)
38 return mHeap;
H A DIMemory.cpp130 mutable sp<IMemoryHeap> mHeap; member in class:android::BpMemory
180 if (mHeap == 0) {
188 mHeap = interface_cast<IMemoryHeap>(heap);
189 if (mHeap != 0) {
198 return mHeap;
H A DMemoryDealer.cpp229 : mHeap(new MemoryHeapBase(size, 0, name)),
260 return mHeap;
/frameworks/av/services/camera/libcameraservice/camera2/
H A DCamera2Heap.h33 mHeap = new MemoryHeapBase(buf_size * num_buffers, 0, name);
36 mBuffers[i] = new MemoryBase(mHeap,
48 sp<MemoryHeapBase> mHeap; member in class:android::camera2::Camera2Heap
H A DCallbackProcessor.cpp239 0 : (mCallbackHeap->mHeap->getSize() / kCallbackHeapCount);
244 if (mCallbackHeap->mHeap->getSize() == 0) {
H A DStreamingProcessor.cpp507 if (mRecordingHeap->mHeap->getSize() == 0) {
580 if (heap->getHeapID() != mRecordingHeap->mHeap->getHeapID()) {
583 heap->getHeapID(), mRecordingHeap->mHeap->getHeapID());
/frameworks/native/include/binder/
H A DMemoryBase.h40 const sp<IMemoryHeap>& getHeap() const { return mHeap; }
45 sp<IMemoryHeap> mHeap; member in class:android::MemoryBase
H A DMemoryDealer.h52 sp<IMemoryHeap> mHeap; member in class:android::MemoryDealer
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp69 const uint8_t* img = reinterpret_cast<const uint8_t*>(mHeap->base());
83 mHeap(heap)
88 sp<IMemoryHeap> mHeap; member in class:android::ScreenCapture
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp595 mHeap = 0;
596 return s->captureScreen(display, &mHeap,
605 mHeap = 0;
606 return s->captureScreen(display, &mHeap,
616 mHeap = 0;
617 return s->captureScreen(display, &mHeap,
623 mHeap = 0;
627 return mHeap->getBase();
647 return mHeap->getSize();
/frameworks/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h497 mHeap = new MemoryHeapBase(fd, buf_size * num_buffers);
505 mHeap = new MemoryHeapBase(buf_size * num_buffers);
511 handle.data = mHeap->base();
517 mBuffers[i] = new MemoryBase(mHeap,
531 sp<MemoryHeapBase> mHeap; member in class:android::CameraHardwareInterface::CameraHeapMemory
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h182 virtual bool ready() const { return (mChannelCount > 0) && (mHeap->getHeapID() > 0); }
214 sp<IMemoryHeap> getHeap() const { return mHeap; }
225 sp<MemoryHeapBase> mHeap; member in class:android::MediaPlayerService::AudioCache
H A DMediaPlayerService.cpp305 if (mHeap != 0) {
307 mHeap->getBase(), mHeap->getSize(), mHeap->getFlags(), mHeap->getDevice());
1683 mHeap = new MemoryHeapBase(kDefaultHeapSize, 0, name);
1780 if (mHeap->getHeapID() < 0) {
1812 uint8_t* p = static_cast<uint8_t*>(mHeap->getBase());
1816 if (mSize + size > mHeap->getSize()) {
1817 ALOGE("Heap size overflow! req size: %d, max size: %d", (mSize + size), mHeap
[all...]
/frameworks/native/include/gui/
H A DSurfaceComposerClient.h158 sp<IMemoryHeap> mHeap; member in class:android::ScreenshotClient

Completed in 73 milliseconds