commit | 9bc35c40a958afcc5711c5c4b306ddc7b68974b0 | [log] [tgz] |
---|---|---|
author | Howard Chen <howardsoc@google.com> | Fri Oct 13 14:21:46 2017 +0800 |
committer | Steven Moreland <smoreland@google.com> | Thu Oct 19 01:12:38 2017 -0700 |
tree | 7e14ea2a56b768d581fb47062b6a191f2c618cf8 | |
parent | 77f4c859c984264a232a6fa2617c0279be25a366 [diff] |
Add HidlMemory HidlMemory is a wrapper class to support sp<> for hidl_memory. It also provides a factory method to create an instance of the 'ashmem' hidl_memory from a opened file descriptor. The number of factory methods can be increase to support other type of hidl_memory without break the ABI. Change-Id: I18176aecdde1c5c1e10582a4a2e87fe466730e17 Bug: 67758915 Test: with the master branch on the Pixel phone.