commit | 069e8389df7aee7e8812a036bcda43c3fe24cabc | [log] [tgz] |
---|---|---|
author | Fan Xu <fanxu@google.com> | Fri Nov 16 16:28:08 2018 -0800 |
committer | Fan Xu <fanxu@google.com> | Wed Nov 28 15:57:21 2018 -0800 |
tree | 5c50727256298ce4b603af94e7f2be5df0d7d3f4 | |
parent | 910c0aa1384ee3122a4d3929ca3b94943a3dc539 [diff] |
Move BufferHubMetadata off pdx::fileHandle Use android::base::unique_fd to replace LocalHandle. For BorrowedHandle, a const reference of the unique_fd is returned. Updated the test cases to fit in current behavior. Test: BufferHubMetadata_test, BufferHubBuffer_test, BufferNode_test, buffer_hub-test (passed) Fix: 118888072 Change-Id: I34de335ed9a10864ac226cd4d7d261ba0078045d