Home
last modified time | relevance | path

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

/frameworks/av/media/libmediatranscoding/include/media/
DAdjustableMaxPriorityQueue.h105 const std::vector<T>& getStorage() const { return mHeap; }; in getStorage()
108 std::vector<T> mHeap;
120 return mHeap.empty(); in empty()
125 return mHeap.size(); in size()
130 DCHECK(!mHeap.empty()); in top()
131 return mHeap.front(); in top()
139 mHeap.push_back(std::forward<Arg>(item)); in pushInternal()
140 std::push_heap(mHeap.begin(), mHeap.end(), Comparator()); in pushInternal()
147 mHeap.emplace_back(std::forward<Args>(args)...); in emplace()
148 std::push_heap(mHeap.begin(), mHeap.end(), Comparator()); in emplace()
[all …]
/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.cpp384 0 : (mCallbackHeap->mHeap->getSize() / kCallbackHeapCount); in processNewCallback()
389 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
189 if (mHeap == nullptr) { in getMemory()
195 mHeap = interface_cast<IMemoryHeap>(heap); in getMemory()
196 if (mHeap != nullptr) { in getMemory()
201 size_t heapSize = mHeap->getSize(); in getMemory()
221 return (mSize > 0) ? mHeap : nullptr; in getMemory()
DMemoryDealer.cpp231 : mHeap(sp<MemoryHeapBase>::make(size, flags, name)), in MemoryDealer()
260 return mHeap; in heap()
/frameworks/native/libs/binder/include/binder/
DMemoryBase.h39 const sp<IMemoryHeap>& getHeap() const { return mHeap; } in getHeap()
44 sp<IMemoryHeap> mHeap; variable
DMemoryDealer.h54 sp<IMemoryHeap> mHeap; variable
/frameworks/base/media/jni/soundpool/
DSound.cpp200 mHeap = new MemoryHeapBase(kDefaultHeapSize); in doLoad()
208 &channelMask, mHeap, &mSizeInBytes); in doLoad()
223 __func__, mHeap->getBase(), mSizeInBytes, sampleRate, channelCount); in doLoad()
224 mData = new MemoryBase(mHeap, 0, mSizeInBytes); in doLoad()
236 mHeap.clear(); in doLoad()
DSound.h90 sp<MemoryHeapBase> mHeap; variable
/frameworks/native/include/binder/
DMemoryDealer.h54 sp<IMemoryHeap> mHeap; variable