commit | 2c16d029914a7908e225e9b7dca555b32638ea57 | [log] [tgz] |
---|---|---|
author | Howard Chen <howardsoc@google.com> | Tue Nov 07 23:45:02 2017 +0800 |
committer | Howard Chen <howardsoc@google.com> | Wed Nov 29 16:55:49 2017 +0800 |
tree | 2444f4ee5f7e7bedc4ca474c1990ca5577adf31a | |
parent | 62a38dfd2d846f23f609a492ffcc21b85baed5ff [diff] |
Add IMemoryToken and the HidlMemoryToken The IMemoryToken is an interface which composes shared memory. It provides a get() method, which returns an instance of hidl_memory that always refer to the same memory. The HidlMemoryToken is an implementation of the IMemoryToken. Bug: 69640337 Test: hidl_test Change-Id: Ida32a7971ba31e99f724c18159cf2e1f699b73b8