commit | 3f8c4164067e0239c7f1cdd020d397ce42a9e641 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Oct 11 13:47:00 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Thu Oct 19 01:12:40 2017 -0700 |
tree | a173886ce52df06e75a68cd1aff1d516b3cdc660 | |
parent | cb9e4900dc5a42241a2b5027d6eb2cf098181789 [diff] |
Better constructors for hidl_memory. Allow hidl_memory to take ownership of a handle. A hidl_handle object can now be moved into a hidl_memory object. This way the lifetime of the handle corresponds to the lifetime of the hidl_memory object. Test: w/ mapMemory + drm Bug: 34234561 Change-Id: I8cd6bbc35165c5a595538c0c17306549b01ba8a2