Home | History | Annotate | Download | only in binder

Lines Matching full:heap

56         sp<IMemoryHeap> heap;
148 sp<IMemoryHeap> heap = getMemory(&offset);
149 void* const base = heap!=0 ? heap->base() : MAP_FAILED;
184 sp<IBinder> heap = reply.readStrongBinder();
187 if (heap != 0) {
188 mHeap = interface_cast<IMemoryHeap>(heap);
247 ALOGD("UNMAPPING binder=%p, heap=%p, size=%d, fd=%d",
266 sp<BpMemoryHeap> heap(static_cast<BpMemoryHeap*>(find_heap(binder).get()));
267 heap->assertReallyMapped();
268 if (heap->mBase != MAP_FAILED) {
271 mBase = heap->mBase;
272 mSize = heap->mSize;
273 mOffset = heap->mOffset;
274 android_atomic_write( dup( heap->mHeapId ), &mHeapId );
405 "found binder=%p, heap=%p, size=%d, fd=%d, count=%d",
406 binder.get(), info.heap.get(),
407 static_cast<BpMemoryHeap*>(info.heap.get())->mSize,
408 static_cast<BpMemoryHeap*>(info.heap.get())->mHeapId,
411 return info.heap;
414 info.heap = interface_cast<IMemoryHeap>(binder);
416 //ALOGD("adding binder=%p, heap=%p, count=%d",
417 // binder.get(), info.heap.get(), info.count);
419 return info.heap;
438 "removing binder=%p, heap=%p, size=%d, fd=%d, count=%d",
439 binder.unsafe_get(), info.heap.get(),
440 static_cast<BpMemoryHeap*>(info.heap.get())->mSize,
441 static_cast<BpMemoryHeap*>(info.heap.get())->mHeapId,
443 rel = mHeapCache.valueAt(i).heap;
457 if (i>=0) realHeap = mHeapCache.valueAt(i).heap;
468 BpMemoryHeap const* h(static_cast<BpMemoryHeap const *>(info.heap.get()));
469 ALOGD("hey=%p, heap=%p, count=%d, (fd=%d, base=%p, size=%d)",
471 info.heap.get(), info.count,