commit | dea6a027610951541981467276d8cd8ba8abc28b | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Thu May 25 17:09:33 2017 -0700 |
committer | John Reck <jreck@google.com> | Wed Jun 28 16:49:12 2017 -0700 |
tree | 4f9407055ace409a23b096836e9e79645e06b10a | |
parent | 1d9ce6678eb1a84f42a5edb73558fb1ce0867b42 [diff] |
Add SharedMemory API SharedMemory is parcelable and AIDL friendly and exposes cool things like dropping write permissions that are useful for shared memory to have. Also exposes getFileDescriptor() on MemoryFile since that was necessary to use MemoryFile with IPC previously and there are a sizeable number of reflections that access it, so just make it public. Test: SharedMemory CTS tests pass Change-Id: I71a322abf2eb55267d7299a8e41f847339af8b08