Home
last modified time | relevance | path

Searched refs:mHeap (Results 1 – 11 of 11) 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()
/frameworks/native/libs/binder/
DMemoryBase.cpp30 : mSize(size), mOffset(offset), mHeap(heap) in MemoryBase()
38 return mHeap; in getMemory()
DIMemory.cpp136 mutable sp<IMemoryHeap> mHeap; member in android::BpMemory
187 if (mHeap == nullptr) { in getMemory()
193 mHeap = interface_cast<IMemoryHeap>(heap); in getMemory()
194 if (mHeap != nullptr) { in getMemory()
199 size_t heapSize = mHeap->getSize(); in getMemory()
219 return (mSize > 0) ? mHeap : nullptr; in getMemory()
DMemoryDealer.cpp231 : mHeap(new MemoryHeapBase(size, flags, name)), in MemoryDealer()
262 return mHeap; in heap()
/frameworks/native/libs/binder/include/binder/
DMemoryBase.h40 const sp<IMemoryHeap>& getHeap() const { return mHeap; } in getHeap()
45 sp<IMemoryHeap> mHeap; variable
DMemoryDealer.h56 sp<IMemoryHeap> mHeap; variable
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h325 mHeap = new MemoryHeapBase(fd, buf_size * num_buffers); in mBufSize()
333 mHeap = new MemoryHeapBase(buf_size * num_buffers); in mBufSize()
339 handle.data = mHeap->base(); in commonInitialization()
345 mBuffers[i] = new MemoryBase(mHeap, in commonInitialization()
359 sp<MemoryHeapBase> mHeap; variable
DCameraHardwareInterface.cpp95 int memPoolId = camMem->mHeap->getHeapID(); in registerMemory()
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp675 mHeap = new MemoryHeapBase(kDefaultHeapSize); in doLoad()
679 &channelMask, mHeap, &mSize); in doLoad()
688 mHeap->getBase(), mSize, sampleRate, numChannels); in doLoad()
702 mData = new MemoryBase(mHeap, 0, mSize); in doLoad()
711 mHeap.clear(); in doLoad()
DSoundPool.h84 sp<MemoryHeapBase> mHeap; variable