diff options
author | Alec Mouri <alecmouri@google.com> | 2022-01-20 12:10:39 -0800 |
---|---|---|
committer | Alec Mouri <alecmouri@google.com> | 2022-01-20 12:16:45 -0800 |
commit | 7b4d5ee452aa6406afaf626c0626c73c41278bed (patch) | |
tree | 4d36361f8a574304fd1671eacd4ded1e7a2b8b5a /identity/support/src/cppbor_parse.cpp | |
parent | 510670192afeb2de10e9f45584db6e5e060528d9 (diff) |
Cleanup for readback buffer management:
* Tests exercising that a bad readback buffer is sent should actually
use a native_handle from a deallocated buffer rather than a valid
handle, since that would still work
* Creating a readback buffer should not require passing in a buffer at
construction. Instead ReadbackBuffer should always allocate its buffer
internally whenever a new buffer needs to be generated.
* Passing the readback buffer's fence to lockAsync should be a dup'd fd,
as lockAsync takes ownership of the fence
Bug: 213493262
Test: VtsHalGraphicsComposer3_TargetTest
Change-Id: I73396f982cf9a67f0dd81eaed509cf9cc7b03314
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions