Searched refs:heap (Results 1 – 3 of 3) sorted by relevance
56 sp<MemoryHeapBase> heap = new MemoryHeapBase(0x2000); in main() local57 memset(heap->getBase(), 'A', 0x2000); in main()58 sp<MemoryBase> sourceMemory = new MemoryBase(heap, 0, 0x2000); in main()59 sp<MemoryBase> destMemory = new MemoryBase(heap, 0x1fff, 1); in main()60 int heapSeqNum = crypto->setHeap(heap); in main()
76 sp<MemoryHeapBase> heap = new MemoryHeapBase(0x1000); in thread_func() local79 handle->data[0] = heap->getHeapID(); in thread_func()84 src.heapBase = hidl_memory("ashmem", hidl_handle(handle), heap->getSize()); in thread_func()
83 sp<IMemoryHeap> heap = new MyMemoryHeap(fd); in set_heap() local84 data.writeStrongBinder(IInterface::asBinder(heap)); in set_heap()