Searched refs:smem (Results 1 – 1 of 1) sorted by relevance
127 static status_t WriteMemObjToBinder(Parcel& data, ShareMemMap* smem) { in WriteMemObjToBinder() argument129 if (smem->type >= ST_MAX) in WriteMemObjToBinder()134 data.writeInt32(smem->type); in WriteMemObjToBinder()136 if (smem->type == ST_MEMBASE) /*offset, size, heap*/ in WriteMemObjToBinder()140 sp<IMemoryHeap> heap = smem->membase->getMemory(&offset, &size); in WriteMemObjToBinder()146 heap->getHeapID(), smem->membase->pointer(), *((int *)(smem->membase->pointer()))); in WriteMemObjToBinder()149 else if (smem->type == ST_GFX) /*graphicbuffer*/ in WriteMemObjToBinder()150 data.write(*(smem->gbuffer)); in WriteMemObjToBinder()222 static void PushShareMem(ShareMemMap* &smem) in PushShareMem() argument225 gShareMemMapList.push_back(smem); in PushShareMem()[all …]