diff options
author | Valerie Hau <vhau@google.com> | 2019-04-24 21:42:00 +0000 |
---|---|---|
committer | Valerie Hau <vhau@google.com> | 2019-04-24 22:44:42 +0000 |
commit | 5543b1eb045a4946449982de99474a441fdc1e9d (patch) | |
tree | 03de5ae0c68957fa3cd5630482fefe3cddbdf3ca /tests | |
parent | ae6d8a3e339315b6317d01ff5452da9d89a16c1e (diff) | |
download | libhardware-5543b1eb045a4946449982de99474a441fdc1e9d.tar.gz |
Add validateBufferSize and getTransportSize to gralloc.h
This reverts commit ae6d8a3e339315b6317d01ff5452da9d89a16c1e.
Bug: 130669566
Test: build, boot
Change-Id: Icdb3b1e0534233995d5c0594feede6261033ec45
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); |