summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2020-10-27 19:34:55 +0000
committer Steven Moreland <smoreland@google.com> 2021-01-12 17:44:25 +0000
commitf23dae2d0a098dc67211a320713bd3ddb86a4cba (patch)
tree51f9a3e24ebf5a9d124b042737cab00e9a0fb93e /vulkan/libvulkan/api.cpp
parent048f1e93fd31849b1b9d9e9dc4293e630280caae (diff)
Check FLAG_CLEAR_BUF behavior.
This checks that the kernel actually clears the buffer space for a reply parcel as requested. No check is made that the deallocated memory is also cleared since it is deallocated, and we have no control over what happens to it. Ramdumps should be used to verify use of this flag, but this test is a basic sanity check for them. In the future, we could consider expanding this by adding something like libhwbinder's postCommandTask here. However, for now, avoiding overhead for test only. Bug: 171501998 Test: binderClearBufTest Change-Id: I797a9e9b6a9b8c70816ce51bb9bc22f518b54f77
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions