Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DCursorWindow.cpp106 int dupAshmemFd = ::fcntl(ashmemFd, F_DUPFD_CLOEXEC, 0); in createFromParcel() local
107 if (dupAshmemFd < 0) { in createFromParcel()
113 void* data = ::mmap(NULL, size, PROT_READ, MAP_SHARED, dupAshmemFd, 0); in createFromParcel()
117 } else if ((actualSize = ashmem_get_size_region(dupAshmemFd)) != size) { in createFromParcel()
124 CursorWindow* window = new CursorWindow(name, dupAshmemFd, in createFromParcel()
135 ::close(dupAshmemFd); in createFromParcel()