Searched refs:ashmem (Results 1 – 5 of 5) sorted by relevance
69 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); in init() local70 if (ashmem == 0) { in init()75 Return<void> result = ashmem->allocate( in init()
384 mPixelStorage.ashmem.address = address; in Bitmap()385 mPixelStorage.ashmem.fd = fd; in Bitmap()386 mPixelStorage.ashmem.size = mappedSize; in Bitmap()405 munmap(mPixelStorage.ashmem.address, mPixelStorage.ashmem.size); in ~Bitmap()406 close(mPixelStorage.ashmem.fd); in ~Bitmap()435 return mPixelStorage.ashmem.address; in getStorage()457 return mPixelStorage.ashmem.fd; in getAshmemFd()
139 } ashmem; member
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.