Searched refs:mSharedMemoryFd (Results 1 – 2 of 2) sorted by relevance
139 mSharedMemoryFd(-1), mHardwareBuffer(nullptr) { in TestSharedMemory()143 mSharedMemoryFd = ASharedMemory_create("TestSharedMemory", size); in TestSharedMemory()144 if (mSharedMemoryFd < 0 in TestSharedMemory()145 || ASharedMemory_getSize(mSharedMemoryFd) != size) { in TestSharedMemory()152 MAP_SHARED, mSharedMemoryFd, 0)); in TestSharedMemory()204 if (mSharedMemoryFd > 0) { in release()205 ::close(mSharedMemoryFd); in release()206 mSharedMemoryFd = -1; in release()227 if (mSharedMemoryFd > 0 || mSize != 0 || mBuffer != nullptr || mHardwareBuffer != nullptr) { in release()230 this, static_cast<int>(mType), mSharedMemoryFd, mHardwareBuffer, mSize, mBuffer); in release()
116 return mSharedMemoryFd; in getSharedMemoryFd()137 int mSharedMemoryFd; variable