Lines Matching refs:mAshmemFd
41 if (mAshmemFd != -1) { in ~CursorWindow()
43 ::close(mAshmemFd); in ~CursorWindow()
119 mAshmemFd = ashmemFd; in maybeInflate()
158 window->mAshmemFd = parcel->readFileDescriptor(); in createFromParcel()
159 if (window->mAshmemFd < 0) { in createFromParcel()
164 window->mAshmemFd = ::fcntl(window->mAshmemFd, F_DUPFD_CLOEXEC, 0); in createFromParcel()
165 if (window->mAshmemFd < 0) { in createFromParcel()
170 window->mData = ::mmap(nullptr, window->mSize, PROT_READ, MAP_SHARED, window->mAshmemFd, 0); in createFromParcel()
176 window->mAshmemFd = -1; in createFromParcel()
213 if (mAshmemFd != -1) { in writeToParcel()
216 if (parcel->writeDupFileDescriptor(mAshmemFd)) goto fail; in writeToParcel()