Home
last modified time | relevance | path

Searched refs:mHeap (Results 1 – 12 of 12) 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
191 if (mHeap == nullptr) { in getMemory()
197 mHeap = interface_cast<IMemoryHeap>(heap); in getMemory()
198 if (mHeap != nullptr) { in getMemory()
203 size_t heapSize = mHeap->getSize(); in getMemory()
223 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/native/include/binder/
DMemoryDealer.h56 sp<IMemoryHeap> mHeap; variable
/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