Searched refs:ashmem (Results 1 – 11 of 11) sorted by relevance
67 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); in init() local68 if (ashmem == 0) { in init()73 Return<void> result = ashmem->allocate( in init()
211 static long[] encodeData(MemoryFile ashmem) { in encodeData() argument214 fd = ashmem.getFileDescriptor().getInt$(); in encodeData()
281 mPixelStorage.ashmem.address = address; in Bitmap()282 mPixelStorage.ashmem.fd = fd; in Bitmap()283 mPixelStorage.ashmem.size = mappedSize; in Bitmap()310 munmap(mPixelStorage.ashmem.address, mPixelStorage.ashmem.size); in ~Bitmap()312 close(mPixelStorage.ashmem.fd); in ~Bitmap()341 return mPixelStorage.ashmem.fd; in getAshmemFd()352 return mPixelStorage.ashmem.size; in getAllocationByteCount()
216 } ashmem; member
7 description: "Use ashmem to pass bitmaps in MediaDescription to avoid excessive Bitmap copies."
69 public boolean setAshmem(ParcelFileDescriptor ashmem, long size) { in setAshmem() argument71 return mService.setAshmem(ashmem, size); in setAshmem()
8 description: "This flag controls moving ranking update contents into ashmem"
247 public boolean setAshmem(ParcelFileDescriptor ashmem, long size) { in setAshmem() argument251 return getGsiService().setGsiAshmem(ashmem, size); in setAshmem()
128 Ashmem ashmem = {ScopedFileDescriptor(fd), memSize}; in TEST_P() local130 ScopedAStatus res = manager_->createAshmemDirectChannel(ashmem, intendedSize, &chan); in TEST_P()
72 * @param mem the shared memory to use, must be ashmem.
117 optional bool ashmem = 19; field