Searched refs:takeOwnership (Results 1 – 2 of 2) sorted by relevance
244 GeneralResult<SharedMemory> createSharedMemoryFromAHWB(AHardwareBuffer* ahwb, bool takeOwnership) { in createSharedMemoryFromAHWB() argument246 const Memory::HardwareBuffer::Deleter deleter = (takeOwnership ? freeHardwareBuffer : freeNoop); in createSharedMemoryFromAHWB()
93 GeneralResult<SharedMemory> createSharedMemoryFromAHWB(AHardwareBuffer* ahwb, bool takeOwnership);