Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/libmediatranscoding/include/media/
H A DAdjustableMaxPriorityQueue.h140 std::push_heap(mHeap.begin(), mHeap.end(), Comparator()); in pushInternal()
148 std::push_heap(mHeap.begin(), mHeap.end(), Comparator()); in emplace()
157 std::pop_heap(mHeap.begin(), mHeap.end(), Comparator()); in pop()
158 mHeap.pop_back(); in pop()
166 std::pop_heap(mHeap.begin(), mHeap.end(), Comparator()); in consume_top()
168 mHeap.pop_back(); in consume_top()
181 return mHeap.end(); in end()
193 return mHeap.end(); in end()
198 mHeap.erase(mHeap.begin(), mHeap.end()); in clear()
204 std::make_heap(mHeap.begin(), mHeap.end(), Comparator()); in rebuild()
[all …]
/aosp12/art/tools/ahat/src/main/com/android/ahat/heapdump/
H A DSort.java66 private AhatHeap mHeap; field in Sort.InstanceByHeapRetainedSize
69 mHeap = heap; in InstanceByHeapRetainedSize()
74 return SIZE_BY_SIZE.compare(b.getRetainedSize(mHeap), a.getRetainedSize(mHeap)); in compare()
158 AhatHeap mHeap; field in Sort.SiteByHeapSize
166 mHeap = heap; in SiteByHeapSize()
171 return SIZE_BY_SIZE.compare(b.getSize(mHeap), a.getSize(mHeap)); in compare()
H A DAhatInstance.java40 private AhatHeap mHeap; field in AhatInstance
81 mHeap = heap; in initialize()
215 return mHeap; in getHeap()
783 inst.mRetainedSizes[inst.mHeap.getIndex()] = in computeRetainedSize()
784 inst.mRetainedSizes[inst.mHeap.getIndex()].plus(inst.getSize()); in computeRetainedSize()
/aosp12/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCamera2Heap.h33 mHeap = new MemoryHeapBase(buf_size * num_buffers, 0, name);
36 mBuffers[i] = new MemoryBase(mHeap,
48 sp<MemoryHeapBase> mHeap; variable
H A DCallbackProcessor.cpp384 0 : (mCallbackHeap->mHeap->getSize() / kCallbackHeapCount); in processNewCallback()
389 if (mCallbackHeap->mHeap->getSize() == 0) { in processNewCallback()
/aosp12/frameworks/base/media/jni/soundpool/
H A 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()
H A DSound.h90 sp<MemoryHeapBase> mHeap; variable
/aosp12/frameworks/native/libs/binder/
H A DMemoryBase.cpp30 : mSize(size), mOffset(offset), mHeap(heap) in MemoryBase()
38 return mHeap; in getMemory()
H A 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()
H A DMemoryDealer.cpp231 : mHeap(sp<MemoryHeapBase>::make(size, flags, name)), in MemoryDealer()
260 return mHeap; in heap()
/aosp12/frameworks/native/libs/binder/include/binder/
H A DMemoryBase.h39 const sp<IMemoryHeap>& getHeap() const { return mHeap; } in getHeap()
44 sp<IMemoryHeap> mHeap; variable
H A DMemoryDealer.h54 sp<IMemoryHeap> mHeap; variable
/aosp12/frameworks/native/include/binder/
H A DMemoryDealer.h54 sp<IMemoryHeap> mHeap; variable