Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13253/
Dpoc.cpp56 sp<MemoryHeapBase> heap = new MemoryHeapBase(0x2000); in main() local
57 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()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/
Dpoc.cpp76 sp<MemoryHeapBase> heap = new MemoryHeapBase(0x1000); in thread_func() local
79 handle->data[0] = heap->getHeapID(); in thread_func()
84 src.heapBase = hidl_memory("ashmem", hidl_handle(handle), heap->getSize()); in thread_func()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/
Dpoc.cpp83 sp<IMemoryHeap> heap = new MyMemoryHeap(fd); in set_heap() local
84 data.writeStrongBinder(IInterface::asBinder(heap)); in set_heap()