/frameworks/native/libs/binder/tests/ |
D | binderMemoryHeapBaseUnitTest.cpp | 25 auto mHeap = sp<MemoryHeapBase>::make(10, MemoryHeapBase::FORCE_MEMFD, "Test mapping"); in TEST() local 26 ASSERT_NE(mHeap.get(), nullptr); in TEST() 27 int fd = mHeap->getHeapID(); in TEST() 34 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() local 37 ASSERT_NE(mHeap.get(), nullptr); in TEST() 38 int fd = mHeap->getHeapID(); in TEST() 44 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() local 48 ASSERT_NE(mHeap.get(), nullptr); in TEST() 49 int fd = mHeap->getHeapID(); in TEST() 55 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() local [all …]
|
/frameworks/av/media/module/libmediatranscoding/include/media/ |
D | AdjustableMaxPriorityQueue.h | 105 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/ |
D | Camera2Heap.h | 33 mHeap = new MemoryHeapBase(buf_size * num_buffers, 0, name); in mBufSize() 36 mBuffers[i] = new MemoryBase(mHeap, in mBufSize() 48 sp<MemoryHeapBase> mHeap; variable
|
D | CallbackProcessor.cpp | 384 0 : (mCallbackHeap->mHeap->getSize() / kCallbackHeapCount); in processNewCallback() 389 if (mCallbackHeap->mHeap->getSize() == 0) { in processNewCallback()
|
/frameworks/native/libs/binder/ |
D | MemoryBase.cpp | 30 : mSize(size), mOffset(offset), mHeap(heap) in MemoryBase() 38 return mHeap; in getMemory()
|
D | IMemory.cpp | 137 mutable sp<IMemoryHeap> mHeap; member in android::BpMemory 190 if (mHeap == nullptr) { in getMemory() 196 mHeap = interface_cast<IMemoryHeap>(heap); in getMemory() 197 if (mHeap != nullptr) { in getMemory() 202 size_t heapSize = mHeap->getSize(); in getMemory() 222 return (mSize > 0) ? mHeap : nullptr; in getMemory()
|
D | MemoryDealer.cpp | 230 : mHeap(sp<MemoryHeapBase>::make(size, flags, name)), in MemoryDealer() 259 return mHeap; in heap()
|
/frameworks/native/libs/binder/include/binder/ |
D | MemoryBase.h | 39 const sp<IMemoryHeap>& getHeap() const { return mHeap; } in getHeap() 44 sp<IMemoryHeap> mHeap; variable
|
D | MemoryDealer.h | 55 sp<IMemoryHeap> mHeap; variable
|
/frameworks/base/media/jni/soundpool/ |
D | Sound.cpp | 203 mHeap = new MemoryHeapBase(kDefaultHeapSize); in doLoad() 211 &channelMask, mHeap, &mSizeInBytes); in doLoad() 226 __func__, mHeap->getBase(), mSizeInBytes, sampleRate, channelCount); in doLoad() 227 mData = new MemoryBase(mHeap, 0, mSizeInBytes); in doLoad() 239 mHeap.clear(); in doLoad()
|
D | Sound.h | 90 sp<MemoryHeapBase> mHeap; variable
|
/frameworks/native/include/binder/ |
D | MemoryDealer.h | 55 sp<IMemoryHeap> mHeap; variable
|