diff options
author | Valerie Hau <vhau@google.com> | 2019-04-17 13:14:28 -0700 |
---|---|---|
committer | Valerie Hau <vhau@google.com> | 2019-04-23 11:38:03 -0700 |
commit | 491378a3d400c45aa63290315d4a5ab8e773de33 (patch) | |
tree | 03de5ae0c68957fa3cd5630482fefe3cddbdf3ca /tests | |
parent | 252fd9dfe83b621ae0cdcb279af0f6624aea05d6 (diff) |
Add validateBufferSize and getTransportSize to gralloc.h
Bug: 130669566
Test: build, boot
Change-Id: Ic141e1c6f16d0e3c1e81c2bc6c5170e30bc60f3f
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hardware/struct-offset.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/hardware/struct-offset.cpp b/tests/hardware/struct-offset.cpp index 0cf145a1..82411ada 100644 --- a/tests/hardware/struct-offset.cpp +++ b/tests/hardware/struct-offset.cpp @@ -185,7 +185,9 @@ void CheckOffsets(void) { CHECK_MEMBER_AT(gralloc_module_t, lockAsync, 152, 296); CHECK_MEMBER_AT(gralloc_module_t, unlockAsync, 156, 304); CHECK_MEMBER_AT(gralloc_module_t, lockAsync_ycbcr, 160, 312); - CHECK_MEMBER_AT(gralloc_module_t, reserved_proc, 164, 320); + CHECK_MEMBER_AT(gralloc_module_t, getTransportSize, 164, 320); + CHECK_MEMBER_AT(gralloc_module_t, validateBufferSize, 168, 328); + CHECK_MEMBER_AT(gralloc_module_t, reserved_proc, 172, 336); CHECK_MEMBER_AT(alloc_device_t, common, 0, 0); CHECK_MEMBER_AT(alloc_device_t, alloc, 64, 120); |