Searched refs:mAshmemFd (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 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() [all …]
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | CursorWindow.h | 145 mAshmemFd, mSize, mInflatedSize, mAllocOffset, mSlotsOffset, mNumRows, mNumColumns); in toString() 150 int mAshmemFd = -1; variable
|