Searched refs:ashmem (Results 1 – 5 of 5) sorted by relevance
197 mPixelStorage.ashmem.address = address; in Bitmap()198 mPixelStorage.ashmem.fd = fd; in Bitmap()199 mPixelStorage.ashmem.size = mappedSize; in Bitmap()226 munmap(mPixelStorage.ashmem.address, mPixelStorage.ashmem.size); in ~Bitmap()227 close(mPixelStorage.ashmem.fd); in ~Bitmap()256 return mPixelStorage.ashmem.address; in getStorage()267 return mPixelStorage.ashmem.fd; in getAshmemFd()
122 } ashmem; member
69 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); in init() local70 if (ashmem == 0) { in init()75 Return<void> result = ashmem->allocate( in init()
202 static long[] encodeData(MemoryFile ashmem) { in encodeData() argument205 fd = ashmem.getFileDescriptor().getInt$(); in encodeData()
72 * @param mem the shared memory to use, must be ashmem.