commit | a7422fe2e0afc5bce205db37460061e0ad7e3fb4 | [log] [tgz] |
---|---|---|
author | Fan Xu <fanxu@google.com> | Mon Nov 19 15:21:32 2018 -0800 |
committer | Fan Xu <fanxu@google.com> | Mon Dec 03 11:14:15 2018 -0800 |
tree | 11ab7a36906cfa31e6ceaebacc674d3e0987ca26 | |
parent | 467e08fb6a370fe26064da06ea57dbb693d599d4 [diff] |
Implement IBufferClient::close on BufferClient The close() function will mark a BufferClient as closed (set mClosed = true), remove it from service's mClientList, and remove all of its token in service's mTokenMap. Add test cases to make sure it works in all situations. Test: BufferHubBuffer_test (passed) Bug: 119623209 Change-Id: Ic1d17ced97b67ef5432c9d341469d8e6105e2717