Lines Matching refs:BpMemoryHeap
74 class BpMemoryHeap : public BpInterface<IMemoryHeap>
77 BpMemoryHeap(const sp<IBinder>& impl);
78 virtual ~BpMemoryHeap();
139 sp<IMemoryHeap> realHeap = BpMemoryHeap::get_heap(binder);
232 BpMemoryHeap::BpMemoryHeap(const sp<IBinder>& impl)
238 BpMemoryHeap::~BpMemoryHeap() {
244 sp<IBinder> binder = const_cast<BpMemoryHeap*>(this)->asBinder();
258 sp<IBinder> binder = const_cast<BpMemoryHeap*>(this)->asBinder();
264 void BpMemoryHeap::assertMapped() const
267 sp<IBinder> binder(const_cast<BpMemoryHeap*>(this)->asBinder());
268 sp<BpMemoryHeap> heap(static_cast<BpMemoryHeap*>(find_heap(binder).get()));
285 void BpMemoryHeap::assertReallyMapped() const
318 ALOGE("cannot map BpMemoryHeap (binder=%p), size=%ld, fd=%d (%s)",
331 int BpMemoryHeap::getHeapID() const {
336 void* BpMemoryHeap::getBase() const {
341 size_t BpMemoryHeap::getSize() const {
346 uint32_t BpMemoryHeap::getFlags() const {
351 uint32_t BpMemoryHeap::getOffset() const {
409 static_cast<BpMemoryHeap*>(info.heap.get())->mSize,
410 static_cast<BpMemoryHeap*>(info.heap.get())->mHeapId,
442 static_cast<BpMemoryHeap*>(info.heap.get())->mSize,
443 static_cast<BpMemoryHeap*>(info.heap.get())->mHeapId,
470 BpMemoryHeap const* h(static_cast<BpMemoryHeap const *>(info.heap.get()));