Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
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.cpp373 0 : (mCallbackHeap->mHeap->getSize() / kCallbackHeapCount); in processNewCallback()
378 if (mCallbackHeap->mHeap->getSize() == 0) { in processNewCallback()
DStreamingProcessor.cpp727 if (mRecordingHeap->mHeap->getSize() == 0) { in processRecordingFrame()
801 if (heap->getHeapID() != mRecordingHeap->mHeap->getHeapID()) { in releaseRecordingFrame()
804 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, flags, 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.h53 sp<IMemoryHeap> mHeap; variable
/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/device1/
DCameraHardwareInterface.h506 mHeap = new MemoryHeapBase(fd, buf_size * num_buffers); in mBufSize()
514 mHeap = new MemoryHeapBase(buf_size * num_buffers); in mBufSize()
520 handle.data = mHeap->base(); in commonInitialization()
526 mBuffers[i] = new MemoryBase(mHeap, in commonInitialization()
540 sp<MemoryHeapBase> mHeap; variable
/frameworks/av/media/libmedia/
DSoundPool.cpp500 mHeap = new MemoryHeapBase(kDefaultHeapSize); in doLoad()
510 mHeap, in doLoad()
514 mHeap, &mSize); in doLoad()
524 mHeap->getBase(), mSize, sampleRate, numChannels); in doLoad()
538 mData = new MemoryBase(mHeap, 0, mSize); in doLoad()
546 mHeap.clear(); in doLoad()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp395 if (mHeap != 0) { in dump()
397 mHeap->getBase(), mHeap->getSize(), mHeap->getFlags()); in dump()
1959 mHeap(heap), mChannelCount(0), mFrameCount(1024), mSampleRate(0), mSize(0), in AudioCache()
2071 if (mHeap->getHeapID() < 0) { in open()
2081 mFrameCount = mHeap->getSize() / mFrameSize; in open()
2107 uint8_t* p = static_cast<uint8_t*>(mHeap->getBase()); in write()
2112 bool overflow = mSize + size > mHeap->getSize(); in write()
2114 ALOGE("Heap size overflow! req size: %d, max size: %d", (mSize + size), mHeap->getSize()); in write()
2115 size = mHeap->getSize() - mSize; in write()
DMediaPlayerService.h193 … virtual bool ready() const { return (mChannelCount > 0) && (mHeap->getHeapID() > 0); } in ready()
231 sp<IMemoryHeap> getHeap() const { return mHeap; } in getHeap()
242 sp<IMemoryHeap> mHeap; variable
/frameworks/av/include/media/
DSoundPool.h90 sp<MemoryHeapBase> mHeap; variable