Searched refs:mMapFd (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorIon.cpp | 172 mMapFd(-1) { in Impl() 279 if (mMapFd >= 0) { in ~Impl() 280 close(mMapFd); in ~Impl() 281 mMapFd = -1; in ~Impl() 314 if (mMapFd == -1) { in mapInternal() 316 flags, mapOffset, (unsigned char**)base, &mMapFd); in mapInternal() 321 mMapFd = -1; in mapInternal() 328 *base = mmap(nullptr, mapSize, prot, flags, mMapFd, mapOffset); in mapInternal() 331 mapSize, prot, flags, mMapFd, mapOffset, errno); in mapInternal() 347 int mMapFd; // only one for now member in android::C2AllocationIon::Impl
|